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.

ihj04982 Updated

File contents

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

ihj04982/my-cursor-settings/tree/main/skills/build-fix commit b3c616ec31

Frequently asked questions

npx skillmds@latest add ihj04982/build-fix