ccw-help
npx skills add https://github.com/catlog22/claude-code-workflow --skill ccw-help
Agent 安装分布
Skill 文档
CCW-Help Skill
CCW å½ä»¤å¸®å©ç³»ç»ï¼æä¾å½ä»¤æç´¢ãæ¨èãææ¡£æ¥çåè½ã
Trigger Conditions
- å ³é®è¯: “ccw-help”, “ccw-issue”, “帮婔, “å½ä»¤”, “æä¹ç¨”, “ccw æä¹ç¨”, “工使µ”
- åºæ¯: 询é®å½ä»¤ç¨æ³ãæç´¢å½ä»¤ã请æ±ä¸ä¸æ¥å»ºè®®ã询é®ä»»å¡åºè¯¥ç¨åªä¸ªå·¥ä½æµ
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: CCW Command Orchestration
Triggers: “ccw “, “èªå¨å·¥ä½æµ”, “èªå¨éæ©å·¥ä½æµ”, “帮æè§å”
Process:
- Analyze user intent (task type, complexity, clarity)
- Auto-select workflow level (1-4 or Issue)
- Build command chain based on workflow
- Get user confirmation
- Execute chain with TODO tracking
Supported Workflows:
- Level 1 (Lite-Lite-Lite): Ultra-simple quick tasks
- Level 2 (Rapid/Hotfix): Bug fixes, simple features, documentation
- Level 2.5 (Rapid-to-Issue): Bridge from quick planning to issue workflow
- Level 3 (Coupled): Complex features with planning, execution, review, tests
- Level 3 Variants:
- TDD workflows (test-first development)
- Test-fix workflows (debug failing tests)
- Review workflows (code review and fixes)
- UI design workflows
- Level 4 (Full): Exploratory tasks with brainstorming
- With-File Workflows: Documented exploration with multi-CLI collaboration
brainstorm-with-file: Multi-perspective ideationdebug-with-file: Hypothesis-driven debugginganalyze-with-file: Collaborative analysis
- Issue Workflow: Batch issue discovery, planning, queueing, execution
Mode 6: 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 "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-issue # Issue reporting
CCW Command Examples
/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
Maintenance
Update Mechanism
CCW-Help skill supports manual updates through user confirmation dialog.
How to Update
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/ and agents/ directories and regenerate command.json.
Update Scripts
auto-update.py: Simple wrapper that runs analyze_commands.pyanalyze_commands.py: Scans directories and generates command index
Statistics
- Commands: 50+
- Agents: 16
- Workflows: 6 main levels + 3 with-file variants
- Essential: 10 core commands
Core Principle
æºè½æ´åï¼é模æ¿å¤å¶
- çè§£ç¨æ·å ·ä½æ åµ
- æ´åå¤ä¸ªæ¥æºä¿¡æ¯
- å®å¶ç¤ºä¾å说æ