Skip to content

Skills Library

Complete reference for all 33 CCW built-in skills across 3 categories, plus custom skill development.

What are Skills?

Skills are reusable, domain-specific capabilities that CCW can execute. Each skill is designed for a specific development task or workflow, and can be combined into powerful workflow chains.

Categories Overview

CategoryCountDescription
Standalone12Single-purpose skills for specific tasks
Team14Multi-agent collaborative skills
Workflow7Planning and execution pipeline skills

Quick Reference

Standalone Skills

SkillTriggersDescription
brainstormbrainstorm, 头脑风暴Unified brainstorming with dual-mode operation
ccw-helpccw-help, ccw-issueCommand help system
memory-capturememory capture, compact sessionSession compact or quick tips
memory-managememory manage, update claude, 更新记忆CLAUDE.md updates and docs generation
issue-managemanage issue, list issuesInteractive issue management
review-codereview code, code review6-dimensional code review
review-cycleworkflow:review-cycleReview with automated fix
skill-generatorcreate skill, new skillMeta-skill for creating skills
skill-tuningskill tuning, tune skillSkill diagnosis and optimization
spec-generatorgenerate spec, create specification, spec generator6-phase specification generation
software-manualsoftware manual, user guideInteractive HTML documentation
command-generatorgenerate commandCommand file generation

Team Skills

SkillTriggersRolesDescription
team-lifecycle-v4team lifecycle8Full spec/impl/test lifecycle
team-brainstormteam brainstorm5Multi-angle ideation
team-frontendteam frontend6Frontend development with UI/UX
team-issueteam issue6Issue resolution pipeline
team-iterdevteam iterdev5Generator-critic loop
team-planexteam planex3Plan-and-execute pipeline
team-quality-assuranceteam qa, team quality-assurance6QA testing workflow
team-reviewteam-review4Code scanning and fix
team-roadmap-devteam roadmap-dev4Roadmap-driven development
team-tech-debttech debt cleanup, 技术债务6Tech debt identification
team-testingteam testing5Progressive test coverage
team-uidesignteam uidesign4UI design with tokens
team-ultra-analyzeteam ultra-analyze, team analyze5Deep collaborative analysis

Workflow Skills

SkillTriggersDescription
workflow-planworkflow-plan, workflow-plan-verify, workflow:replan4-phase planning with verification
workflow-lite-planworkflow-lite-planLightweight planning
workflow-multi-cli-planworkflow-multi-cli-plan, workflow:multi-cli-planMulti-CLI collaborative planning
workflow-executeworkflow-executeTask execution coordination
workflow-tdd-planworkflow-tdd-planTDD with Red-Green-Refactor
workflow-test-fixworkflow-test-fix, test fix workflowTest-fix pipeline
workflow-skill-designerdesign workflow skill, create workflow skillMeta-skill for workflow creation

Workflow Combinations

Skills can be combined for powerful workflows. See Workflow Combinations for 15 pre-defined combinations.

Full Lifecycle Development

bash
Skill(skill="brainstorm")
Skill(skill="workflow-plan")
Skill(skill="workflow-execute")
Skill(skill="review-cycle")

Quick Iteration

bash
Skill(skill="workflow-lite-plan")
Skill(skill="workflow-execute")

Test-Driven Development

bash
Skill(skill="workflow-tdd-plan", args="--mode tdd-plan")
Skill(skill="workflow-execute")
Skill(skill="workflow-tdd-plan", args="--mode tdd-verify")

Using Skills

Use /ccw command with natural language - CCW analyzes intent and auto-selects appropriate skill:

bash
# CCW auto-routes to brainstorm skill
/ccw "头脑风暴: 用户通知系统设计"

# CCW auto-routes to team lifecycle workflow
/ccw "从零开始: 用户认证系统"

# CCW auto-routes to review cycle
/ccw "review: 代码质量检查"

Direct Skill Invocation

Use Skill() tool for direct skill calls:

javascript
// Basic usage
Skill(skill="brainstorm")

// With arguments
Skill(skill="team-lifecycle-v4", args="Build user authentication")

// With mode selection
Skill(skill="workflow-plan", args="--mode verify")

