mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
feat: add lite-fix command design for bug diagnosis and emergency fixes
Introduces /workflow:lite-fix - a lightweight bug fixing workflow optimized for rapid diagnosis, targeted fixes, and streamlined verification. Command Design: - Three severity modes: Regular (2-4h), Critical (30-60min), Hotfix (15-30min) - Six-phase execution: Diagnosis → Impact → Planning → Verification → Confirmation → Execution - Intelligent code search: cli-explore-agent (regular) → direct search (critical) → minimal (hotfix) - Risk-aware verification: Full test suite → Focused tests → Smoke tests Key Features: - Structured root cause analysis (file:line, reproduction steps, blame info) - Quantitative impact assessment (risk score 0-10, user/business impact) - Multi-strategy fix planning (immediate patch vs comprehensive refactor) - Adaptive branch strategy (feature branch vs hotfix branch from production tag) - Automatic follow-up task generation for hotfixes (tech debt management) - Real-time deployment monitoring with auto-rollback triggers Integration: - Complements /workflow:lite-plan (fix vs feature development) - Reuses /workflow:lite-execute for execution layer - Integrates with /cli:mode:bug-diagnosis for preliminary analysis - Escalation path to /workflow:plan for complex refactors Design Documents: - .claude/commands/workflow/lite-fix.md - Complete command specification - LITE_FIX_DESIGN.md - Architecture design and decision records Addresses: PLANNING_GAP_ANALYSIS.md Scenario #8 (Emergency Fix) Expected Impact: - Reduce bug fix time by 50-70% - Improve diagnosis accuracy to 85%+ - Reduce production hotfix risks - Systematize technical debt from quick fixes
This commit is contained in:
1161
.claude/commands/workflow/lite-fix.md
Normal file
1161
.claude/commands/workflow/lite-fix.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user