skills/mav-bp-documentation/SKILL.md
Documentation conventions for all projects. Covers minimum documentation requirements, documentation freshness enforcement, AI-readable structure, and the relationship between human and machine audiences. Applied when creating or reviewing project documentation.
npx skillsauth add thermiteau/maverick mav-bp-documentationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Ensure all projects have accurate, structured, and up-to-date documentation that serves both human developers and AI agents.
Every project must have the following at a minimum:
| Document | Location | Purpose |
| --------------------- | --------------------------------- | --------------------------------------------------------------- |
| README | README.md (repo root) | Project purpose, quick start, prerequisites, how to run/test |
| Architecture overview | docs/architecture.md or equiv. | System components, data flow, key design decisions |
| Setup guide | README or docs/setup.md | Step-by-step instructions to go from clone to running locally |
| API docs | docs/api/ or inline | Required if the project exposes an API (REST, GraphQL, CLI, SDK)|
| CLAUDE.md | Repo root | AI agent instructions — see dedicated section below |
A README should contain, in order:
docs/ in the repo over external wikisdocs/api/, docs/guides/, docs/architecture/) for larger onesdocs/database-migrations.md, not docs/db.md# for title, ## for sections, ### for subsectionsDocumentation serves two audiences: human developers and AI agents. Optimise for both.
Stale documentation actively harms a project. Freshness is enforced, not hoped for.
Every project should have a CLAUDE.md at the repository root. This file provides context and instructions to AI agents working on the codebase.
When reviewing a PR, check documentation alongside code:
| Check | Action | | -------------------------------------------------- | ------------------------------------------------------------ | | PR changes a public API | Verify API docs are updated | | PR changes setup/install steps | Verify README or setup guide is updated | | PR adds a new component or service | Verify architecture docs are updated | | PR changes configuration or environment variables | Verify relevant docs reflect the change | | PR introduces a new pattern or convention | Verify CLAUDE.md or contributing guide is updated | | PR deletes or renames a feature | Verify old documentation references are removed or updated |
For creating or updating documentation, use the dedicated documentation skills:
When reviewing code or auditing a project, flag these patterns:
| Pattern | Issue | Fix |
| ------------------------------------------------ | ---------------------------- | -------------------------------------------------------- |
| No README.md in repo root | Missing essential docs | Create README with minimum required sections |
| README has no setup/run instructions | Unusable for new developers | Add quick-start commands |
| Code change without doc update | Documentation drift | Update relevant docs in the same PR |
| No CLAUDE.md | AI agents lack context | Create CLAUDE.md with project overview and commands |
| Docs reference deleted features or old APIs | Stale documentation | Remove or update stale references |
| Architecture docs missing for multi-service project | Unclear system design | Create architecture overview with component diagram |
| Inline comments restating obvious code | Noise, not documentation | Remove; write higher-level docs instead |
| Documentation in external wiki only | Not versioned with code | Move to repo docs/ directory |
development
--- name: do-test description: Write or update tests for a code change. Operates in two modes: `unit` (module-scoped, fast, deterministic) and `integration` (crosses module / service / database boundaries). Intended to be invoked once per testable change from inside a do-issue-* or do-epic phase. Mode is required. argument-hint: mode: unit or integration user-invocable: true disable-model-invocation: false --- **Depends on:** mav-bp-unit-testing, mav-bp-integration-testing, mav-local-verificati
development
Implement a focused code change. Use this skill as the wrapper for any implementation work so the Maverick workflow report captures what was done and so the agent applies the project's coding standards before editing. Intended to be invoked once per task from inside a do-issue-* or do-epic phase, not standalone.
testing
How to stack a PR on top of an unmerged sibling branch, and how to retarget it to the repo's default branch once the sibling merges. Prevents orphan-merge incidents when a dependent story is ready before its parent.
development
Claim, lease, heartbeat, and release protocols for when multiple Claude Code instances may act on the same issue or epic concurrently. GitHub labels and marker comments are the coordination surface; local state is a cache.