# Fix Build

> Fix build errors and type errors with minimal changes. No refactoring — just get the build green.

- Skill: `iabhisekbosepm/fix-build` (Agent Skill)
- Install (CLI): `npx skillmds@latest add iabhisekbosepm/fix-build`
- Raw SKILL.md: https://api.skillmd.com/api/skills/iabhisekbosepm/fix-build/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: iabhisekbosepm (https://skillmd.com/u/iabhisekbosepm)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/iabhisekbosepm/fix-build

---


# /fix-build — Build Error Resolution

Fix all build/type errors with **minimal diffs only**. See `agents/build-error-resolver.md`.

1. **Collect** — `npx tsc --noEmit --pretty 2>&1` and `npm run build 2>&1`
2. **Categorize** — type inference, missing types, imports, config, deps
3. **Fix** — Add type annotations, null checks, fix imports, install deps. No refactoring.
4. **Verify** — Re-run build after each batch

Success: build exits 0, minimal lines changed (<5% of affected file).

