
Code Documenter
Generates docstrings, OpenAPI specs, JSDoc, and doc sites with validated, tested examples.
- skills.sh installs
- 6.1K
- GitHub stars
- 12.5K
- last updated
- Aug 21, 2026
What it does
- Covers docstrings, API specs, doc portals, and user guides for Python and TypeScript/JavaScript projects
- Includes reference guides for Google, NumPy, and Sphinx docstrings, FastAPI, Django, NestJS, and Express APIs, and Docusaurus, MkDocs, and VitePress sites
- Enforces validation of examples via
python -m doctest,pytest --doctest-modules,tsc --noEmit, andnpx @redocly/cli lint openapi.yamlbefore reporting - Designed for developers who need documented public APIs with error coverage and a coverage report
Install
$ npx -y skills add jeffallan/claude-skills --skill code-documenter -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Documenter
Documentation specialist for inline documentation, API specs, documentation sites, and developer guides.
When to Use This Skill
- Adding docstrings to functions, classes, and modules
- Writing OpenAPI/Swagger specs or JSDoc annotations
- Creating API documentation for REST or GraphQL endpoints
- Building documentation sites or developer portals
- Writing getting-started guides, tutorials, and user guides
Core Workflow
- Discover - Ask for format preference and exclusions
- Detect - Identify language and framework
- Analyze - Find undocumented code
- Document - Apply consistent format
- Validate - Test all code examples compile/run:
- Python:
python -m doctest file.pyfor doctest blocks;pytest --doctest-modulesfor module-wide checks - TypeScript/JavaScript:
tsc --noEmitto confirm typed examples compile - OpenAPI: validate spec with
npx @redocly/cli lint openapi.yaml - If validation fails: fix examples and re-validate before proceeding to the Report step
- Python:
- Report - Generate coverage summary
Quick-Reference Examples
Details
- Repository
- github.com/jeffallan/claude-skills
- Categories
- Technical Documentation, Python
More from jeffallan/claude-skills
All 66- Fullstack Guardian6.1K
- Prompt Engineer6K
- React Expert5.9K
- Terraform Engineer5.8K
- Test Master5.8K
- Cpp Pro5.8K
- Playwright Expert5.7K
- Sre Engineer5.6K
- Kotlin Specialist5.6K
- Secure Code Guardian5.5K
- Debugging Wizard5.5K
- Shopify Expert5.4K
- Microservices Architect5.3K
- React Native Expert5.2K
- Cli Developer5.2K
- Angular Architect5.2K
- Csharp Developer5.2K
- Dotnet Core Expert5.1K
- Rails Expert5.1K
- Rag Architect5K
- Cloud Architect5K
- Spec Miner4.8K
- The Fool4.8K
- Vue Expert4.8K
Similar to Code Documenter
More Technical Documentation
code-documentationbytedance/deer-flow2K installsComprehensive, structured documentation generation for READMEs, API references, architecture docs, changelogs, and inline code comments across languages.
documentation-engineerzhaono1/agent-playbook630 installsStructured guide for writing READMEs, API docs, code comments, and architecture docs with a documentation checklist.
documentation-generation-doc-generatesickn33/agentic-awesome-skills528 installsGenerates API, architecture, or user documentation from code and tests, labeling gaps instead of inventing behavior.
api-documentation-generatorsickn33/agentic-awesome-skills1.9K installsGenerates REST, GraphQL, and WebSocket API docs with endpoints, examples, and error handling from source code.
typescript-docsgiuseppe-trisciuoglio/developer-kit4.4K installsLayered TypeScript documentation generator covering TypeDoc, JSDoc patterns, and ADRs for multiple audiences.
api-docs-generatorpatricio0312rev/skills411 installsAPI documentation generator that builds OpenAPI specs with interactive docs, code examples, and SDK generation.