code-documentation
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects.
Skill by q2805187159
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/q2805187159-code-documentation
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
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-documentation- Description
- Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects. Supports README generation, API reference documentation, inline code comments, architecture documentation, changelog generation, and developer guides. Trigger on requests like "document this code", "create a README", "generate API docs", "write developer guide", or when analyzing codebases for documentation purposes.
- License
- MIT
- Instructions
- 412 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Code Documentation Skill ## Overview This skill generates professional, comprehensive documentation for software projects, codebases, libraries, and APIs. It follows industry best practices from projects like React, Django, Stripe, and Kubernetes to produce documentation that is accurate, well-structured, and useful for both new contributors and experienced developers. The output ranges from single-file READMEs to multi-document developer guides, always matched to the project's complexity and the user's needs. ## Core Capabilities - Generate comprehensive README.md files with badges, installation, usage, and API reference - Create API reference documentation from source code analysis - Produce architecture and design documentation with diagrams - Write developer onboarding and contribution guides - Generate changelogs from commit history or release notes - Create inline code documentation following language-specific conventions - Support JSDoc, docstrings, GoDoc, Javadoc, and Rustdoc formats - Adapt documentation style to the project's language and ecosystem ## When to Use This Skill **Always load this skill when:** - User asks to "document", "create docs", or "write documentation" for any code - User requests a README, API reference, or developer guide - User shares a codebase or repository and wants documentation generated - User asks to improve or update existing documentation - User needs architecture documentation, including diagrams - User requests a changelog or migration guide ## Documentation Workflow ### Phase 1: Codebase Analysis Before writing any documentation, thoroughly understand the codebase. #### Step 1.1: Project Discovery Identify the project fundamentals: | Field | How to Determine | |-------|-----------------| | **Language(s)** | Check file extensions, `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, etc. | | **Framework** | Look at dependencies for known frameworks (React, Django, Express, Spring, etc.) | | **Build System** | Check for `Makefile`, `CMakeLists.txt`, `webpack.config.js`, `build.gradle`, etc. | | **Package Manager** | npm/yarn/pnpm, pip/uv/poetry, cargo, go modules, etc. | | **Project Structure** | Map out the directory tree to understand the architecture | | **Entry Points** | Find main files, CLI entry points, exported modules | | **Existing Docs** | Check for existing README, docs/, wiki, or inline documentation | #### Step 1.2: Code Structure Analysis Use sandbox tools to explore the codebase: ```bash # Get directory structure ls /mnt/user-data/uploads/project-dir/ # Read key files read_file /mnt/user-data/uploads/project-dir/package.json read_file /mnt/user-data/uploads/project-dir/pyproject.toml # Search for public API surfaces grep -r "export " /mnt/user-data/uploads/project-dir/src/ grep -r "def " /mnt/user-data/uploads/project-dir/src/ --include="*.py" grep -r "func " /mnt/user-data/uploads/project-dir/ --include="*.go" ``` #### Step 1.3: Identify Documentation Scope Based on analysis, determine what documentation to produce: | Project Size | Recommended Documentation | |-------------|--------------------------| | **Single file / script** | Inline comments + usage header | | **Small library** | README with API reference | | **Medium project** | README + API docs + examples | | **Large project** | README + Architecture + API + Contributing + Changelog | ### Phase 2: Documentation Generation #### Step 2.1: README Generation Every project needs a README. Follow this structure: ```markdown # Project Name [One-line project description — what it does and why it matters] [](#) [](#) ## Features - [Key feature 1 — brief description] - [Key feature 2 — brief description] - [Key feature 3 — brief description] ## Quick Start ### Prerequisites - [Prerequisite 1 with version requirement] - [Prerequisite 2 with version requirement] ### Installation [Installation commands with copy-paste-ready code blocks] ### Basic Usage [Minimal working example that demonstrates core functionality] ## Documentation - [Link to full API reference if separate] - [Link to architecture docs if separate] - [Link to examples directory if applicable]
From q2805187159/Anvil, MIT.
More from q2805187159/Anvil
- 0.519score
bootstrap
q2805187159
Generate a personalized SOUL.md through a warm, adaptive onboarding conversation.
SkillCFreshness: C★ 3Claude Code +9 - 0.519score
claude-to-deerflow
q2805187159
Interact with DeerFlow AI agent platform via its HTTP API.
SkillCFreshness: C★ 3Claude Code +9 - 0.489score
canvas-design
q2805187159
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillCFreshness: C★ 3Claude Code +9 - 0.473score
demo-operator
q2805187159
Use this sample skill to verify plugin-provided skill roots.
SkillCFreshness: C★ 3Claude Code +9 - 0.274score
minimal-operator-skill
q2805187159
No description from the publisher yet.
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 24, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/q2805187159/Anvil
- 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.562score
code-documentation
jiel521125
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects.
SkillBFreshness: B★ 11Claude Code +9 - 0.300score
code-documentation
jiaqiang000
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects.
SkillBFreshness: BClaude Code +9 - 0.300score
code-documentation
Litshp
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects.
SkillBFreshness: BClaude Code +9 - 0.231score
code-documentation
yixinD777
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects.
SkillDFreshness: DClaude Code +9 - 0.231score
code-documentation
Zephyrsz
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects.
SkillDFreshness: DClaude Code +9
More from q2805187159
- 0.519score
bootstrap
q2805187159
Generate a personalized SOUL.md through a warm, adaptive onboarding conversation.
SkillCFreshness: C★ 3Claude Code +9 - 0.519score
claude-to-deerflow
q2805187159
Interact with DeerFlow AI agent platform via its HTTP API.
SkillCFreshness: C★ 3Claude Code +9 - 0.489score
canvas-design
q2805187159
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillCFreshness: C★ 3Claude Code +9 - 0.473score
demo-operator
q2805187159
Use this sample skill to verify plugin-provided skill roots.
SkillCFreshness: C★ 3Claude Code +9
Cite this page
code-documentation skill. Agent Mart. https://agentmart.dev/skills/q2805187159-code-documentation (last updated 2026-10-24)