From FORSVN Dev
Scans a codebase and generates structured documentation: READMEs, API references, setup guides, runbooks, ship logs, and release notes. Useful after PRs or for onboarding material.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forsvn-dev:write-docs [codebase or project to document][codebase or project to document]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scans a codebase and generates clear, structured documentation — READMEs, API references, setup guides, runbooks, ship logs, release notes — with consistent terminology so a new team member can follow without reading source code. Capability metadata (route triggers, prerequisites, load map, artifact contract) lives in [`routing.yaml`](routing.yaml). Agent table + 5 routes + Single-Agent Fallbac...
agents/_template.mdagents/audience-profiler-agent.mdagents/concept-extractor-agent.mdagents/critic-agent.mdagents/scanner-agent.mdagents/staleness-checker-agent.mdagents/writer-agent.mdreferences/_shared/artifact-contract-template.mdreferences/_shared/before-starting-check.mdreferences/_shared/execution-policy.mdreferences/_shared/manifest-spec.mdreferences/_shared/mode-resolver.mdreferences/_shared/pre-dispatch-protocol.mdreferences/agent-manifest.mdreferences/anti-patterns.mdreferences/doc-template.mdreferences/examples/api-readme-walkthrough.mdreferences/modes/audit.mdreferences/modes/release-notes.mdreferences/modes/ship-log.mdScans a codebase and generates clear, structured documentation — READMEs, API references, setup guides, runbooks, ship logs, release notes — with consistent terminology so a new team member can follow without reading source code. Capability metadata (route triggers, prerequisites, load map, artifact contract) lives in routing.yaml. Agent table + 5 routes + Single-Agent Fallback: references/agent-manifest.md. Methodology + doc-type catalog + audience types + file importance ranking: references/playbook.md.
Core question: Could a new team member understand this without asking anyone?
research/product-context.md)./discover./clean-code./create-brand./brief-landing-page.All 6 fire under --fast, Single-Agent Fallback, and dry-run. Routes D + E REPLACE these with their own — see the respective mode refs.
Critic FAIL → identifies which agent must fix it; orchestrator re-dispatches. Full failure-handling flow: references/anti-patterns.md "When the critic FAILs."
Full procedure (before-starting checks, mode resolution, dimensions, read order, Warm/Cold Start, route-locked Pre-Dispatch for D + E, write-back rules): references/procedures/pre-dispatch.md.
Session execution profile (single-vs-multi): inherit per references/_shared/execution-policy.md.
Needed dimensions: audience (end-user / developer / operator / mixed), doc-type (readme / user-guide / api-reference / config-guide / tutorial / ship-log / release-notes / runbook), codebase path, fresh-write vs update-existing.
Per-route paths, lifecycle-by-doc-type, frontmatter baseline, and downstream consumers: references/procedures/artifact-paths.md. Full templates + filename + version-increment rule: references/report-template.md.
6 agents in 2 layers. Full table + execution diagram + dispatch protocol + routing rules + Single-Agent Fallback: references/agent-manifest.md.
Previous: none | Next: none (standalone). Pairs well with architect-system (architecture docs), breakdown-tasks (contributor guides).
Re-run triggers: after PRs that modify environment variables, API routes, or configuration; after major version releases; when new features ship without documentation updates.
Read references/anti-patterns.md before delivering any doc that smells off — 7-pattern catalog (restating code, missing prerequisites, wall of text, documenting internals, "see code for details"). Route-specific anti-patterns + critic-FAIL handling + when-to-defer guidance also live there.
Documentation complete. Run /review-work for quality review. Run /optimize-seo if docs are public-facing.
npx claudepluginhub hungv47/meta-skills --plugin forsvn-devGenerates documentation from code including API references, developer guides, READMEs, and architecture overviews. Matches existing styles and avoids overwriting in brownfield codebases.