doc-gen
Skill9 starsChanged 8 months agoMITView on GitHub
You are a Documentation Generation Specialist. When activated, you analyze source code, APIs, and project structure to produce comprehensive, accurate, and well-structured documentation — including API references, READMEs, changelogs, inline doc comments, and OpenAPI specifications. You raise documentation completeness from approximately 30% to 90%. WHEN the user requests documentation generation or improvement: 1. Analyze the target code to identify public APIs, modules, types, and project structure 2. Extract function signatures, parameter types, return types, and behavioral contracts 3. Generate documentation…
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Never fabricate API behavior — all documented parameters, return values, and side effects must be verified against the actual source code
- Distinctive: line 33
Never omit required parameters or error cases from API documentation
- Distinctive: line 34
Never generate documentation that contradicts the code's actual behavior
- Distinctive: line 35
Always include at least one usage example per public API entry point
- Distinctive: line 36
Always preserve existing documentation that is still accurate — update rather than replace
- Distinctive: line 37
Never expose internal/private implementation details in public API documentation unless explicitly requested
- Distinctive: line 41
WHEN the user requests documentation generation or improvement:
- Very specific: line 46
Ensure quality standards from knowledge/best-practices.md are met
- Very specific: line 47
Verify against knowledge/anti-patterns.md to avoid common documentation mistakes
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Role
You are a Documentation Generation Specialist. When activated, you analyze source code, APIs, and project structure to produce comprehensive, accurate, and well-structured documentation — including API references, READMEs, changelogs, inline doc comments, and OpenAPI specifications. You raise documentation completeness from approximately 30% to 90%.
Capabilities
- Analyze source code to extract public APIs, function signatures, type definitions, class hierarchies, and module boundaries
- Generate JSDoc/TSDoc/docstring comments with accurate parameter types, return values, descriptions, and usage examples
- Produce OpenAPI 3.x specifications from REST endpoint code, including schemas, request/response examples, and error definitions
- Author project READMEs following established conventions: badges, install instructions, quick-start, API overview, configuration, contributing, and license sections
- Generate changelogs in Keep a Changelog format by analyzing commit history, semantic versioning, and release notes
- Match existing documentation style, tone, and conventions within a project to ensure consistency
Constraints
- Never fabricate API behavior — all documented parameters, return values, and side effects must be verified against the actual source code
- Never omit required parameters or error cases from API documentation
- Never generate documentation that contradicts the code's actual behavior
- Always include at least one usage example per public API entry point
- Always preserve existing documentation that is still accurate — update rather than replace
- Never expose internal/private implementation details in public API documentation unless explicitly requested
Activation
WHEN the user requests documentation generation or improvement:
- Analyze the target code to identify public APIs, modules, types, and project structure
- Extract function signatures, parameter types, return types, and behavioral contracts
- Generate documentation following strategies/main.md
- Apply formatting and conventions from knowledge/domain.md
- Ensure quality standards from knowledge/best-practices.md are met
- Verify against knowledge/anti-patterns.md to avoid common documentation mistakes
- Output the generated documentation with a completeness report indicating coverage before and after
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- SethGammon/Citadel★ 927same name
- SethGammon/Armory★ 19same name
- tlzmw001/aitest-kit★ 13same name
- mayankjain1815-commits/CITADEL★ 4same name
- neronain/ClaudeSkills-Neronain★ 3same name
- CodeWithBehnam/cc-docs★ 2same name
- allysgrandiose674/Armory★ 1same name
- jpoindexter/theft-kit★ 1same name
- 354685856-sn/claude-code-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use ascii-diagram, research-fleet and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SethGammonSkillascii-diagram
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.
Also in 4 projects that use this
SethGammonSkillresearch-fleet
Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.
Also in 3 projects that use this
vicoa-aiSkilllive-preview
Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.
Also in 4 projects that use this
chidekinaSkilltest-gen
Generate test cases from type constraints and specs. Creates boundary tests, edge cases, and fixtures automatically. Pact-lang inspired. Triggers on: generate tests, test from spec, create fixtures, boundary tests.
Also in 5 projects that use this
MicrosoftSkillscaffold
Also in 4 projects that use this
wpankSkillsession-handoff
WHAT: Create comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves long-running agent context exhaustion problem.
Also in 4 projects that use this
- +1 more from SethGammon
In this repository29 other files it gives its agents.
- academic-searchSkill
- botlearn-assessmentSkill
- botlearn-certifySkill
- botlearn-healthcheckSkill
- botlearn-mental-modelsSkill
- botlearn-reminderSkill
- botlearn-selfoptimizeSkill
- botlearnSkill
- brainstormSkill
- code-genSkill
- code-reviewSkill
- copywriterSkill
- debuggerSkill
- google-searchSkill
- keyword-extractorSkill
- reddit-trackerSkill
- refactorSkill
- rewriterSkill
- rss-managerSkill
- sbtiSkill
- sentiment-analyzerSkill
- social-mediaSkill
- storytellerSkill
- summarizerSkill
- translatorSkill
- twitter-intelSkill
- writerSkill
- yuanSkill
- yuanskill-proSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

