从工作区数据源生成和更新全面的文档,包括代码仓库、文本文件和媒体资源。当用户请求以下操作时使用此技能:(1) 从代码或文件创建或生成文档,(2) 构建文档结构或文档详情,(3) 更新、修改或改进已有文档,(4) 重写文档的特定章节或段落,(5) 处理 changeset 文件或 PATCH 标记的修改请求。支持技术文档、用户指南、API 参考和一般文档需求的生成与维护。
安装
npx skills add AIGNE-io/aigne-doc-smith --skill doc-smithnpx skills add AIGNE-io/aigne-doc-smith --skill doc-smith -a claude-code -gnpx skills add AIGNE-io/aigne-doc-smith --skill doc-smith -a codex -ggemini skills install https://github.com/AIGNE-io/aigne-doc-smith.git --path skills/doc-smithgh skill install AIGNE-io/aigne-doc-smith doc-smithgit clone --depth 1 https://github.com/AIGNE-io/aigne-doc-smith /tmp/AIGNE-io__aigne-doc-smith
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/AIGNE-io__aigne-doc-smith/skills/doc-smith ~/.claude/skills/doc-smith # Claude Code
cp -R /tmp/AIGNE-io__aigne-doc-smith/skills/doc-smith ~/.agents/skills/doc-smith # Codex, Cursor, Gemini CLI, Copilot, OpenCode