audit-docs
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index…
Generate incremental, diff-driven developer guides through the project's detected docs adapter. Never regenerate the whole site, scaffold it, or edit source. Triggers: "generate-docs", "generate the docs", "document this unit".
$ npx -y skills add gtrabanco/agentic-workflow --skill generate-docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/generate-docsContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate incremental, diff-driven developer guides through the project's detected docs adapter. Never regenerate the whole site, scaffold it, or edit source. Triggers: "generate-docs", "generate the docs", "document this unit".
name: generate-docs user-invocable: true version: 2.0.1 argument-hint: "[NN-slug | fix-n | path/glob] [--review]" author: "Gabriel Trabanco <gtrabanco@users.noreply.github.com>" license: MIT description: > Generate incremental, diff-driven developer guides through the project's detected docs adapter. Never regenerate the whole site, scaffold it, or edit source. Triggers: "generate-docs", "generate the docs", "document this unit".
Turn the knowledge produced by a unit of work into developer documentation a contributor can read on the project's docs website — incrementally, as a by-product of shipping, so a public repo's docs stay current instead of rotting. A commit says what changed; a guide says how to use it ("how do I create a domain event and where do I register its handler").
✓ The docs adapter was resolved through the Step 0 detection checklist and the outcome (adapter name, or NOT CONFIGURED) is stated in the report ✓ Every generated/updated page is WRITTEN to disk (paths listed in the report) and carries the provenance frontmatter — or zero pages were written and the report says exactly why ✓ The verify step was RUN (docs build command or link check) and its result pasted — never assumed ✓ Artifact language: explicit user instruction > the project's declared docs language > English. The CONVERSATION language never decides ✓ The fixed report block is printed, then the closing `→ Next:` block, as the ABSOLUTE last output
About to end the turn with any box unchecked? The turn is NOT done — complete the missing box first (weak models drop end-of-document duties; this list is first on purpose).
close-out when the project declares a docs site: document what the unit changed while the context is fresh.
humans can review findings from the website.
(`log-session`), or reviewing code (`review-change` produces the findings; this skill only publishes an existing report on request).
The reference allowlist is exactly the three paths below. Read them in this order; every selected resource is normative and one hop from this entrypoint.
1. Every invocation: read [adapter discovery](references/ADAPTER_DISCOVERY.md) and resolve the adapter with evidence. `NOT CONFIGURED` stops writing. 2. Configured adapter only: before choosing any output path or format, read [adapter slots](references/ADAPTERS.md). 3. Read [generation process](references/GENERATION_PROCESS.md) and execute the scope, incrementality, map/review, verify, and report steps.
Do not load steps 2–3 after `NOT CONFIGURED`. Missing required resource → stop; never guess an adapter, output path, or fixed contract.
**Allowed:**
table requires it
**Forbidden — never, even if it "would help":**
page selector)
manual sidebar config
sidebar config
GENERATE DOCS — adapter: <starlight|docusaurus|markdown|NOT CONFIGURED> — scope: <scope> | Page | Action | Source-unit | Subject paths | |---|---|---|---| | <content-path> | created|updated | <NN-slug> | <paths> | Map: regenerated (<command>) | n/a — no map command declared | invalid output — <reason> Review export: <page path> | not requested | no report available Verify: <command + exit code | links checked: <n>, broken: 0 | n/a — not configured> Pages: <n> written, <n> skipped by incrementality checklist Decision: PASS | FAIL | NOT-CONFIGURED
`FAIL` only when the verify step is red or a written page had to be reverted; `NOT-CONFIGURED` per Step 0.5; `PASS` otherwise (including 0 pages).
The workflow is the contract; Claude Code features are conveniences. On an agent that lacks one, apply the fallback — never skip the step the feature enables:
skill's `SKILL.md` and follow it literally in a fresh conversation.
summarization over a diff: a **mid-tier** model suffices; never below the tier that can read the project's language accurately.
("generate docs for 01-generate-docs"); the Process step 1 order still applies.
documentation map declares a docs site (hand-off via `→ Next:` — never composed in-turn).
frontmatter.
reads.
with provenance frontmatter; the verify step ran and is green (or the NOT-CONFIGURED repo
A reusable set of agent skills that run a disciplined, doc-driven workflow for building software with agents — from idea/issue to a reviewed, classified, merge-ready change.
Repo: gtrabanco/agentic-workflow
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index…
Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS…
Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy…
Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps facts, decisions, planned work,…
Internal shared owner of evidence-grounded authoring: the fixed claim/authority/evidence/freshness/unknown row, the ordered inventory-evidence-draft-readiness…
Implement all remaining phases of a planned feature/fix by default, or one explicit P<n>, with frozen acceptance, phase-local gates, commits, recovery, and…