agent-ready-repo
БесплатноБез исполняемых скриптовНе проверенFor a codebase: makes it safe for agents to work in by building the guardrails, AGENTS.md, verification and laws they need, or audits a repo against the…
от mblode★ 230 звёзд на GitHubОб этом скилле
Agent ready repo
The one catalogue of what makes a codebase safe for agents to work in unattended, and the order to build it in. Each item states the rule in a line, the section says why it matters, references/audit-checklist.md says how to check it, references/build-playbook.md says how to install it, and the owner named at the end of each section holds the detail. When an owner and this file disagree, the owner wins and this file is stale.
The build order comes from a production monorepo of dozens of apps written mostly by agents; each step there exists because an agent-written pull request hit the failure it prevents.
- IS: installing the guardrails, instructions and verification in order (Build), explaining which rule applies and why (Explain), scoring a repo across every section with evidence (Audit), and fixing the highest-leverage gap (Apply).
- IS NOT: the detail behind any rule (read its owner), module and interface design (
codebase-architecture), the content of AGENTS.md (agents-md), a product's verify CLI and feature map (app-verification), or CI speed (ci-speedup). - IS NOT: making a public website or docs site agent-ready: llms.txt, markdown negotiation, Agent Score, AFDocs, agent 404s (
agent-ready-site).
Files
| File | Read when |
|---|---|
references/build-playbook.md |
Build mode, or Apply mode when the gap is a missing step: the ordered steps, each with the incident behind it, its check and its owner |
references/audit-checklist.md |
Audit mode: rule, check and owner per row, and the verdict rules |
references/doctrine.md |
Explain mode: worked examples of each rule in a real repo |
references/diagnostics.md |
Writing a lint, type, build, startup or guard message that names the fix |
references/laws.md |
Adding or reviewing a law or a repo-level promise: fast-check, census with a planted mutant, TLA+, Lean, and their limits |
Modes
- Build: walk
references/build-playbook.mdin order, skipping steps the repo already passes (check each with its audit row first). Each step lands green with its existing violations fixed or listed, and is proven to bite. Done when the repo's onecheckcommand exits 0, a planted violation of every guard added fails with a message naming the fix, and the plants are reverted. - Explain: find the section, state the rule, why it applies to this code, the check that would prove it, and the owner to read next. Done when all four are in the answer.
- Audit: score every section with
references/audit-checklist.md, a verdict per section with evidence per row, then file each gap in the repo's tracker with the row's check as its done condition. Done when every section has a verdict and every gap has a task. - Apply: pick the highest-leverage gap: first anything blocking verification, then the highest ladder rung that stops a recurring mistake, then the rest. Fix it by its owner's method, prove it (a planted violation fails, the check passes), and delete any prose the fix replaces. Done when the row's check passes in the working tree.
The catalogue
1. Codebase shape
The codebase is the agent's memory: it copies what it sees, so one workaround becomes the pattern.
- A few nouns (app, package, feature, route), each with one place in the tree, one name used everywhere (folder, package, deploy target), and one generator that creates it.
- Files, not registries; where a registry exists, a check fails when it disagrees with the folders.
- One writer per durable value; boundaries enforced on the import graph.
- One paved path per task; design for the least-context contributor.
- No history or reviewer comments. Legacy code is marked and fenced so it is not copied.
Owner:
codebase-architecture(wayfinding.md,contagion-markers.md,guardrail-tooling.md).
2. Enforcement ladder
Prose rules get forgotten; only checks that fail scale to thousands of agent PRs.
- Laws, then codebase, then static analysis, then rules, skills and review, then a style guide. Take the highest rung that holds.
- Every review comment repeated twice is a missing rule.
- Guards ordered by when they fire: edit hook, pre-push, CI, nightly. One
checkcommand runs them all. - Diagnostics name the fix and the owner.
- Exception lists only shrink, fail on stale entries, and carry a reason per entry.
Owners:
codebase-architecture(enforcement-ladder.md,agent-runtime.md);references/diagnostics.md.
3. Laws and repo promises
Humans can review a short list of laws where they cannot review a thousand diffs.
LAWS.md: invariants in plain words, each linked to the check that backs it.- fast-check properties by default; a census with a planted mutant for repo-wide promises; TLA+ for concurrency; Lean rarely.
- Law changes go to a person; the implementation under them can change freely.
Owner:
references/laws.md.
4. Verification
Without verification the human is the verifier, and nothing
Установить agent-ready-repo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-ready-repo?
For a codebase: makes it safe for agents to work in by building the guardrails, AGENTS.md, verification and laws they need, or audits a repo against the catalogue and fixes the top gap. Use when asked to "make this repo agent-friendly", "set up a repo for agents", "audit this for agents", or "agents keep making the same mistake". For a public website or docs site use agent-ready-site.
Как установить скилл agent-ready-repo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-ready-repo запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic