Standardize the current GitHub repository's durable project context for coding agents by default. Use when asked to create or update AGENTS.md routing, scaffold or normalize docs/ project documentation, separate consumer README content from contributor/developer docs, or apply a reusable repo documentation convention with root README.md, CONTRIBUTING.md, RELEASE.md, and docs/README.md.
75
94%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Set up a repository so humans and coding agents can quickly discover the project purpose, contribution process, release process, and deeper project-specific development context.
When invoked without additional instructions, treat the request as: inspect the current repository and standardize its AGENTS.md and docs/ project context end to end using this skill's conventions.
Use these conventions unless the user overrides them:
README.md consumer-facing for GitHub, npm/package pages, and top-level project discovery.CONTRIBUTING.md for contribution and PR conventions.RELEASE.md for release process; do not create RELEASING.md.docs/, not spec/, for project documentation.docs/README.md as the docs index.docs/development.md, docs/testing.md, docs/architecture.md, and docs/conventions.md when absent.docs/features/ when present or useful.docs/release.md, docs/releasing.md, or docs/decisions/ by default.Inspect the repo before editing:
rg --files -g '*.md' -g 'package.json' -g 'pyproject.toml' -g 'Cargo.toml' -g 'go.mod' -g 'Makefile'README.md, CONTRIBUTING.md, RELEASE.md, any existing AGENTS.md, and docs/README.md if present.AGENTS.md as an input source before replacing or shrinking it. Extract any repo-specific purpose, architecture map, source-path ownership, local commands, testing constraints, generated-file warnings, style rules, docs links, and domain boundaries that are not already preserved elsewhere.Create or update AGENTS.md:
references/AGENTS.template.md.AGENTS.md.AGENTS.md has project rules or context, preserve the information by moving it into the canonical docs before applying the template. Prefer AGENTS.md as the stable routing skeleton and keep deeper project-specific details in linked docs.Baseline Commands section by default.Create or update docs/README.md:
docs/PROJECT.md, docs/DEVELOPING.md, docs/TESTING.md, or similar files already exist, normalize names only when the content clearly maps to the canonical filename and links can be updated safely; otherwise keep the file and add it to the index.Scaffold missing canonical docs:
docs/development.md: setup, local workflows, repository-specific development notes.docs/testing.md: test commands, test organization, fixtures, coverage, manual checks.docs/architecture.md: module/service map, data/control flow, important boundaries, invariants.docs/conventions.md: project-specific coding, naming, documentation, UX/API, and maintenance conventions.TODO under the relevant heading.AGENTS.md, place it where future agents will naturally look:
docs/architecture.md.docs/development.md.docs/testing.md.docs/conventions.md.docs/README.md.AGENTS.md against the new docs/ files and confirm that no repo-specific instruction or context was silently dropped.Update root README.md only when needed:
docs/README.md if there is no discoverable path to deeper docs.Validate:
rg/find.AGENTS.md, explicitly sanity-check that migrated details now appear in one of the canonical docs or are already covered by linked existing docs.Use references/AGENTS.template.md as the source of truth for generated AGENTS.md content. Copy it verbatim for a fresh repo unless a file it links to will not exist after setup or the user explicitly asks for project-specific additions.
If the user asks for a one-shot prompt instead of applying the skill, read references/one-shot-prompt.md and adapt it to their target repo.