How this command is triggered — by the user, by Claude, or both
Slash command
/devhelper:gendocThe summary Claude sees in its command listing — used to decide when to auto-load this command
# 文档生成命令 请为指定的代码文件或模块生成完整的技术文档。 ## 文档内容 1. **概述** - 模块/类的用途 - 主要功能 - 使用场景 2. **API 文档** - 函数/方法签名 - 参数说明 - 返回值说明 - 使用示例 3. **架构说明** - 设计思路 - 依赖关系 - 流程图(用 Mermaid 语法) 4. **使用指南** - 安装步骤 - 快速开始 - 常见问题 ## 输出格式 生成标准的 Markdown 文档,包含: - 目录结构 - 代码示例 - 图表说明
请为指定的代码文件或模块生成完整的技术文档。
概述
API 文档
架构说明
使用指南
生成标准的 Markdown 文档,包含:
npx claudepluginhub panw3i/claude-plugins --plugin devhelper/generate-documentationGenerates or rewrites technical documentation for a file or folder, creating README.md, architecture docs, and Mermaid diagrams.
/doc-generateGenerates API docs with OpenAPI specs, architecture diagrams, READMEs, user guides, and CI/CD automation from codebase analysis.
/sc-documentGenerates focused documentation for components, functions, APIs, and features. Supports inline, external, API reference, or guide types with brief or detailed styles.
/documentGenerates focused documentation for components, functions, APIs, and features. Accepts [target] path with optional --type (inline|external|api|guide) and --style (brief|detailed).
/documentation-generatorGenerates clear markdown documentation for code functions with examples, API endpoints with schemas, and projects including setup and troubleshooting.
/docsGenerates structured Markdown documentation for a specified code scope, including API reference, code overview, user manual, developer handbook, and appendices.