developer.ai / toolconfigs
AGENTS.md9 starsChanged 3 months agoMITView on GitHub
Every other AI-tool config file the installer writes is a pointer to this one, so the rules exist once. Replace <PROJECT> and trim rows for capabilities that were not installed. Leave a row out rather than pointing at a file that is not there. --> This file is the entry point for any AI coding tool working in this repo. The real content lives in focused documents under docs/engineering/. Read this in full once, then read the document for the…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- toolconfigs/CLAUDE.mdCLAUDE.md
- toolconfigs/copilot-instructions.mdCopilot instructions
- parallel-sessionsSkill
- code-refactoringSkill
- receiving-code-reviewSkill
- test-driven-developmentSkill
- visual-smokeSkill
- code-refactoringSkill
- dev-harness-for-ui-iterationSkill
- receiving-code-reviewSkill
- test-driven-developmentSkill
- visual-smokeSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
1
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 4
Every other AI-tool config file the installer writes is a pointer to this one, so the rules exist once.
- Distinctive: line 41
Every line is a liability.
- Distinctive: line 54
No interim implementations: If the design picked a shape, build that shape.
- Distinctive: line 57
Tests are deterministic, offline, and fast: No real-time waits, no real network.
- Distinctive: line 69
Do not use the language's escape hatch to bypass a type error.
- Very specific: line 70
Do not commit secrets. .env and .env.secrets are gitignored.
- Distinctive: line 71
Do not inline timeout, interval, TTL, or retry-count literals outside the config module.
- Distinctive: line 72
Do not trust a tenant or account id that arrived in a path, body, or query.
- Distinctive: line 74
Do not substitute fake or placeholder data when a critical-path operation fails.
- Distinctive: line 75
Do not push commits directly to the default branch.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
<!--
The spine. Installed at the target repo root as AGENTS.md.
Every other AI-tool config file the installer writes is a pointer to this one, so the
rules exist once. Replace <PROJECT> and trim rows for capabilities that were not
installed. Leave a row out rather than pointing at a file that is not there.
--><PROJECT>: Agent Guide
This file is the entry point for any AI coding tool working in this repo. The real content
lives in focused documents under docs/engineering/. Read this in full once, then read the
document for the task you are about to do.
Installed from developer.ai.
Read first, by task
| Task | Required reading |
| Any code change | docs/engineering/ENGINEERING_PRINCIPLES.md |
| Writing or reviewing tests | docs/engineering/TESTING_PRINCIPLES.md |
| Anything touching auth, input, secrets, logging, or prompts | docs/engineering/SECURITY_PRINCIPLES.md |
| Logging, tracing, or debugging | docs/engineering/OBSERVABILITY_PRINCIPLES.md |
| Building an agent that calls a model | docs/engineering/AI_AGENT_PRINCIPLES.md |
| Architecture and data flow | docs/ARCHITECTURE.md |
| Project context, every agent reads this | docs/PROJECT_CONTEXT.md |
| Security model | docs/SECURITY.md |
| PR lifecycle | docs/engineering/PR_WORKFLOW.md |
| Backlog and issue lifecycle | docs/engineering/BACKLOG_WORKFLOW.md |
| Debugging this system | docs/DEBUGGING.md |
The Prime Directive
The preferred number of lines of code is zero.
Every line is a liability. Write the minimum that correctly solves the problem. When in
doubt, delete. The full anti-patterns and the design-review checklist are in
docs/engineering/ENGINEERING_PRINCIPLES.md under "Default to Less" and "Design Review
Checklist".
Headline rules
Each one is a pointer to the full text in docs/engineering/ENGINEERING_PRINCIPLES.md.
- Fail loud, never fabricate. Critical-path errors surface. No placeholder data, no synthetic results, no "graceful degradation" that hides a real failure.
- No interim implementations. If the design picked a shape, build that shape.
- Default to zero comments. A comment is usually a symptom of an unclear name.
- Timeouts and intervals never inline. They come from a config module.
- Tests are deterministic, offline, and fast. No real-time waits, no real network.
- Write so anyone can read it. Plain language is a rule, not a preference. It applies to names, documents, and user-facing text alike.
- Names never leak a technology. A name says what a thing is for, not what it is built on.
- Facts before fixes. Reproduce it before you change code for it.
- Two failed attempts, look it up. Three, step back.
What not to do
- Do not use the language's escape hatch to bypass a type error.
- Do not commit secrets.
.envand.env.secretsare gitignored. - Do not inline timeout, interval, TTL, or retry-count literals outside the config module.
- Do not trust a tenant or account id that arrived in a path, body, or query. Identity comes from the session.
- Do not substitute fake or placeholder data when a critical-path operation fails.
- Do not push commits directly to the default branch. Every change opens a pull request.
<!-- Keep this section only when reviewer, audit, or backlog agents were installed. -->The agent specs
The reviewer, audit, and backlog specs live in .claude/agents/.
That directory name is Claude Code's requirement, not a statement about which tool you use. The files are plain markdown. Read them from any tool. The pipeline that runs them on a schedule uses Claude Code, because that is what the runner action is, and it is independent of whatever you have open in your editor.
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.

