技术文档41k · #6525
document
它能做什么
这个技能引导 AI 编写和更新软件文档。适合需要为代码或产品提供清楚、准确文档的开发者和项目负责人。
适用场景
- ✓当项目需要新的或更新的 README 或用户指南的时候。
- ✓当 API 文档或架构说明需要与当前代码保持一致的时候。
- ✓当你想让人编写迁移说明或变更日志文本的时候。
技能链接
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/document/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/document/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add codewhale-hq/Codewhale --skill document
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/codewhale-hq/Codewhale/main/crates/skills/assets/skills/document/SKILL.md -o SKILL.md
可以这样问 AI
“请更新 README,说明如何用当前命令安装和运行这个项目?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会判断文档的读者对象,更新已有页面而不是创建副本,检查命令和路径,并注明任何无法确认的内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Document
When to use
Use for repo/product docs: README, guides, API docs, architecture, migrations, changelog notes.
Non-goals
- Not Word/DOCX authoring (use docx).
- Not release publication (use release only when explicit).
Workflow
- Identify the doc audience and location.
- Prefer updating existing docs over creating duplicates.
- Keep commands and paths verified.
- Call out unknowns instead of inventing them.
常见问题
它会创建重复的文档吗?
不会。技能要求优先更新已有文档,而不是创建重复文档。
它会编造无法确认的细节吗?
不会。技能要求指出未知之处,而不是凭空编造。
这是用于 Word 文件的吗?
不是。技能用于代码仓库和产品文档,而不是创建 Word 文档。
详情
作者的原始描述
Write or update repository/product documentation: README, user guides, API docs, architecture, migration notes, and changelog material. This is not the Word-document artifact skill.
repo: codewhale-hq/Codewhale
热度
- GitHub 星标
- 41k
- 排名
- #6525
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …