📚
WritingPython

Chinese Documentation Generator

by laolaoshiren

Chinese Documentation Generator is a Writing skill for Claude Code, published by laolaoshiren in claude-code-skills-zh.

786 stars84 forkson laolaoshiren/claude-code-skills-zhAdded 2026/08/23+1% in starsRepository updated 2026/08/23
ai-agentawesome-listclaude-codeclaude-skillsdeveloper-toolsprompt-engineeringskills
Install in seconds
Install Chinese Documentation Generator
Copy Chinese Documentation Generator into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/zh-docgen ~/.claude/skills/zh-docgen

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/laolaoshiren/claude-code-skills-zh.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/zh-docgen/SKILL.md in laolaoshiren/claude-code-skills-zh
Installs to
~/.claude/skills/zh-docgen
Collection
One of 20 skills cataloged from this repository
Category
Writing1012 skills

What Chinese Documentation Generator does

Chinese Documentation Generator creates Chinese technical documentation from a codebase, including project overviews, quick start guides, API references, examples, and FAQs. Use it when you need Markdown docs for a project or API.

Chinese Documentation Generator is cataloged under Writing on DirSkills. Chinese Documentation Generator comes from a repository tagged ai-agent, awesome-list, claude-code, claude-skills and developer-tools.

Documentation

README

中文文档生成器

触发条件

当用户要求生成文档、写技术文档、生成 API 文档、项目说明时激活此技能。

工作流程

  1. 扫描项目结构 — 识别项目类型(Web 应用/CLI 工具/库/服务)
  2. 分析代码 — 提取模块、函数、类、接口的签名和注释
  3. 生成文档 — 输出以下文档:

生成内容

  • 项目概述 — 中文简介、技术栈、架构图(Mermaid)
  • 快速开始 — 安装、配置、运行步骤
  • API 参考 — 自动生成的接口文档
  • 使用示例 — 常见场景的代码示例
  • 常见问题 — FAQ 部分

输出格式

生成一个或多个 Markdown 文件,中文为主,技术术语保留英文。

技巧

  • 优先读取已有 README、package.json、pyproject.toml 获取项目元信息
  • 分析 import/require 语句推断依赖关系
  • 从 docstring/JSDoc 提取已有文档

Frequently asked about Chinese Documentation Generator

  • What else does laolaoshiren publish alongside Chinese Documentation Generator?

    Chinese Documentation Generator is one of 20 skills that DirSkills catalogs from laolaoshiren/claude-code-skills-zh, the repository it ships in. Its siblings there include API Tester, Changelog Generator and Chinese Code Reviewer. Each one is a separate skill with its own page in this directory, installs the same way Chinese Documentation Generator does, and is maintained by laolaoshiren in that same repository. The rest of the collection is listed on the laolaoshiren/claude-code-skills-zh page.

  • How does Chinese Documentation Generator compare to other Writing skills?

    Chinese Documentation Generator ranks #563 by stars among the 1012 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Chinese Documentation Generator against them. Open each page to compare what they document and how they install.

More from laolaoshiren/claude-code-skills-zh

Chinese Documentation Generator is one of 20 skills cataloged on DirSkills from laolaoshiren/claude-code-skills-zh.

See all 20 skills