Stats
Actions
Tags
From diwu-workflow
产品文档工具——正向(需求→文档)或逆向(代码→文档)两种模式。触发场景:(1) 为已有产品还原/补全文档,(2) 为新功能/模块编写产品文档,(3) 用户说"写文档"、"还原文档"、"doc"、"产品文档"
How this skill is triggered — by the user, by Claude, or both
Slash command
/diwu-workflow:ddocThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**首次使用**:
首次使用:
快速查询:
先检查关键词自动设置模式:
reverse、逆向、还原文档、从代码 → 逆向模式forward、正向、写文档、从需求 → 正向模式未匹配时,询问用户以下问题(上下文已明确的跳过):
[待确认],不编造skills/ddoc/
├── SKILL.md # 本文件:入口 + 阅读顺序
├── CONTEXT.md # 命令用途、适用场景、两种模式概述
├── quick.md # 快速执行规则、核心步骤、常见问题
└── references/
├── INDEX.md # 任务到文档的路由表
├── forward-mode.md # 正向模式详细步骤(六步设计法)
├── reverse-mode.md # 逆向模式详细步骤(AI1+AI2+逆向Spec)
├── constraints.md # 五约束维度详解
├── completeness.md # 两层完整性检查详解
├── output-structure.md # 输出结构(领域驱动 vs 分层)
└── templates.md # 提示词模板、文档模板、反模式速查
npx claudepluginhub ssdiwu/diwu-workflow --plugin diwu-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.