Works with the AI Agents you already use
Thirteen Constraints for a Coding Agent
by Kilokiyiu
Thirteen named constraints for a coding agent: three always on, seven for real work, three when the project needs them.
Free
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.
- Scope control (P0). Change only what this task asked for. A neighboring bug is reported, not fixed in passing.
- Honesty (P0). Separate what was run from what was guessed. Tested means there is output to show.
- Destructive operations (P0). Deletes, hard resets, force-pushes, and schema changes are listed first, then they wait for a yes. A refusal is final.
- Dependency management (P1). A new package needs a reason and your OK, then a pinned version. The standard library and existing dependencies come first.
- Plan first (P1). Several files, or more than one way to do it, means a plan and a confirmation before any edit.
- Test verification (P1). Reproduce, find the cause, fix, then show the real result. A failing test is not deleted to make the run green.
- Style consistency (P1). New code matches this repository. The agent names the files it copied the style from.
- Git hygiene (P2). No commit, push, or merge until you confirm. The message says what changed and why.
- Security floor (P2). No secrets in source. External input is checked. SQL is parameterized.
- Frontend constraints (P2). Stay on the existing design system. No freestyle colors and no swapped component library.
- Documentation writing (P1). Full sentences, the decision and the reason, current state only. No edit diary.
- Session continuity (P1). The next session reads STATE.md before it scans the repo, and writes that file back before it stops.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
File Scopes
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.
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.