Skip to content
bytedance avatar

Code Documentation

Comprehensive, structured documentation generation for READMEs, API references, architecture docs, changelogs, and inline code comments across languages.

CCM score
70 of 100
skills.sh installs
2K
GitHub stars
85.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers codebase analysis, README and API reference generation, architecture documentation with Mermaid diagrams, and developer guides
  • Includes templates for README structure, function and class reference tables, and language-specific inline docs such as Google-style Python docstrings
  • Supports JSDoc, docstrings, GoDoc, Javadoc, and Rustdoc, and scopes output to project size from single scripts to large repositories
  • Designed for requests like "document this code", "create a README", or "generate API docs" on any codebase or repository

Install

$ npx -y skills add bytedance/deer-flow --skill code-documentation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

Details

Repository
github.com/bytedance/deer-flow
Categories
Technical Documentation, Writing & Content
First seen
Jun 3, 2026

Questions

What does the code-documentation skill do?

The code-documentation skill generates README files, API reference docs, inline code comments, architecture documentation, changelogs and developer guides for code, libraries and repositories. It is triggered by requests such as document this code, create a README or generate API docs. It also supports JSDoc, docstrings, GoDoc, Javadoc and Rustdoc formats.

How do I install the code-documentation skill?

Run npx -y skills add bytedance/deer-flow --skill code-documentation -y in your project. Once installed, the agent can analyze your codebase and produce documentation matched to its size and language.

Which skills lead the Technical Documentation category?

The code-documentation skill sits in the Technical Documentation category alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. Its scope covers README generation, API references and inline code comments across several language doc formats.

Does code-documentation work with the DeerFlow repository?

The skill comes from the bytedance/deer-flow GitHub repository, which describes DeerFlow as an open-source super agent harness. The skill itself works on any codebase the agent can read, so it is not limited to DeerFlow projects.

More from bytedance/deer-flow

All 18

Similar to Code Documentation

More Technical Documentation