# Build Fix

> Incrementally fix TypeScript and build errors. Invokes build-error-resolver agent. Use when build fails, type errors occur, or the user asks to fix the build.

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

---


# Build and Fix Command

This command invokes the **build-error-resolver** agent to fix TypeScript, compilation, and build errors with minimal diffs.

## What This Command Does

1. **Diagnose** - Run tsc, eslint, npm run build
2. **Fix incrementally** - One error at a time, minimal changes
3. **No architecture changes** - Only fix errors, no refactoring
4. **Verify** - Re-run build after each fix

## When to Use

Use `/build-fix` when:
- Build fails (TypeScript, compilation, module resolution)
- Type errors occur
- Import/export or dependency issues
- Configuration errors (tsconfig, webpack, Next.js)

## How It Works

The build-error-resolver agent uses tsc --noEmit, ESLint, and project build commands to diagnose and fix errors with the smallest possible changes. It does not refactor or redesign.

## Related

- Agent: `agents/build-error-resolver.md`
- Use **build-fix** proactively when build is red

