bytedance avatar

Code Documentation

This does the heavy lifting when you need to turn code into actual documentation. It analyzes your codebase first (checking package files, directory structure, entry points) before generating anything, which means you get READMEs that match your project's actual setup rather than generic templates. It covers the full range: inline comments following language conventions, API references with proper parameter tables, architecture docs with Mermaid diagrams, and contribution guides. The workflow is thorough, maybe even a bit formal, but that's the point. If you've ever stared at an undocumented repo wondering where to start, or needed to generate API docs that don't look like an afterthought, this handles it systematically.

skills.sh installs
1.9K
GitHub stars
85.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/bytedance/deer-flow
Categories
Backend & APIs, Git & Pull Requests, Documentation, Code Review & Quality, Release Management
First seen
Jun 3, 2026

More from bytedance/deer-flow

All 21
1p4nda0s avatarrev-idapythonp4nda0s/reverse-skillsIDAPython and IDALib script reference for reverse engineering. Activate when the user needs to write IDAPython scripts in IDA, use IDALib for headless analysis,1.9Kskills.sh installs
2nvidia avatarcupynumeric-migration-readinessnvidia/skillsPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU,1.9Kskills.sh installs
3mcollina avatardocumentationmcollina/skillsCreates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when1.9Kskills.sh installs
4daymade avatartranscript-fixerdaymade/claude-code-skillsCorrects speech-to-text transcription errors using dictionary rules and Claude's built-in AI (no external API key required — Native AI Correction is the DEFAULT1.9Kskills.sh installs
5abhigyanpatwari avatargitnexus-exploringabhigyanpatwari/gitnexusUse when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase. Examples: "How does1.9Kskills.sh installs
6cognitedata avatarcorrectness-and-error-handlingcognitedata/builder-skillsMUST be used whenever fixing correctness and error handling issues in a Flows app. This skill finds AND fixes bugs, missing error states, unhandled rejections, 1.9Kskills.sh installs