CCW Team CLI (Message Bus Only)

ccw team is only for team message bus operations, not for invoking team skills:

bash
# Message bus operations
ccw team log --session-id TLS-xxx --from executor --type state_update
ccw team list --session-id TLS-xxx --last 5
ccw team status --session-id TLS-xxx

Custom Skills

Create your own skills for team-specific workflows:

Skill Structure

~/.claude/skills/my-skill/
├── SKILL.md          # Skill definition
├── phases/           # Phase files (optional)
│   ├── phase-1.md
│   └── phase-2.md
└── templates/        # Output templates (optional)
    └── output.md

Skill Template

markdown
---
name: my-custom-skill
description: My custom skill for X
version: 1.0.0
triggers: [trigger1, trigger2]
---

# My Custom Skill

## Description
Detailed description of what this skill does.

## Phases
1. Phase 1: Description
2. Phase 2: Description

## Usage

\`\`\`javascript
Skill(skill="my-custom-skill", args="input")
\`\`\`

Best Practices

  1. Single Responsibility: Each skill should do one thing well
  2. Clear Triggers: Define recognizable trigger phrases
  3. Progressive Phases: Break complex skills into phases
  4. Compact Recovery: Use TodoWrite for progress tracking
  5. Documentation: Include usage examples and expected outputs

Practical Examples

Example 1: Feature Development

Scenario: Implement a new user dashboard feature

bash
# Step 1: Brainstorm the feature (via CCW orchestrator)
/ccw "头脑风暴: 用户仪表板功能设计"
# Or use Skill directly:
# Skill(skill="brainstorm")

# Step 2: Plan implementation (via CCW orchestrator)
/ccw "Plan: Build user dashboard with configurable widgets"
# Or use Skill directly:
# Skill(skill="workflow-plan", args="Build user dashboard")

# Step 3: Execute with team lifecycle
Skill(skill="team-lifecycle-v4", args="Build user dashboard")
# Or use quick iteration:
# Skill(skill="workflow-lite-plan")

# Step 4: Review and refine
Skill(skill="review-code")
# Fix any issues found

Example 2: Bug Investigation

Scenario: Debug performance issue in API endpoint

bash
# Step 1: Quick analysis
ccw cli -p "Analyze /api/users endpoint for N+1 query issues" --tool gemini --mode analysis

# Step 2: Deep dive if needed
ccw workflow:debug-with-file
# Creates hypothesis, instruments code, analyzes logs

# Step 3: Apply fix
ccw workflow-execute --task "Fix N+1 query in user endpoint"

Example 3: Code Migration

Scenario: Migrate from JavaScript to TypeScript

bash
# Step 1: Analyze codebase (via CCW orchestrator)
/ccw "refactor: JavaScript to TypeScript migration"
# Or use Skill directly:
# Skill(skill="workflow:refactor-cycle")

# Step 2: Execute with team roadmap
Skill(skill="team-roadmap-dev", args="--epic ts-migration")
# Progressively migrates modules with tests

Example 4: Documentation Generation

Scenario: Generate API documentation

bash
# Step 1: Capture existing patterns via memory skill
Skill(skill="memory-capture", args="API patterns: REST, versioning, error handling")

# Step 2: Generate docs
ccw software-manual --output ./docs/api/

Example 5: Code Review Pipeline

Scenario: Review PR changes

bash
# Comprehensive review
ccw review-code --focus security,performance

# Or use cycle for auto-fix
ccw review-cycle --max-iterations 3

Tips for Best Results

  1. Start Small: Begin with workflow-lite-plan for simple tasks
  2. Use Memory: Capture insights with memory:capture for future reference
  3. Verify Plans: Always review generated plans before execution
  4. Iterate: Use review-cycle for continuous improvement
  5. Check Sessions: Use workflow:session:list to track progress

Design Patterns

Skills use these proven patterns:

PatternExample
Orchestrator + Workersteam-lifecycle-v4
Generator-Critic Loopteam-iterdev
Wave Pipelineteam-planex
Red-Green-Refactorworkflow-tdd-plan

See Also

Released under the MIT License.