mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Introduced command.json for CCW-Help with 88 commands and 16 agents, covering essential workflows and memory management. - Created command.json for CCW with comprehensive capabilities for exploration, planning, execution, bug fixing, testing, reviewing, and documentation. - Defined complex flows for rapid iteration, full exploration, coupled planning, bug fixing, issue lifecycle management, and more. - Implemented intent rules for bug fixing, issue batch processing, exploration, UI design, TDD, review, and documentation. - Established CLI tools and injection rules to enhance command execution based on context and complexity.
2.6 KiB
2.6 KiB
name, description, allowed-tools, version
| name | description | allowed-tools | version |
|---|---|---|---|
| ccw-help | CCW command help system. Search, browse, recommend commands. Triggers "ccw-help", "ccw-issue". | Read, Grep, Glob, AskUserQuestion | 7.0.0 |
CCW-Help Skill
CCW 命令帮助系统,提供命令搜索、推荐、文档查看功能。
Trigger Conditions
- 关键词: "ccw-help", "ccw-issue", "帮助", "命令", "怎么用"
- 场景: 询问命令用法、搜索命令、请求下一步建议
Operation Modes
Mode 1: Command Search
Triggers: "搜索命令", "find command", "search"
Process:
- Query
command.jsoncommands array - Filter by name, description, category
- Present top 3-5 relevant commands
Mode 2: Smart Recommendations
Triggers: "下一步", "what's next", "推荐"
Process:
- Query command's
flow.next_stepsincommand.json - Explain WHY each recommendation fits
Mode 3: Documentation
Triggers: "怎么用", "how to use", "详情"
Process:
- Locate command in
command.json - Read source file via
sourcepath - Provide context-specific examples
Mode 4: Beginner Onboarding
Triggers: "新手", "getting started", "常用命令"
Process:
- Query
essential_commandsarray - Guide appropriate workflow entry point
Mode 5: Issue Reporting
Triggers: "ccw-issue", "报告 bug"
Process:
- Use AskUserQuestion to gather context
- Generate structured issue template
Data Source
Single source of truth: command.json
| Field | Purpose |
|---|---|
commands[] |
Flat command list with metadata |
commands[].flow |
Relationships (next_steps, prerequisites) |
commands[].essential |
Essential flag for onboarding |
agents[] |
Agent directory |
essential_commands[] |
Core commands list |
Source Path Format
source 字段是相对路径(从 skills/ccw-help/ 目录):
{
"name": "lite-plan",
"source": "../../../commands/workflow/lite-plan.md"
}
Slash Commands
/ccw-help # 通用帮助入口
/ccw-help search <keyword> # 搜索命令
/ccw-help next <command> # 获取下一步建议
/ccw-issue # 问题报告
Maintenance
Update Index
cd D:/Claude_dms3/.claude/skills/ccw-help
python scripts/analyze_commands.py
脚本功能:扫描 commands/ 和 agents/ 目录,生成统一的 command.json
Statistics
- Commands: 88+
- Agents: 16
- Essential: 10 核心命令
Core Principle
智能整合,非模板复制
- 理解用户具体情况
- 整合多个来源信息
- 定制示例和说明