feat-dev-e2e/.claude/commands/fix-all.md
jordan a4980a5bd1
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/manual/woodpecker Pipeline was successful
Initialize project from skeleton template
2026-02-03 02:18:50 +00:00

65 lines
1.3 KiB
Markdown

---
description: Run code review and fix all issues from SUGGESTION to BLOCKER
argument-hint: <"recent" | "staged" | "unstaged" | file path | git commit range>
allowed-tools: 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:
1. Read the file at the specified location
2. Apply the **proper fix** (not quick patches)
3. If refactoring is warranted, do the full refactor
4. Track what was fixed
### 4. Verify Fixes
```bash
# 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
```markdown
## 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)