/build-fix
Spawns the build-error-resolver agent to diagnose build failures and apply targeted fixes.
Steps
Gather context — determine the build command and current error state:
- Check
.claude-toolkit.jsonforcommands.build - Fall back to auto-detection:
package.jsonscripts,Makefiletargets, language defaults - If arguments are provided (e.g., specific error output), pass those directly
- Check
Spawn the agent — use the Task tool:
Task tool with subagent_type="build-error-resolver"Pass in the prompt:
- The build command to run
- Any captured error output (if available)
- The project's language and framework context
Present findings — relay the agent's fix report:
- Show initial error count vs final error count
- List each fix applied with file path and description
- Flag any remaining errors that need manual review
Offer follow-up actions:
- "Run tests?" — verify fixes did not break test suite
- "Review changes?" — spawn code-reviewer on the fixes
Converted and distributed by TomeVault — claim your Tome and manage your conversions.