Usage Examples
Examples
Production Bug Investigation
# Start with Five Whys to find root cause
> /kaizen:why "Users see 500 error on checkout during peak hours"Problem: Users see 500 error on checkout during peak hours
Why 1: Payment service throws exception
Why 2: Request timeout after 30 seconds
Why 3: Database query takes 45 seconds during peak load
Why 4: Missing index on transactions table for user_id lookup
Why 5: Database migrations don't have performance validation in CI
Root Cause: No automated performance testing for database changes
Contributing Factor: Transactions table grew 10x, exposing the issue
Solutions:
1. IMMEDIATE: Add index on transactions.user_id
2. SHORT-TERM: Add query performance tests to CI for migrations
3. LONG-TERM: Set up database query monitoring and alertingInvestigating Flaky Tests
Comprehensive Incident Documentation
Performance Optimization with PDCA
Code Quality Audit with Smart Analysis
Bug Tracing Through Call Stack
Exploring Unfamiliar Code with Gemba Walk
Integration with Other Plugins
With Reflexion (Bug Investigation Workflow)
With Code Review
With Git (Full Bug Fix Workflow)
With SDD (Quality Improvement After Implementation)
Last updated