doc-gen
Skill9 starsChanged 9 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…
6 other projects use a version of this.
Adopted by
Most recently taken up by
- SethGammon/Citadeltheir own version, first seen Sep 20, 2026
- tlzmw001/aitest-kittheir own version, first seen Aug 13, 2026
- HaddenHunter/SkillForgetheir own version, first seen Aug 9, 2026
- neronain/ClaudeSkills-Neronaintheir own version, first seen Aug 9, 2026
- 354685856-sn/claude-code-skillstheir own version, first seen Apr 8, 2026
- CodeWithBehnam/cc-docstheir own version, first seen Mar 15, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- SethGammon/Citadel★ 922same name
- HaddenHunter/SkillForge★ 107same name
- tlzmw001/aitest-kit★ 13same name
- neronain/ClaudeSkills-Neronain★ 3same name
- CodeWithBehnam/cc-docs★ 2same 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.
In this repository27 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
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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 an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

