documentlisted
Install: claude install-skill domengabrovsek/agent-config
Generate or update engineering documentation for: $ARGUMENTS
This skill writes docs that are dual-audience: engineers reading on GitHub AND Claude agents reading the repo. Apply the rules below without exception.
## Subcommands
**why-no-hook:** skill workflow guidance; each step requires understanding the surrounding context (repo, task shape, prior state).
Parse the first word of `$ARGUMENTS` as the subcommand:
- `explain <topic>` - create/update `docs/explanation/<topic>.md` (the *why* and *how it fits together*) `(review-time: see section note)`
- `reference <topic>` - create/update `docs/reference/<topic>.md` (lookup tables, env vars, schemas, enums) `(review-time: see section note)`
- `how-to <task>` - create/update `docs/how-to/<task>.md` (a recipe to do one thing) `(review-time: see section note)`
- `tutorial <topic>` - create/update `docs/tutorials/<topic>.md` (learning path, onboarding) `(review-time: see section note)`
- `adr "<title>"` - draft the next-numbered ADR in `docs/adr/` `(review-time: see section note)`
- `diagram <type> <topic>` - add or update a mermaid diagram inside the matching doc `(review-time: see section note)`
- `audit` - read every `docs/**/*.md`, compare against current code, produce a drift report (read-only, no edits) `(review-time: see section note)`
- `bootstrap` - create the full `docs/` skeleton in a repo that has none yet (uses `~/.agents/templates/docs-readme.md`, `~/.agents/templates/adr-readme.md`, and `~/.agents/templates/adr.m