Claude_code_for-Bo
AGENTS.md2 starsChanged 3 months agoMITView on GitHub
These rules apply to .github/ changes in addition to the root instructions.
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 33,398 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 repository7 other files it gives its agents.
- adapters/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- desktop/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Treat workflow changes as product changes.
- Very specific: line 9
Keep pr-quality-gate as the stable required status.
- Very specific: line 12
Keep Bun aligned with package.json#packageManager and use frozen lockfile installs in required jobs.
- Distinctive: line 13
Do not weaken coverage, test routing, CODEOWNERS, or branch protections to make another change pass.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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
CI and Repository Policy
These rules apply to .github/ changes in addition to the root instructions.
- Treat workflow changes as product changes. Run
bun run check:policy; runactionlintwhen available. scripts/pr/change-policy.tsis the source of truth for path-to-check routing. Do not duplicate the routing graph in advisory automation.- Routing is path prefixes plus the import graph from
scripts/pr/module-graph.ts. Prefixes decide areas and every blocking rule; the graph only widens which surface checks run. When the graph cannot be built the run selects every surface rather than silently falling back to prefixes. nightly-quality.ymlruns every deterministic lane unconditionally and re-proves the module graph. It exists because per-PR selection can only ever cover what a diff reaches; do not move its jobs into the required PR gate. It isworkflow_dispatchonly — when to spend ~90 minutes of CI is the maintainer's call, andpr-quality-workflow.test.tsfails if aschedule:is added back.- Keep
pr-quality-gateas the stable required status. Selected jobs must succeed and unselected jobs must be explicitly skipped; never convert failures into success. - Required PR jobs must remain offline and must not receive provider credentials or depend on paid/live services.
- A
pull_request_targetworkflow may inspect PR metadata using trusted base code, but must never execute the PR head, install PR-controlled dependencies, or expose secrets to contributor code. - Keep Bun aligned with
package.json#packageManagerand use frozen lockfile installs in required jobs. - Do not weaken coverage, test routing, CODEOWNERS, or branch protections to make another change pass. Maintainer override labels require an explicit, documented decision.
- Repository settings, rulesets, secrets, and required-check changes require explicit user authorization; editing workflow files alone does not grant it.
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.

