mkbuild-fixlisted
Install: claude install-skill ngocsangyem/MeowKit
# Build Fix — Universal Build Error Resolver
Detects language from error output, loads the appropriate reference, classifies the error
by fixability, applies the fix, and chains into `mk:verify` to confirm the build is green.
## When to Use
- Build command fails (npm run build, tsc, go build, python -m build, cargo build)
- Type check errors (TypeScript TS\d{4}, mypy)
- Compilation errors in any language
- Triggers: "build failed", "fix build", "compilation error", "type error"
## Phase Anchor
**Phase: 3 (Build GREEN)**
**Handoff:** If `mk:verify` passes → proceed to Phase 4 (Review). If 3 attempts exhausted → escalate to user.
## Process
### Step 1: Capture Error Output
Run the failing build command and capture full output. If error output was passed as input,
use that directly.
### Step 2: Detect Language
Match error patterns in order (first match wins):
| Pattern | Language | Reference |
|---------|----------|-----------|
| `error TS\d{4}:` | TypeScript | `references/typescript-errors.md` |
| `SyntaxError:` or `ModuleNotFoundError:` or `IndentationError:` | Python | `references/python-errors.md` |
| `cannot find package` or `undefined: ` or `syntax error near` (Go) | Go | `references/general-errors.md` |
| `error[E\d{4}]` (Rust) | Rust | `references/general-errors.md` |
| Any other pattern | Unknown | `references/general-errors.md` |
Load the matched reference file before proceeding to Step 3.
### Step 3: Classify Error Fixability
After loading the reference,