Agent skill · Backend & API

doc-writing

Generate API documentation from a route manifest. Use when you have a list of discovered routes and need to produce markdown documentation.

huangjia2019github.com/huangjia2019GitHub ↗
claude-codecan modify files
Install
npx skills add huangjia2019/claude-code-engineering --skill doc-writing --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Allowed tools: ReadWriteGlob
Path: 04-Skills/projects/08-skill-pipeline/.claude/skills/doc-writing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,040
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Doc Writing Skill Generate structured API documentation from a route manifest. ## Input You will receive a route manifest (JSON array) from the previous pipeline stage. Each entry contains: method, path, file, line, middleware, type. ## Process ### Step 1: Read Source Code For each route in the manifest, read the source file to understand: - Request parameters (path, query, body) - Response format - Error handling - Business logic summary ### Step 2: Generate Documentation Use the template at `templates/endpoint-doc.md` for each route group. Group routes by their source file (e.g., all product routes together). ### Step 3: Write Files Write one markdown file per route group to the `docs/` directory: - `docs/products-api.md` - `docs/categories-api.md` - etc. ## Output Return a manifest of generated documentation files: ```json { "files_generated": ["docs/products-api.md", "docs/categories-api.md"], "routes_documented": 8, "routes_skipped": [], "warnings": [] } ``` This manifest will be consumed by the next pipeline stage (quality-checking).

What's inside
Steps it walks through
  1. Input
  2. Process
  3. Step 1: Read Source Code
  4. Step 2: Generate Documentation
  5. Step 3: Write Files
  6. Output
Ships with 1 file
  • templates/endpoint-doc.md
More from claude-code-engineering
All skills →
About this skill
What does the doc-writing skill do?

Generate API documentation from a route manifest. Use when you have a list of discovered routes and need to produce markdown documentation.

How do I install it?

Run `npx skills add huangjia2019/claude-code-engineering --skill doc-writing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From huangjia2019/claude-code-engineering, a repository with 1,040 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going