skills / templates
AGENTS.md1 starsChanged 2 months agoMITView on GitHub
Instructions for coding agents working in this repository — Codex, Cursor, Copilot, Gemini, OpenCode, Claude Code and anything else. Claude Code additionally reads CLAUDE.md, which points back here. Before creating or substantially modifying user-facing UI, read ./DESIGN.md. Path alias: <@/*> → <root>.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository16 other files it gives its agents.
- skills/agent-conventions/templates/CLAUDE.mdCLAUDE.md
- skills/design-contract/references/claude.mdCLAUDE.md
- agent-conventionsSkill
- architectureSkill
- buildSkill
- debugSkill
- design-contractSkill
- diff-reviewSkill
- grillSkill
- handoffSkill
- motionSkill
- polishSkill
- prototypeSkill
- researchSkill
- retroSkill
- specSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 68
Don't add <a component library / second icon library / state manager>.
- Distinctive: line 69
Don't refactor <shared config> as a side effect of another change.
- Distinctive: line 70
Don't hand-edit generated files.
- Distinctive: line 71
Don't upgrade dependencies unless asked.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Instructions for coding agents working in this repository — Codex, Cursor, Copilot, Gemini,
OpenCode, Claude Code and anything else. Claude Code additionally reads CLAUDE.md, which points
back here.
<!-- Delete every HTML comment before finishing. Every command below must be one you have run. -->Design system
<!-- Only when the repo has UI. The design-contract skill writes this block; until it has run,
point at wherever the design rules live today. -->Before creating or substantially modifying user-facing UI, read ./DESIGN.md.
DESIGN.md | Identity, colour, type, shape, do/don't. Start here. |
design/tokens.json | Every value, in the W3C DTCG format. Generated — never hand-edit. |
design/preview.html | The system rendered: colours per theme, type, spacing, radii, motion, components. Generated. |
design/references/ | Full-page captures at 1440 and 390. |
The rules broken most often
- Never
<rule>. <Reason.> - Never
<rule>. <Reason.> - Never
<rule>. <Reason.> - Never
<rule>. <Reason.> - Never
<rule>. <Reason.>
Repository
<Framework>, <language>, <styling>, <data layer>.
| Where | What |
<dir>/ | <what it holds>. <constraint, if any, with its reason> |
<generated file> | Generated. Never hand-edit; <command>. |
Path alias: <@/*> → <root>.
Commands
<pm> run dev # <what it starts, and on which port>
<pm> run build
<pm> run lintVerify before committing
<the exact commands, in order><Non-command checks: visual captures, a manual step.>
Scope
- Don't add <a component library / second icon library / state manager>.
- Don't refactor
<shared config>as a side effect of another change. - Don't hand-edit generated files.
- Don't upgrade dependencies unless asked.
Conventions
- <Commit author / message style / branch naming / PR rules — anything CI or deploy enforces.>
Docs
docs/<feature>/PLAN.md—<one line>.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

