commit-decision-record
AGENTS.md1 starsChanged 5 days agoMITView on GitHub
For AI assistants: read this file before you start. It contains only hard conventions and pointers. Developer commands are in docs/development.md. Procedures are in skills. Design docs are in docs/design/. Read .agents/skills/<name>/SKILL.md when the task matches: Do the steps in "Before you commit" in CONTRIBUTING.md.
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 repository6 other files it gives its agents.
- commitSkill
- pull-requestSkill
- review-architectureSkill
- review-designSkill
- review-prSkill
- trace-decisionSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Do not break the rules in Rules in docs/design/overview.md.
- Very specific: line 12
If two docs, or a doc and the code, do not agree, do not choose one.
- Very specific: line 26
Write messages and reports to the user in the language that the user uses in the conversation.
- Distinctive: line 28
Ask the user before you push or do a different remote action.
- Very specific: line 34
Read .agents/skills/<name>/SKILL.md when the task matches:
- Very specific: line 47
Do the steps in "Before you commit" in CONTRIBUTING.md.
≈ “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
For AI assistants: read this file before you start. It contains only hard conventions and pointers. Developer commands are in docs/development.md. Procedures are in skills.
Documents
Design docs are in docs/design/.
- Read
docs/doc-rules.mdbefore you write a doc or a comment. It says what to write, where to write it and how much detail to give. - Read
CONTRIBUTING.mdbefore you write a commit message, a PR or an issue. It gives the formats and the rules. Text for outside readers (PR, issue, commit body, comment) must make sense without the conversation (see Text for outside readers inCONTRIBUTING.md). - Do not break the rules in Rules in
docs/design/overview.md. Only the maintainer can change a rule. - If two docs, or a doc and the code, do not agree, do not choose one. Stop and tell the user. The maintainer decides which side is wrong. The order of precedence is in Precedence in
docs/doc-rules.md. - Design terms and their code names:
docs/design/GLOSSARY.md.
What to read first
<!-- TEMPLATE: Add one row for each type of task. Name the design doc and the section to read first. -->| Task | Read first (in docs/design/) |
| Any task | Rules in overview.md |
| Project boundaries, modules, where a feature goes | architecture.md |
Conventions
- Write messages and reports to the user in the language that the user uses in the conversation. Write docs, code, commits, PRs and issues in English (see Languages in
docs/doc-rules.md). - Make every commit with the
commitskill. - Ask the user before you push or do a different remote action.
<!-- TEMPLATE: Add the hard conventions of the project that no tool can enforce. Examples: the folder layout, environment variables for tool paths, processes that must not be stopped. -->Skills
Read .agents/skills/<name>/SKILL.md when the task matches:
| Skill | When |
commit | Every commit in this repo |
pull-request | You write a PR title or description, or an issue |
review-architecture | The user asks for an architecture review, for refactor candidates, or to make the code easier to test |
trace-decision | The user asks for the reason for a decision or if it was different before, or you want to overturn a decision. Do not search history for other reasons |
review-pr | The user asks you to review a PR, a branch or a commit |
review-design | Review findings or fixes keep coming in the same area, review-pr finds 3 or more findings with one cause, or the user asks if the premise of a design is right |
Before you finish
Do the steps in "Before you commit" in CONTRIBUTING.md.
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.

