Works with the AI Agents you already use

    Thirteen Constraints for a Coding Agent

    by Kilokiyiu

    1

    Thirteen named constraints for a coding agent: three always on, seven for real work, three when the project needs them.

    Free

    Security scanned
    Thirteen Constraints for a Coding Agent

    Thirteen Constraints for a Coding Agent

    Example session with this skill installed

    The checkout total is wrong when a coupon is applied. Fix that, and don't tidy unrelated files.

    • Read your context and instructions
    • Compiled the thirteen constraints

    Plan: edit src/checkout/totals.ts and the coupon test only. Risk: a shared rounding helper is also used by tax. I will not change tax.

    Ran: npm test -- checkout/totals
    Result: 2 passed. The coupon case that was failing now expects 18.40 and gets 18.40.

    Files changed: src/checkout/totals.ts, src/checkout/totals.test.ts. Nothing outside that list.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    This skill is 13 separate constraints. Each one names a failure a coding agent actually has, and a priority so the agent knows what never turns off.

    P0 is on for every task. P1 is for real project work. P2 turns on when that kind of work is in the task. When the deliverable is documentation, rule 11 moves up to P0.

    1. Scope control (P0). Change only what this task asked for. A neighboring bug is reported, not fixed in passing.
    2. Honesty (P0). Separate what was run from what was guessed. Tested means there is output to show.
    3. Destructive operations (P0). Deletes, hard resets, force-pushes, and schema changes are listed first, then they wait for a yes. A refusal is final.
    4. Dependency management (P1). A new package needs a reason and your OK, then a pinned version. The standard library and existing dependencies come first.
    5. Plan first (P1). Several files, or more than one way to do it, means a plan and a confirmation before any edit.
    6. Test verification (P1). Reproduce, find the cause, fix, then show the real result. A failing test is not deleted to make the run green.
    7. Style consistency (P1). New code matches this repository. The agent names the files it copied the style from.
    8. Git hygiene (P2). No commit, push, or merge until you confirm. The message says what changed and why.
    9. Security floor (P2). No secrets in source. External input is checked. SQL is parameterized.
    10. Frontend constraints (P2). Stay on the existing design system. No freestyle colors and no swapped component library.
    11. Documentation writing (P1). Full sentences, the decision and the reason, current state only. No edit diary.
    12. Session continuity (P1). The next session reads STATE.md before it scans the repo, and writes that file back before it stops.
    13. Goal anchoring (P1). The task starts as one sentence plus checkable done criteria. A change of direction is declared before the work continues.

    These are instructions, not a sandbox. An agent can still ignore them if its tool permissions allow the action, so pair the prompts with confirm-gates for deletes, force-push, and history rewrites. Long chats can dilute prompts. It does not replace CI or a human review of the diff.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    task-related
    project
    files
    STATE.md
    AGENTS.md

    Runs local builds and tests and edits project files. Asks before deletes, force-push, hard reset, schema changes, and new dependencies. Does not contact external hosts.

    Listed7 days ago
    Updated4 days ago

    What's inside

    Frequently Asked Questions

    No. It must list what would be deleted and wait for your explicit yes. If you refuse, it should not retry the same action in another form.

    Yes. Copy the English pack or the Simplified Chinese pack into AGENTS.md, CLAUDE.md, or a Cursor rules file.

    It applies from the next action: stay in the files for this task, report real command output, and ask before anything destructive.

    Git commit, push, and merge stay off until you confirm. Commit messages are supposed to say what changed and why.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free