1.3 KiB
1.3 KiB
| description | argument-hint | allowed-tools |
|---|---|---|
| Run code review and fix all issues from SUGGESTION to BLOCKER | <"recent" | "staged" | "unstaged" | file path | git commit range> | Task, Read, Write, Edit, Glob, Grep, Bash |
Fix all issues in: $ARGUMENTS
Instructions
1. Run Code Review
Perform a full code review using the code-reviewer skill.
2. Collect All Issues
Gather all issues by severity: BLOCKER > CRITICAL > WARNING > SUGGESTION.
3. Fix All Issues
Apply fixes in priority order. For each issue:
- Read the file at the specified location
- Apply the proper fix (not quick patches)
- If refactoring is warranted, do the full refactor
- Track what was fixed
4. Verify Fixes
# Go
go vet ./... 2>/dev/null || true
go test ./... 2>/dev/null || true
# TypeScript
npx tsc --noEmit 2>/dev/null || true
npx eslint . 2>/dev/null || true
5. Report
## Fix-All Report
### Issues Fixed
| Severity | Count | Details |
|----------|-------|---------|
### Files Modified
- `file` - [what was fixed]
### Verification
- Lint: PASS/FAIL
- Tests: PASS/FAIL
### Remaining Issues
[Any issues that could not be auto-fixed]
Critical Rules
- FIX ALL severities (BLOCKER through SUGGESTION)
- Use PROPER FIXES only (no quick patches)
- REFACTOR when structural problems exist
- VERIFY after fixing (lint, test)