Installs: 0
Used in: 1 repos
Updated: 2d ago
$
npx ai-builder add command nacorga/fixInstalls to .claude/commands/fix.md
# Auto-Fix Code Quality Issues Automatically fix lint and format issues across the codebase. ## Run Auto-Fix !npm run fix ## Verify Fixes !npm run check !npm run type-check !npm run build:all !npm run test:unit !npm run test:coverage ## Report Format ``` ๐ง Auto-Fix Results === FIXES APPLIED === Lint Fixes: - Files modified: X - Issues fixed: Y - Auto-fix succeeded: [โ /โ] Format Fixes: - Files formatted: X - Formatting applied: [โ /โ] === VERIFICATION === Running acceptance criteria checks... Lint Status: [โ PASSED | โ ERRORS REMAIN] Format Status: [โ PASSED | โ ERRORS REMAIN] Type Check Status: [โ PASSED | โ ERRORS REMAIN] Build Status: [โ PASSED | โ ERRORS REMAIN] Test Status: [โ PASSED | โ ERRORS REMAIN] [If all passed:] โ All acceptance criteria met โ Codebase passes all quality checks [If errors remain:] โ ๏ธ Remaining Issues: Manual fixes required: - [List issues that couldn't be auto-fixed] Action Required: - Review remaining issues - Apply manual fixes - Re-run /fix command === FILES MODIFIED === [List of modified files] === NEXT STEPS === [If passed:] โ Ready to commit changes Run: git add . && git commit -m "chore: fix lint and format issues" [If errors:] โ ๏ธ Manual review needed Fix remaining issues before committing ``` ## What Gets Fixed **Lint (ESLint)**: - Unused variables/imports - Missing semicolons - Incorrect spacing - Import order - Prettier conflicts **Format (Prettier)**: - Indentation (2 spaces) - Line length (100 chars) - Quote style (single quotes) - Trailing commas - Bracket spacing ## Notes - Auto-fix is safe for most issues - Some issues require manual intervention - Always review changes before committing - Re-run verification after manual fixes ## IMPORTANT RESTRICTIONS **NEVER modify CHANGELOG.md**: - CHANGELOG.md is automatically updated via CI/CD workflows - Any changes to CHANGELOG.md will be overwritten - Do not include CHANGELOG.md in any auto-fix operations
Quick Install
$
npx ai-builder add command nacorga/fixDetails
- Type
- command
- Author
- nacorga
- Slug
- nacorga/fix
- Created
- 6d ago