agent-ready-repo / packages
AGENTS.md24 starsChanged 2 months agoApache-2.0View on GitHub
Applies to packages/. Inherits the root AGENTS.md. Scope-specific deltas only. Non-cosmetic package changes update both version.py and pyproject.toml. CLI-surface changes may require release; see AGENTS.local.md. - Text reads and writes must pass encoding="utf-8". - Use list-form subprocess calls only: never shell=True or shell out to grep, sed, or make from portable package code. - Tests isolating a user root must set AGENTBUNDLE_USER_ROOT with HOME: Windows expanduser() ignores monkeypatched environment variables. - Do not hardcode /tmp or read os.environ["HOME"] directly in…
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,691 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 repository74 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs-site/AGENTS.mdAGENTS.md
- guides/AGENTS.mdAGENTS.md
- packs/AGENTS.mdAGENTS.md
- profiles/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- web/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- docs-site/CLAUDE.mdCLAUDE.md
- guides/CLAUDE.mdCLAUDE.md
- packages/CLAUDE.mdCLAUDE.md
- packs/CLAUDE.mdCLAUDE.md
- profiles/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- tools/CLAUDE.mdCLAUDE.md
- web/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- adapt-to-projectSkill
- assimilate-primitiveSkill
- assimilate-repoSkill
- author-briefSkill
- author-delivery-briefSkill
- author-product-docsSkill
- bug-fixSkill
- capture-workSkill
- close-workSkill
- compile-okfSkill
- contract-acquisitionSkill
- explain-diffSkill
- init-projectSkill
- intake-intentSkill
- new-adrSkill
- new-rfcSkill
- new-specSkill
- operational-safetySkill
- project-knowledgeSkill
- propose-catalogue-packSkill
- receive-briefSkill
- rfc-statusSkill
- security-checklists-referenceSkill
- security-checklistsSkill
- work-intakeSkill
- work-loopSkill
- workspace-statusSkill
- adapt-to-projectSkill
- assimilate-primitiveSkill
- assimilate-repoSkill
- author-briefSkill
- author-delivery-briefSkill
- author-product-docsSkill
- bug-fixSkill
- capture-workSkill
- close-workSkill
- compile-okfSkill
- contract-acquisitionSkill
- explain-diffSkill
- init-projectSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use list-form subprocess calls only: never shell=True or shell out to grep, sed, or make from portable package code.
- Very specific: line 18
Do not hardcode /tmp or read os.environ["HOME"] directly in portable tests.
- Very specific: line 20
Use tmp_path, not tempfile.mkdtemp().
- Very specific: line 25
Use build_pipeline, not build, for build-pipeline tests: pytest skips any directory named build by default.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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 — packages/
Applies to packages/. Inherits the root AGENTS.md. Scope-specific deltas only.
Version bump rule
Non-cosmetic package changes update both version.py and pyproject.toml.
CLI-surface changes may require release; see
AGENTS.local.md.
Cross-package traps
- Text reads and writes must pass
encoding="utf-8". - Use list-form subprocess calls only: never
shell=Trueor shell out togrep,sed, ormakefrom portable package code. - Tests isolating a user root must set
AGENTBUNDLE_USER_ROOTwithHOME: Windowsexpanduser()ignores monkeypatched environment variables. - Do not hardcode
/tmpor reados.environ["HOME"]directly in portable tests. - Wrap
os.symlink()intry/except OSErrorand skip when symlinks are unavailable. - Use
tmp_path, nottempfile.mkdtemp(); autouse fixtures usetmp_path_factory.mktemp(). - Patch environments with the
monkeypatchfixture. - Projection-layout, orphan-scanner, and adapter-resolution tests parametrize over
every shipped adapter from
agentbundle/_data/adapter.toml; document exceptions. - Use
build_pipeline, notbuild, for build-pipeline tests: pytest skips any directory namedbuildby default.
Test conventions
| Assertion owner | Test home |
| Engine distribution | packages/agentbundle/tests/{unit,integration,build_pipeline}/ |
| Catalogue rule | tests/conformance/ |
| Catalogue roster | tests/roster/ |
| Pack behavior | packs/<pack>/tests/ |
| Repository tool | beside its tools/ script |
This table is enforced, not stylistic. packages/agentbundle/tests/ ships inside
the sdist and is re-run against an extracted workspace holding only the package —
no contracts/, packs/, docs/, or catalogue.toml. A test placed here that
reads a repository path passes locally and fails the sdist artifact gate. Keep the
package behaviour here against fixtures and move the repository-level half to
tests/roster/; tests/AGENTS.md owns what that obliges.
Deeper pointers
Package release process lives in
docs/guides/explanation/release-coupling.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.

