Create repo docs
Home / Skills / Create repo docs
Downloads
Section titled “Downloads”Skill instructions
Section titled “Skill instructions”---name: create-repo-docsdescription: Create or overhaul repository-facing README.md and AGENTS.md documentation. Use when the user asks to generate a README, AGENTS.md, repository instructions for coding agents, setup/test/build guidance, project overview, contribution or workflow notes, or to bootstrap missing repository docs. Inspect the repository first, derive commands from real files, preserve local conventions, and avoid invented setup details. Do not use for llms.txt; use llms-txt instead.---
# Repository Docs
Create documentation from the repository, not from vibes.
## Route the request
- **README.md:** human-facing project overview, installation, usage, examples, status, and contribution entrypoints.- **AGENTS.md:** operational instructions for coding agents working in the repository.- **Both:** share facts, but write each for its audience instead of duplicating paragraphs.
## Repository inspection
Before writing:
1. Read existing README/AGENTS/provider instruction files.2. Inspect manifests, package/build files, task runners, CI workflows, test configuration, and deployment files.3. Identify the actual stack, supported runtimes, package manager, commands, and repository layout.4. Check whether this is a monorepo and whether nested scopes need their own instructions.5. Preserve established terminology and conventions.
Never invent a command just because it is conventional for the stack.
## README.md
Prioritize:
1. What the project is and why it exists.2. Minimum setup/install path.3. The shortest useful example or usage path.4. Important configuration and platform requirements.5. Where to find deeper docs, contribution, security, and license information when those files exist.
Keep badges, screenshots, giant feature matrices, and architecture essays only when they earn their pixels.
Read `references/readme.md` when creating a substantial README or deciding what sections to include.
## AGENTS.md
Write concrete instructions an agent can execute:
- repository scope and source-of-truth rules;- setup/install commands;- build, lint, format, test, and targeted-test commands;- code layout and module boundaries;- generated/vendor files not to edit;- local conventions that differ from ecosystem defaults;- security or secret-handling constraints;- PR/check requirements when they are repository-specific.
Avoid generic advice the model already knows. `AGENTS.md` should encode project invariants and workflow traps, not explain what Git is.
For monorepos, put broad rules at the root and narrower rules nearer the code they govern when the consuming agent supports hierarchical instructions.
Read `references/agentsmd.md` for a section checklist and quality bar.
## Existing docs
When a target file already exists:
- improve it in place instead of replacing its voice and structure wholesale;- keep correct hand-written context;- remove stale instructions and duplicated source-of-truth content;- link to canonical docs instead of copying long reference material.
## Validation
Before finishing:
- verify every documented command against repository files or CI;- verify referenced paths exist;- keep public docs free of secrets, personal paths, and private endpoints;- ensure README and AGENTS do not contradict each other;- keep instructions concise enough to be read rather than ceremonially ignored.Package contents
Section titled “Package contents”create-repo-docs/SKILL.mdcreate-repo-docs/references/agentsmd.mdcreate-repo-docs/references/readme.md