with one click
ccw-help
// CCW command help system. Search, browse, recommend commands, skills, teams. Triggers "ccw-help", "ccw-issue".
// CCW command help system. Search, browse, recommend commands, skills, teams. Triggers "ccw-help", "ccw-issue".
Lightweight execution engine - multi-mode input, task grouping, batch execution, chain to workflow-lite-test-review
Lightweight planning skill - task analysis, multi-angle exploration, clarification, adaptive planning, confirmation, and execution handoff
Multi-CLI collaborative planning with codebase context gathering, iterative cross-verification, and execution handoff.
Interactive collaborative analysis with documented discussions, inline exploration, and evolving understanding.
Requirement planning to wave-based CSV execution pipeline. Decomposes requirement into dependency-sorted CSV tasks, computes execution waves, runs wave-by-wave via spawn_agents_on_csv with cross-wave context propagation.
Post-execution test review and fix - chain from workflow-lite-execute or standalone. Reviews implementation against plan, runs tests, auto-fixes failures.
| name | ccw-help |
| description | CCW command help system. Search, browse, recommend commands, skills, teams. Triggers "ccw-help", "ccw-issue". |
| allowed-tools | Read, Grep, Glob, AskUserQuestion |
| version | 8.0.0 |
CCW 命令帮助系统,提供命令搜索、推荐、文档查看、Skill/Team 浏览功能。
Triggers: "搜索命令", "find command", "search"
Process:
command.json commands arrayTriggers: "下一步", "what's next", "推荐"
Process:
flow.next_steps in command.jsonTriggers: "怎么用", "how to use", "详情"
Process:
command.jsonsource pathTriggers: "新手", "getting started", "常用命令"
Process:
essential_commands arrayTriggers: "ccw ", "自动工作流", "自动选择工作流", "帮我规划"
Process:
Supported Workflows (参考 ccw.md):
brainstorm-with-file: Multi-perspective ideation → workflow-plan → workflow-executedebug-with-file: Hypothesis-driven debugging (standalone)analyze-with-file: Collaborative analysis → workflow-lite-plancollaborative-plan-with-file: Multi-agent planning → unified-executeroadmap-with-file: Strategic requirement roadmap → team-planexTriggers: "ccw-issue", "报告 bug"
Process:
Triggers: "skill", "team", "技能", "团队", "有哪些 skill", "team 怎么用"
Process:
command.json skills arraySingle source of truth: command.json
| Field | Purpose |
|---|---|
commands[] | Flat command list with metadata |
commands[].flow | Relationships (next_steps, prerequisites) |
agents[] | Agent directory |
skills[] | Skill directory with categories |
skills[].is_team | Whether skill uses team architecture |
essential_commands[] | Core commands list |
source 字段是相对路径(从 skills/ccw-help/ 目录):
{
"name": "lite-plan",
"source": "../../../commands/workflow/lite-plan.md"
}
| Skill | 内部流水线 | 触发词 |
|---|---|---|
workflow-lite-plan | explore → plan → confirm → execute | "lite-plan", 快速任务 |
workflow-plan | session → context → convention → gen → verify | "workflow-plan", 正式规划 |
workflow-execute | session discovery → task processing → commit | "workflow-execute", 执行 |
workflow-tdd-plan | 6-phase TDD plan → verify | "tdd-plan", TDD 开发 |
workflow-test-fix | session → context → analysis → gen → cycle | "test-fix", 测试修复 |
workflow-multi-cli-plan | ACE context → CLI discussion → plan → execute | "multi-cli", 多CLI协作 |
workflow-skill-designer | Meta-skill for designing workflow skills | "skill-designer" |
Team Skills 使用 team-worker agent 架构,Coordinator 编排流水线,Workers 是加载了 role-spec 的 team-worker agents。
| Skill | 用途 | 架构 |
|---|---|---|
team-planex | 规划+执行 wave pipeline | planner + executor, 适合清晰 issue/roadmap |
team-lifecycle | 完整生命周期 (spec/impl/test) | team-worker agents with role-specs |
team-lifecycle-v4 | 优化版生命周期 | Optimized pipeline |
team-lifecycle-v3 | 基础版生命周期 | All roles invoke unified skill |
team-coordinate | 通用动态团队协调 | 运行时动态生成 role-specs |
team-coordinate | 通用团队协调 v1 | Dynamic role generation |
team-brainstorm | 团队头脑风暴 | Multi-perspective analysis |
team-frontend | 前端开发团队 | Frontend specialists |
team-issue | Issue 解决团队 | Issue resolution pipeline |
team-iterdev | 迭代开发团队 | Iterative development |
team-review | 代码扫描/漏洞审查 | Scanning + vulnerability review |
team-roadmap-dev | Roadmap 驱动开发 | Requirement → implementation |
team-tech-debt | 技术债务清理 | Debt identification + cleanup |
team-testing | 测试团队 | Test planning + execution |
team-quality-assurance | QA 团队 | Quality assurance pipeline |
team-uidesign | UI 设计团队 | Design system + prototyping |
team-ultra-analyze | 深度协作分析 | Deep collaborative analysis |
team-executor | 轻量执行 (恢复会话) | Resume existing sessions |
team-executor | 轻量执行 v2 | Improved session resumption |
| Skill | 用途 |
|---|---|
brainstorm | 双模头脑风暴 (auto pipeline / single role) |
review-code | 多维度代码审查 |
review-cycle | 审查+自动修复编排 |
spec-generator | 6阶段规格文档链 (product-brief → PRD → architecture → epics) |
issue-manage | 交互式 Issue 管理 (CRUD) |
memory-capture | 统一记忆捕获 (session compact / quick tip) |
memory-manage | 统一记忆管理 (CLAUDE.md + documentation) |
command-generator | 命令文件生成器 |
skill-generator | Meta-skill: 创建新 Skill |
skill-tuning | Skill 诊断与优化 |
CCW 根据任务意图自动选择工作流级别(参考 ccw.md):
| 输入示例 | 类型 | 级别 | 流水线 |
|---|---|---|---|
| "Add API endpoint" | feature (low) | 2 | workflow-lite-plan → workflow-test-fix |
| "Fix login timeout" | bugfix | 2 | workflow-lite-plan → workflow-test-fix |
| "协作分析: 认证架构" | analyze-file | 3 | analyze-with-file → workflow-lite-plan |
| "重构 auth 模块" | refactor | 3 | workflow:refactor-cycle |
| "multi-cli: API设计" | multi-cli | 3 | workflow-multi-cli-plan → workflow-test-fix |
| "头脑风暴: 通知系统" | brainstorm | 4 | brainstorm-with-file → workflow-plan → workflow-execute |
| "roadmap: OAuth + 2FA" | roadmap | 4 | roadmap-with-file → team-planex |
| "specification: 用户系统" | spec-driven | 4 | spec-generator → workflow-plan → workflow-execute |
| "team planex: 用户系统" | team-planex | Team | team-planex |
/ccw "task description" # Auto-select workflow and execute
/ccw-help # General help entry
/ccw-help search <keyword> # Search commands
/ccw-help next <command> # Get next step suggestions
/ccw-help skills # Browse skill catalog
/ccw-help teams # Browse team skills
/ccw-issue # Issue reporting
/ccw "Add user authentication" # → auto-select level 2-3
/ccw "Fix memory leak in WebSocket" # → auto-select bugfix workflow
/ccw "Implement with TDD" # → detect TDD, use tdd-plan → execute → tdd-verify
/ccw "头脑风暴: 用户通知系统" # → detect brainstorm, use brainstorm-with-file
/ccw "深度调试: 系统随机崩溃" # → detect debug-file, use debug-with-file
/ccw "协作分析: 认证架构设计" # → detect analyze-file, use analyze-with-file
/ccw "roadmap: OAuth + 2FA 路线图" # → roadmap-with-file → team-planex
/ccw "集成测试: 支付流程" # → integration-test-cycle
/ccw "重构 auth 模块" # → refactor-cycle
CCW-Help skill supports manual updates through user confirmation dialog.
Script scans commands/, agents/, and skills/ directories to regenerate all indexes.
Option 1: When executing the skill, user will be prompted:
Would you like to update CCW-Help command index?
- Yes: Run auto-update and regenerate command.json
- No: Use current index
Option 2: Manual update
cd D:/Claude_dms3/.claude/skills/ccw-help
python scripts/auto-update.py
This runs analyze_commands.py to scan commands/, agents/, and skills/ directories and regenerate command.json + all index files.
auto-update.py: Simple wrapper that runs analyze_commands.pyanalyze_commands.py: Scans directories and generates command/agent/skill indexes| File | Content |
|---|---|
command.json | Master index: commands + agents + skills |
index/all-commands.json | Flat command list |
index/all-agents.json | Agent directory |
index/all-skills.json | Skill directory with metadata |
index/skills-by-category.json | Skills grouped by category |
index/by-category.json | Commands by category |
index/by-use-case.json | Commands by usage scenario |
index/essential-commands.json | Core commands for onboarding |
index/command-relationships.json | Command flow relationships |
智能整合,非模板复制