academic-paper-review
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
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
Claude Code
$ npx -y skills add bytedance/deer-flow --skill code-documentation --agent claude-code
Codex
$ npx skills add bytedance/deer-flow --skill code-documentation -a codex -y
Cursor
$ npx skills add bytedance/deer-flow --skill code-documentation -a cursor -y
Gemini CLI
$ npx skills add bytedance/deer-flow --skill code-documentation -a gemini-cli -y
GitHub Copilot
$ npx skills add bytedance/deer-flow --skill code-documentation -a github-copilot -y
OpenCode
$ npx skills add bytedance/deer-flow --skill code-documentation -a opencode -y
Windsurf
$ npx skills add bytedance/deer-flow --skill code-documentation -a windsurf -y
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.
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.
**Always load this skill when:**
Before writing any documentation, thoroughly understand the codebase.
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 |
Use sandbox tools to explore the codebase:
# 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"
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 |
Every project needs a README. Follow this structure:
# 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] ## API Reference [Inline API reference for smaller projects OR link to generated docs] ## Configuration [Environment variables, config files, or runtime options] ## Examples [2-3 practical examples covering common use cases] ## Development ### Setup [How to set up a development environment] ### Testing [How to run tests] ### Building [How to build the project] ## Contributing [Contribution guidelines or link to CONTRIBUTING.md] ## License [License information]
For each public API surface, document:
**Function / Method Documentation**:
### `functionName(param1, param2, options?)`
Brief description of what this function does.
**Parameters:**
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `param1` | `string` | Yes | — | Description of param1 |
| `param2` | `number` | Yes | — | Description of param2 |
| `options` | `Object` | No | `{}` | Configuration options |
| `options.timeout` | `number` | No | `5000` | Timeout in milliseconds |
**Returns:** `Promise<Result>` — Description of return value
**Throws:**
- `ValidationError` — When param1 is empty
- `TimeoutError` — When the operation exceeds the timeout
**ExampAn open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message gateway, it handles different levels of tasks that could take minutes to hours.
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up,…
This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26…
Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to…
Use this skill when the user requests to generate, create, or write professional research reports including but not limited to…
Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…