Llm Coding Principles

    by Roy Yuen

    1

    Enforce senior-level coding standards (Surgical, Simple, Goal-Driven) on every AI-generated code change.

    Free

    9 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    See it in action

    You say

    Add a 'status' field to the User model, but don't touch any other parts of the database schema or the existing API endpoints.

    Your agent does

    Approaches: 1. Add nullable column (safest). 2. Add with default 'active'. Choosing #2 for immediate utility.

    Success Criteria:

    1. migration adds status to users.
    2. User model includes status.

    Diff:

    • status = Column(String, default="active") Verification: Migration tested; field persists.

    About this skill

    Expert Coding Governance for AI Agents

    Does your AI agent sometimes over-engineer simple tasks or make sweeping, unnecessary changes to your codebase? llm-coding-principles is a high-performance directive standard that installs a "Senior Engineer" persona into your agent's workflow. It replaces guesswork with a rigorous four-pillar framework: Think Before Coding, Simplicity First, Surgical Changes, and Goal-Driven Execution.

    What it does

    • Think Before Coding: Forces the agent to surface assumptions and evaluate technical trade-offs before a single line is written.
    • Simplicity First: Eliminates speculative abstractions and "future-proofing" to keep your codebase lean and maintainable.
    • Surgical Changes: Ensures diffs are precise, touching only what is necessary to satisfy the requirements while avoiding unrelated "noise" or style drift.
    • Goal-Driven Execution: Mandates a Red-Green-Refactor cycle where success criteria are defined and verified before the task is marked complete.

    Why use this skill

    Standard LLM prompting often leads to "hallucinated improvements"—refactoring code you didn't ask to change or adding dependencies you don't need. This skill acts as a non-negotiable quality gate. It’s ideal for developers using Cursor, Claude Code, or custom CLI agents who want consistent, production-grade output that mirrors the discipline of a human senior developer. It integrates seamlessly with TDD workflows and systematic debugging.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    9 installs

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free forever, no account required

    Installs9
    Listed1 month ago

    Creator

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops

    Free