Skip to content
AI & Agents
Skill

/doc-writer

Generate README, API docs, or user guides for code and projects. Use when writing documentation, creating a README, documenting an API, or explaining how code works for others.

BOOST
From plugin
claude-desktop-cn
2676 skills
Install
$ npx -y skills add Qiao-920/claude-desktop-cn --skill doc-writer --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/doc-writer

Context preview

The summary Claude sees to decide when to auto-load this skill.

Generate README, API docs, or user guides for code and projects. Use when writing documentation, creating a README, documenting an API, or explaining how code works for others.

SKILL.md

doc-writer.SKILL.md
name: doc-writer
description: Generate README, API docs, or user guides for code and projects. Use when writing documentation, creating a README, documenting an API, or explaining how code works for others.

Doc Writer: Generate Documentation

Create clear, well-structured documentation for the specified code, project, or topic.

Process

Step 1: Understand the Target

  • If a file/project path is given, read the code first using Read/Glob tools
  • Identify the audience (developers, end users, API consumers)
  • Understand the scope (single function, module, full project)

Step 2: Generate Documentation

Choose the appropriate format:

**For a Project (README)**

  • Project name and one-line description
  • Features list
  • Quick start / installation instructions
  • Usage examples with code blocks
  • Configuration options (if any)
  • License info

**For an API / Module**

  • Overview of what it does
  • Function/method signatures with parameter descriptions
  • Return values and error cases
  • Usage examples for common scenarios
  • Edge cases or important notes

**For a User Guide**

  • Step-by-step instructions
  • Common workflows
  • FAQ / troubleshooting section

Writing Style

  • Lead with the most important information
  • Use code examples liberally — show, don't just tell
  • Keep sentences short and scannable
  • Use tables for parameter/option lists
  • Use admonitions (Note, Warning, Tip) sparingly but effectively
  • Write in the user's language (match their input language)
Read more
Ships withclaude-desktop-cn

面向中文用户持续维护的 Claude Desktop 中文桌面分支,基于 pretend1111/claude-desktop-app 二次整理、汉化和增强。 这个分支的目标不是简单换皮,而是把原本零散、半占位的能力逐步打磨成一套可维护、可发布、可日用的桌面工作流:中文聊天、项目上下文、GitHub 导入、本地 Code 工作区、权限守卫、命令执行和 Artifact 预览。

Get the whole plugin

Other skills on claude-desktop-cn.