Agent skill · Backend & API

code-documentation

Generate docs: README, API reference, architecture, guides.

HezaoHezaogithub.com/HezaoHezaoGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add HezaoHezao/poirot --skill code-documentation --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Declared author: Adapted from deer-flow (Bytedance, MIT)
Allowed tools: -bash-read_file-write_file-list_dir
Path: poirot/backend/agents/skill/builtin_skills/productivity/code-documentation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 139
Language: Python

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

From the SKILL.md

# Code Documentation ## Overview Generate professional, comprehensive documentation for software projects, codebases, libraries, and APIs. Follows best practices from React, Django, Stripe, Kubernetes to produce accurate, well-structured docs. ## When to Use - User asks to "document", "create docs", or "write documentation" for code - User requests a README, API reference, or developer guide - User shares a codebase and wants documentation generated - User asks to improve or update existing documentation - User needs architecture documentation with diagrams - User requests a changelog or migration guide ## Workflow ### Phase 1: Codebase Analysis #### Step 1.1: Project Discovery | Field | How to Determine | |-------|-----------------| | **Language(s)** | File extensions, `package.json`, `pyproject.toml`, `go.mod` | | **Framework** | Dependencies (React, Django, Express, Spring) | | **Build System** | `Makefile`, `CMakeLists.txt`, `webpack.config.js` | | **Package Manager** | npm/yarn/pnpm, pip/uv/poetry, cargo | | **Project Structure** | Map directory tree | | **Entry Points** | main files, CLI entry points, exported modules | | **Existing Docs** | README, docs/, wiki, inline docs |

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Workflow
  4. Phase 1: Codebase Analysis
  5. Phase 2: Documentation Generation
  6. Phase 3: Review
  7. Documentation Conventions by Language
  8. Changelog Generation
  9. Pitfalls
Commands it runs
Discover project structure
Read key files
Find all source files
Find entry points
Find API routes/endpoints
Find exported modules
Find classes (for API reference)
From git log
Generate changelog from commits
More from poirot
All skills →
About this skill
What does the code-documentation skill do?

Generate docs: README, API reference, architecture, guides.

How do I install it?

Run `npx skills add HezaoHezao/poirot --skill code-documentation --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 HezaoHezao/poirot, a repository with 139 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