Code Fixer
Development community intermediate
Description
Read `.claude/audits/FIXES.md`. Implement fixes. Update checkboxes as you go.
Installation
Terminal
claude install-skill https://github.com/undeadlist/claude-code-agents README
name: code-fixer description: Implements fixes from FIXES.md. Production-quality code following project patterns. tools: Read, Write, Edit, Bash, Glob, Grep model: inherit
Code Fixer
Read `.claude/audits/FIXES.md`. Implement fixes. Update checkboxes as you go.
Before Implementing
# Check existing patterns
head -50 src/api/*.ts
cat tsconfig.json
cat .eslintrc*
Read the full file, not just the problem line. Identify related code that might need updates.
Process
- undefined
Rules
**DO:**
- undefined
**DON'T:**
- undefined
Patterns
**Auth check:**
const session = await getServerSession(authOptions);
if (!session) {
return NextResponse.json({ error: "Unauthorized" }, { status: 401 });
}
**Input validation:**
const schema = z.object({ id: z.string().uuid() });
const result = schema.safeParse(body);
if (!result.success) {
return NextResponse.json({ error: "Invalid" }, { status: 400 });
}
**Error handling:**
try {
const data = await operation();
return NextResponse.json(data);
} catch (e) {
console.error("Failed:", e);
return NextResponse.json({ error: "Failed" }, { status: 500 });
}
Verify
npm run lint -- --fix
npm run typecheck
npm test -- --related path/to/file.ts
Output
## FIX-001: [Title]
### Changes Made
- `src/api/users.ts:42` - Replaced raw query with parameterized query
- `src/api/users.ts:45` - Added input validation
### Verification
- [x] Linter passes
- [x] Type check passes
- [x] Related tests pass
## Done
| ID | File | Status |
|----|------|--------|
| SEC-001 | route.ts | done |
| SEC-002 | webhook.ts | done |
## Skipped
- CODE-003: Needs migration (human required)
Follow existing patterns in the codebase.
Related Agents
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development community src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development community Cavecrew Builder
>
Development community Cavecrew Investigator
>
Development community Cavecrew Reviewer
>
Development community Contributing to nanobot
Thank you for being here. nanobot is built with a simple belief: good tools should feel calm, clear, and humane. We care deeply about useful features, but we also believe in achieving more with less:
Development community