生成单个文档的详细内容,根据文档结构和用户意图生成包含导航、代码示例、技术图表的完整文档。 使用场景: - doc-smith 主流程调用,批量生成各文档内容 - 输入文档路径(与 document-structure.yaml 中的 path 对应) - 自动读取 workspace 配置(document-structure.yaml、user-intent.md、config.yaml) - 分析源代码并生成结构化内容 - 调用 saveDocument 保存,调用 checkContent 校验 - 返回摘要信息(不返回完整内容以节省上下文)
Install
npx skills add AIGNE-io/aigne-doc-smith --skill doc-smith-docs-detailnpx skills add AIGNE-io/aigne-doc-smith --skill doc-smith-docs-detail -a claude-code -gnpx skills add AIGNE-io/aigne-doc-smith --skill doc-smith-docs-detail -a codex -ggemini skills install https://github.com/AIGNE-io/aigne-doc-smith.git --path skills/doc-smith-docs-detailgh skill install AIGNE-io/aigne-doc-smith doc-smith-docs-detailgit 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-docs-detail ~/.claude/skills/doc-smith-docs-detail # Claude Code
cp -R /tmp/AIGNE-io__aigne-doc-smith/skills/doc-smith-docs-detail ~/.agents/skills/doc-smith-docs-detail # Codex, Cursor, Gemini CLI, Copilot, OpenCode