arcforge
AGENTS.md16 starsChanged 3 months agoMITView on GitHub
This repository publishes portable Agent Skills for production system architecture. Core behavior belongs in the portable skill format and must remain usable across compatible runtimes. Portable skills live under skills/*/. Each skill must remain usable by Claude Code, Codex, and other Agent Skills-compatible runtimes without depending on a vendor-specific control plane.
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 repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
23 rules. About 0 are common, 17 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Read the affected SKILL.md and its linked references completely.
- Distinctive: line 12
Add or update a runtime-neutral behavioral case before changing observable behavior, then review it with an approved target model.
- Very specific: line 13
Keep skill frontmatter valid and make the directory name equal to the frontmatter name.
- Very specific: line 14
Keep each primary SKILL.md at 500 lines or fewer.
- Distinctive: line 16
Run portable skill discovery and perform the repository review checklist before claiming completion.
- Distinctive: line 17
Read full output and report any unrun agent-specific or behavioral verification honestly.
- Distinctive: line 21
Use only the shared Agent Skills frontmatter fields unless a runtime-specific field is clearly optional and isolated.
- Very specific: line 22
Keep portable SKILL.md frontmatter to name and description.
- Distinctive: line 23
Keep installation and activation compatible with the shared Agent Skills format across supported runtimes.
- Distinctive: line 24
Keep descriptions specific enough for implicit activation and include concrete trigger words.
- Distinctive: line 26
Keep skill behavior in natural-language instructions, references, examples, and reusable Markdown assets.
- Distinctive: line 31
Every decision traces to a requirement, invariant, risk, or constraint.
- Distinctive: line 32
Every critical claim has a validation path.
- Distinctive: line 33
No unsafe dual writes, floating-point money, unbounded resources, implicit internal trust, gateway-only authorization, …
- Distinctive: line 65
Keep canonical papers and owning skill copies semantically aligned and review their links together.
- Distinctive: line 71
Never hand-edit one routing map copy alone, and never let a skill route from a name that merely sounds related instead of from the map.
- Very specific: line 78
run affected cases in evals/cases.json with the target model and retain complete outputs.
- Distinctive: line 79
verify frontmatter names, required headings, line limits, and local links.
- Very specific: line 80
run npx skills add . --list when network access is available.
- Distinctive: line 85
Keep runtime-specific metadata optional, isolated, and documented.
- Distinctive: line 86
Do not weaken behavioral cases, critical blockers, or evidence gates to make a change pass.
- Distinctive: line 87
Do not add undocumented broad shell, network, filesystem, SQL, cloud, or deployment authority.
- Distinctive: line 88
Do not claim Skills CLI discovery, agent loading, or model-based behavioral evaluation passed unless it was run in the current change and …
≈ “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
Repository Instructions for Coding Agents
Purpose
This repository publishes portable Agent Skills for production system architecture. Core behavior belongs in the portable skill format and must remain usable across compatible runtimes.
Portable skills live under skills/*/. Each skill must remain usable by Claude Code, Codex, and other Agent Skills-compatible runtimes without depending on a vendor-specific control plane.
Required workflow
- Read the affected
SKILL.mdand its linked references completely. - Add or update a runtime-neutral behavioral case before changing observable behavior, then review it with an approved target model.
- Keep skill frontmatter valid and make the directory name equal to the frontmatter
name. - Keep each primary
SKILL.mdat 500 lines or fewer; move deep material intoreferences/, reusable forms intoassets/, and worked calibration artifacts intoexamples/. - Preserve the exact headings
## Output Contractand## Stop Conditionsin each primary skill. - Run portable skill discovery and perform the repository review checklist before claiming completion.
- Read full output and report any unrun agent-specific or behavioral verification honestly.
Portable skill rules
- Use only the shared Agent Skills frontmatter fields unless a runtime-specific field is clearly optional and isolated.
- Keep portable
SKILL.mdfrontmatter tonameanddescription; place Codex UI metadata in the optionalagents/openai.yamlfile. - Keep installation and activation compatible with the shared Agent Skills format across supported runtimes.
- Keep descriptions specific enough for implicit activation and include concrete trigger words.
- Reference supporting files with paths relative to the skill directory.
- Keep skill behavior in natural-language instructions, references, examples, and reusable Markdown assets.
- Protect secrets, tokens, personal data, and runtime state from repository content.
Architecture content rules
- Every decision traces to a requirement, invariant, risk, or constraint.
- Every critical claim has a validation path.
- No unsafe dual writes, floating-point money, unbounded resources, implicit internal trust, gateway-only authorization, backup-without-restore claims, or active-active ambiguity.
- AI systems separate model proposals from policy, permissions, durable truth, verification, and approval.
- An AI-generated contextual score never waives a critical blocker.
File ownership
- Skill routing, mode selection, companion resolution, and step order:
skills/using-forge/ - Route-only answers that inspect and change nothing:
skills/think-forge/ - General architecture:
skills/system-architecture-harness/ - AI/agent architecture:
skills/ai-agent-system-architecture/ - Independent AI review:
skills/architecture-review-gate/ - Pull requests, merge requests, patches, code-diff findings, false positives, fixes, approval verdicts, and instruction-derived review scores:
skills/pull-request-review-gate/ - Identity, authentication, authorization, tenancy:
skills/auth-access/ - APIs, validation, errors, pagination, webhooks, realtime, SDKs:
skills/api-contracts/ - Data modeling, storage, identifiers, money, files, search, lifecycle:
skills/data-storage/ - Transactions, concurrency, idempotency, consistency, distribution:
skills/transactions-consistency/ - Jobs, queues, events, outbox, email, notifications:
skills/async-messaging/ - Caching, rate limiting, quotas, retries, timeouts, breakers, backpressure:
skills/resilience-flow-control/ - Secrets, cryptography, TLS, privacy, abuse, randomness:
skills/security-privacy/ - Observability, runbooks, backup/DR, multi-region:
skills/production-operations/ - Schema, data, and contract migration and cutover:
skills/migration-evolution/ - Testing, performance, and release verification:
skills/quality-release/ - Runtime, configuration, deployment, CI/CD:
skills/runtime-delivery/ - Git repositories, branches, remotes, tags, versions, history, and repository workflow:
skills/git-workflows/ - Canonical backend knowledge corpus and reference integrity:
backend-engineering-knowledge-base/ - Repository documentation:
README.md,docs/,CONTRIBUTING.md, andSECURITY.md - Behavioral pressure cases:
evals/
Domain paper reference discipline
- The canonical corpus is
backend-engineering-knowledge-base/papers/; never edit it casually. - Skill copies under
skills/*/references/papers/are committed portable reference artifacts. When a paper changes, update the canonical paper and every owning skill copy together, then review their semantic parity and links. - Keep canonical papers and owning skill copies semantically aligned and review their links together.
Routing map discipline
- The canonical routing source is
arcforge.catalog.yaml: technical IDs, routing descriptions, positive and negative triggers, typed companions, and installation groups. skills/using-forge/references/routing-map.mdandskills/think-forge/references/routing-map.mdare identical committed copies derived from that catalog. When routing changes, update the catalog and both copies together and confirm they stay byte-identical.- Never hand-edit one routing map copy alone, and never let a skill route from a name that merely sounds related instead of from the map.
Maintainer review
Before completion:
- inspect every changed instruction and its linked resources;
- run affected cases in
evals/cases.jsonwith the target model and retain complete outputs; - verify frontmatter names, required headings, line limits, and local links;
- run
npx skills add . --listwhen network access is available; and - report model/runtime identity, trial count, disagreements, and any verification not performed.
Prohibited changes
- Keep runtime-specific metadata optional, isolated, and documented.
- Do not weaken behavioral cases, critical blockers, or evidence gates to make a change pass.
- Do not add undocumented broad shell, network, filesystem, SQL, cloud, or deployment authority.
- Do not claim Skills CLI discovery, agent loading, or model-based behavioral evaluation passed unless it was run in the current change and its output was inspected.
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.

