code-documenter
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides.
Skill by https://github.com/Jeffallan
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hb-zzz-momo-code-documenter
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
code-documenter- Description
- Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides. Use when adding docstrings to functions or classes, creating API documentation, building documentation sites, or writing tutorials and user guides. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, getting started guides.
- License
- MIT
- Metadata
- role: specialist · scope: implementation · author: https://github.com/Jeffallan · domain: quality · version: 1.1.0 · triggers: documentation, docstrings, OpenAPI, Swagger, JSDoc, comments, API docs, tutorials, user guides, doc site · output-format: code · related-skills: spec-miner, fullstack-guardian, code-reviewer
- Instructions
- 136 lines in SKILL.md · view on GitHub
Files (9)
- SKILL.md
- api-docs-fastapi-django.md · references/
- api-docs-nestjs-express.md · references/
- coverage-reports.md · references/
- documentation-systems.md · references/
- interactive-api-docs.md · references/
- python-docstrings.md · references/
- typescript-jsdoc.md · references/
- user-guides-tutorials.md · references/
SKILL.md (first lines)
# Code Documenter
Documentation specialist for inline documentation, API specs, documentation sites, and developer guides.
## When to Use This Skill
Applies to any task involving code documentation, API specs, or developer-facing guides. See the reference table below for specific sub-topics.
## Core Workflow
1. **Discover** - Ask for format preference and exclusions
2. **Detect** - Identify language and framework
3. **Analyze** - Find undocumented code
4. **Document** - Apply consistent format
5. **Validate** - Test all code examples compile/run:
- Python: `python -m doctest file.py` for doctest blocks; `pytest --doctest-modules` for module-wide checks
- TypeScript/JavaScript: `tsc --noEmit` to 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
6. **Report** - Generate coverage summary
## Quick-Reference Examples
### Google-style Docstring (Python)
```python
def fetch_user(user_id: int, active_only: bool = True) -> dict:
"""Fetch a single user record by ID.
Args:
user_id: Unique identifier for the user.
active_only: When True, raise an error for inactive users.
Returns:
A dict containing user fields (id, name, email, created_at).
Raises:
ValueError: If user_id is not a positive integer.
UserNotFoundError: If no matching user exists.
"""
```
### NumPy-style Docstring (Python)
```python
def compute_similarity(vec_a: np.ndarray, vec_b: np.ndarray) -> float:
"""Compute cosine similarity between two vectors.
Parameters
----------
vec_a : np.ndarray
First input vector, shape (n,).
vec_b : np.ndarray
Second input vector, shape (n,).
Returns
-------
float
Cosine similarity in the range [-1, 1].
Raises
------
ValueError
If vectors have different lengths.
"""
```
### JSDoc (TypeScript)
```typescript
/**
* Fetches a paginated list of products from the catalog.
*
* @param {string} categoryId - The category to filter by.
* @param {number} [page=1] - Page number (1-indexed).
* @param {number} [limit=20] - Maximum items per page.
* @returns {Promise<ProductPage>} Resolves to a page of product records.
* @throws {NotFoundError} If the category does not exist.
*
* @example
* const page = await fetchProducts('electronics', 2, 10);
* console.log(page.items);
*/
async function fetchProducts(
categoryId: string,
page = 1,
limit = 20
): Promise<ProductPage> { ... }
```
## Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| Python Docstrings | `references/python-docstrings.md` | Google, NumPy, Sphinx styles |
| TypeScript JSDoc | `references/typescript-jsdoc.md` | JSDoc patterns, TypeScript |
| FastAPI/Django API | `references/api-docs-fastapi-django.md` | Python API documentation |
| NestJS/Express API | `references/api-docs-nestjs-express.md` | Node.js API documentation |
| Coverage Reports | `references/coverage-reports.md` | Generating documentation reports |
| Documentation Systems | `references/documentation-systems.md` | Doc sites, static generators, search, testing |
| Interactive API Docs | `references/interactive-api-docs.md` | OpenAPI 3.1, portals, GraphQL, WebSocket, gRPC, SDKs |
| User Guides & Tutorials | `references/user-guides-tutorials.md` | Getting started, tutorials, troubleshooting, FAQs |
## Constraints
### MUST DO
- Ask for format preference before starting
- Detect framework for correct API doc strategy
- Document all public functions/classes
- Include parameter types and descriptions
- Document exceptions/errors
- Test code examples in documentation
- Generate coverage report
### MUST NOT DO
- Assume docstring format without asking
- Apply wrong API doc strategy for framework
- Write inaccurate or untested documentation
- Skip error documentation
- Document obvious getters/setters verboselyFrom Hb-zzz-momo/zbh-s-skills, MIT.
More from Hb-zzz-momo/zbh-s-skills
- 0.587score
aigc-reduce
Hb-zzz-momo
降低学术论文的 AIGC 查重率和 AI 味。适用于 Claude Code 和 Codex。 基于知网、万方、PaperPass、PaperPure 等检测器原理,使用扫描定位、 确定性替换、句子级重构和 Anti-AI 审计,在保持学术语体、事实、数据、 引用和专业术语一致的前提下减少模板化 AI 痕迹。Use…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
automation-error-learning-zh
Hb-zzz-momo
从长任务开工、执行节点到结束持续沉淀经验与流程:记录纠正、取舍、失败和有效方法,优先优化相关通用/专用 Skill,无匹配时创建通用 Skill,项目保留案例。用于项目开始跟进总结、阶段复盘、上下文恢复、“对于本次执行反思”“把经验和流程一起沉淀”“执行前查坑”“避免重复失败”,以及已启用本技能的多步骤写作、研究、开…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
humanizer-zh
Hb-zzz-momo
中文文本去 AI 味与个人文风校准。用于改写、审校或润色中文文章、公众号稿、小红书文案、短视频口播、商业材料、邮件和报告;识别空泛升华、模板化连接词、排比堆叠、伪金句、营销腔、机械分段及聊天机器人残留,同时严格保留原文事实、数字、日期、引文、链接和作者原有语气。用户提出“去AI味”“写得像真人”“自然一点”“别像机器…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
openrank-comment-generator-zh
Hb-zzz-momo
为 openrank2 / OpenRank 可视化平台生成或补齐项目风格的中文代码注释。Use when Codex needs to add, rewrite, audit, or standardize Chinese module comments, function docstrings, route…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
cli-anything
Hb-zzz-momo
Use when the user wants Codex to build, refine, test, validate, or list CLI-Anything harnesses for GUI applications or source repositories.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
unity-2d-pixel-perfect
Hb-zzz-momo
Pixel art that renders soft, shimmering or seam-ridden in Unity 2D — camera, import and snapping settings across both components called PixelPerfectCamera.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
pre-task-research-zh
Hb-zzz-momo
按方案B在外部背景缺口、易变事实、需引用、用户明确检索或领域研究要求时补证据与查找可复用Skill;已知背景复用,稳定给定材料可直做。是领域流程的调研辅助,不重启通用分流、记忆或反思;保留直接调用入口。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
computer-systems-lab-grading
Hb-zzz-momo
按温州大学计算机系统基础16个实验的独立百分制细则审阅实验报告,核对代码、截图、调试记录和分析,输出有证据的逐项评分建议。用于本课程后端接入DeepSeek多模态批阅、复核争议分数或校准评分规则;不用于其他课程,不自动发布正式成绩。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
context-budget-guard-zh
Hb-zzz-momo
保守减少长任务、重复检查和多代理评审中的上下文重复读取:维护代码/证据地图、有限文件状态哈希与来源检索。用于重复扫描已有材料或明确要求节省上下文;简单问答和一次性小改跳过,不替代领域执行、测试或验收。
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
delivery-and-cadence
Hb-zzz-momo
Load when drafting or revising a speech, toast, keynote, eulogy, pitch, or any text meant to be spoken aloud, to make prose land on the ear through rhythm…
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
task-constraint-discovery-zh
Hb-zzz-momo
主动发现复杂任务中遗漏的能力、时间、资源、规则和验收约束,把用户理解、实施、验证与交付的成本纳入方案选择。用于目标已有但现实边界不清的数学建模、开发、写作、学习和项目规划,以及执行中发现方案过难或无法按期完成时;简单明确的小任务和纯知识问答直接处理。
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
wechatsync
Hb-zzz-momo
Multi-platform article publisher and content distribution tool.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 18, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.0
- License
- MIT
- Repository
- github.com/Hb-zzz-momo/zbh-s-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.697score
code-documenter
https://github.com/Jeffallan
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides.
SkillAFreshness: A★ 12KClaude Code +9 - 0.290score
code-documenter
https://github.com/Jeffallan
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides.
SkillBFreshness: B★ 11Claude Code +9 - 0.233score
code-documenter
https://github.com/Jeffallan
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides.
SkillCFreshness: CClaude Code +9
More from https://github.com/Jeffallan
- 0.697score
angular-architect
https://github.com/Jeffallan
Generates Angular 17+ standalone components, configures advanced routing with lazy loading and guards, implements NgRx state management, applies RxJS…
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
spec-miner
https://github.com/Jeffallan
Reverse-engineering specialist that extracts specifications from existing codebases.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
cpp-pro
https://github.com/Jeffallan
Writes, optimizes, and debugs C++ applications using modern C++20/23 features, template metaprogramming, and high-performance systems techniques.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
code-documenter
https://github.com/Jeffallan
Generates, formats, and validates technical documentation — including docstrings, OpenAPI/Swagger specs, JSDoc annotations, doc portals, and user guides.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
fullstack-guardian
https://github.com/Jeffallan
Builds security-focused full-stack web applications by implementing integrated frontend and backend components with layered security at every level.
SkillAFreshness: A★ 12KClaude Code +9 - 0.697score
api-designer
https://github.com/Jeffallan
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture.
SkillAFreshness: A★ 12KClaude Code +9
Cite this page
code-documenter skill. Agent Mart. https://agentmart.dev/skills/hb-zzz-momo-code-documenter (last updated 2026-10-24)