@@ -165,6 +165,96 @@ Skill(skill="my-custom-skill", args="input")
1651654 . ** Compact Recovery** : Use TodoWrite for progress tracking
1661665 . ** Documentation** : Include usage examples and expected outputs
167167
168+ ## Practical Examples
169+
170+ ### Example 1: Feature Development
171+
172+ ** Scenario** : Implement a new user dashboard feature
173+
174+ ``` bash
175+ # Step 1: Brainstorm the feature
176+ ccw brainstorm
177+ # Follow prompts to define:
178+ # - Dashboard widgets (stats, charts, recent activity)
179+ # - Layout preferences
180+ # - Data refresh intervals
181+
182+ # Step 2: Plan implementation
183+ ccw workflow:plan " Build user dashboard with configurable widgets"
184+ # Outputs: IMPL-001.json with task breakdown
185+
186+ # Step 3: Execute with team
187+ ccw team lifecycle
188+ # Or use quick iteration:
189+ ccw workflow:lite-plan && ccw workflow:execute
190+
191+ # Step 4: Review and refine
192+ ccw review-code
193+ # Fix any issues found
194+ ```
195+
196+ ### Example 2: Bug Investigation
197+
198+ ** Scenario** : Debug performance issue in API endpoint
199+
200+ ``` bash
201+ # Step 1: Quick analysis
202+ ccw cli -p " Analyze /api/users endpoint for N+1 query issues" --tool gemini --mode analysis
203+
204+ # Step 2: Deep dive if needed
205+ ccw workflow:debug-with-file
206+ # Creates hypothesis, instruments code, analyzes logs
207+
208+ # Step 3: Apply fix
209+ ccw workflow:execute --task " Fix N+1 query in user endpoint"
210+ ```
211+
212+ ### Example 3: Code Migration
213+
214+ ** Scenario** : Migrate from JavaScript to TypeScript
215+
216+ ``` bash
217+ # Step 1: Analyze codebase
218+ ccw workflow:refactor-cycle
219+ # Identifies tech debt and creates migration plan
220+
221+ # Step 2: Execute migration in phases
222+ ccw team roadmap-dev --epic " ts-migration"
223+ # Progressively migrates modules with tests
224+ ```
225+
226+ ### Example 4: Documentation Generation
227+
228+ ** Scenario** : Generate API documentation
229+
230+ ``` bash
231+ # Step 1: Capture existing patterns
232+ ccw memory:capture " API patterns: REST, versioning, error handling"
233+
234+ # Step 2: Generate docs
235+ ccw software-manual --output ./docs/api/
236+ ```
237+
238+ ### Example 5: Code Review Pipeline
239+
240+ ** Scenario** : Review PR changes
241+
242+ ``` bash
243+ # Comprehensive review
244+ ccw review-code --focus security,performance
245+
246+ # Or use cycle for auto-fix
247+ ccw review-cycle --max-iterations 3
248+ ```
249+
250+ ### Tips for Best Results
251+
252+ 1 . ** Start Small** : Begin with ` workflow:lite-plan ` for simple tasks
253+ 2 . ** Use Memory** : Capture insights with ` memory:capture ` for future reference
254+ 3 . ** Verify Plans** : Always review generated plans before execution
255+ 4 . ** Iterate** : Use ` review-cycle ` for continuous improvement
256+ 5 . ** Check Sessions** : Use ` workflow:session:list ` to track progress
257+
168258## Design Patterns
169259
170260Skills use these proven patterns:
0 commit comments