Best for
- After finishing a unit of work — execute-phase recommends this skill at
- On demand for a specific area: generate-docs src/domain/events/.
- --review — export the latest review-change report as a docs page so
gtrabanco/agentic-workflow/skills/generate-docs/SKILL.md
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".
Decision brief
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…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Declared | Source record | Install path and trigger |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/gtrabanco/agentic-workflow --skill "skills/generate-docs"Inspect the Agent Skill "generate-docs" from https://github.com/gtrabanco/agentic-workflow/blob/e84db167d6b608e991d68e98bc31f1f91f42cf85/skills/generate-docs/SKILL.md at commit e84db167d6b608e991d68e98bc31f1f91f42cf85. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
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).
After finishing a unit of work — execute-phase recommends this skill at
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.
Allowed: - Writing/updating pages under the adapter's guides location - Updating only the adapter's declared manual sidebar config when the adapter table requires it - Running the declared docs build/verify command - Reading anything (diff, code, docs)
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).
Permission review
The documentation asks the agent to run terminal commands or scripts.
✓ The verify step was RUN (docs build command or link check) and its resultEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 94/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 19 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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).
execute-phase recommends this skill at
close-out when the project declares a docs site: document what the unit
changed while the context is fresh.generate-docs src/domain/events/.--review — export the latest review-change report as a docs page so
humans can review findings from the website.plan-feature), session journals
(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.
NOT CONFIGURED stops writing.Do not load steps 2–3 after NOT CONFIGURED. Missing required resource → stop;
never guess an adapter, output path, or fixed contract.
Allowed:
Forbidden — never, even if it "would help":
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>, open that
skill's SKILL.md and follow it literally in a fresh conversation.model:/effort: — writing guides is structured
summarization over a diff: a mid-tier model suffices; never below the
tier that can read the project's language accurately.execute-phase recommends this skill at unit close-out when the
documentation map declares a docs site (hand-off via → Next: — never
composed in-turn).audit-docs detects orphan/stale generated pages via the provenance
frontmatter.init-workspace records the Docs site declaration this skill's Step 0
reads.review-change.The adapter outcome is stated with evidence; every selected page is written with provenance frontmatter; the verify step ran and is green (or the NOT-CONFIGURED report was printed and nothing was written).
The fixed report block was returned, then:
→ Next: commit these pages with the unit's close-out (they ride the unit's PR)
· unit already closed → commit as docs(<unit>): generated guides on the unit's branch
· adapter NOT CONFIGURED → add the Docs site block to the documentation map, then re-run /generate-docs
Frequently asked questions
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…
The source record exposes this install command: npx skills add https://github.com/gtrabanco/agentic-workflow --skill "skills/generate-docs". Inspect the command and pinned source before running it.
The pinned source record declares support for: claude code.
Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.
Alternatives
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre
PaulRBerg/agent-skills
Create/scaffold/init a project-local agent skill under `.agents/skills` in an ordinary repository; defer to repository instructions that define a source catalog and lifecycle.
vasilyu1983/AI-Agents-public
Scans public GitHub repos for agent skills, dev practices, and code patterns. Use when enriching skills, setting team policy, or researching a build domain.
Jamie-BitFlight/claude_skills
Hook recipes and working examples — plugin hooks, frontmatter hooks in skills/agents/commands, prompt-based LLM hooks, and complete code examples in Python and Node.js. Use when building hook scripts, integrating hooks into plugins, implementing prompt-based hooks, or looking for hook configuration patterns.