fix
Fix bugs with engine-powered root-cause analysis — precise file targeting
Fix — Engine-Powered Bug Fixing
Fix the described bug. The engine provides precise context for root-cause analysis.
Precise Context (auto-generated by engine)
!ccs context "$ARGUMENTS" 2>/dev/null || node $HOME/.claude/skills/_ccs/engine/cli.js context "$ARGUMENTS" 2>/dev/null
Steps
1. Analyze
Using the context above, identify the root cause:
- Which file and function contains the bug?
- What is the dependency chain?
- Are there related tests?
2. Fix
- Read the specific file(s) identified
- Apply the minimal fix
- Preserve existing patterns and conventions
3. Verify
- Run related tests if they exist
- The index auto-updates after your edits
Rules
- NEVER explore beyond what the engine provided
- For errors not found in context, Grep for the exact error string
- Fix the root cause, not symptoms
- After fix → suggest
/ccs-testto verify
10x-Code v2.0.2