| name | build |
| description | Build the project. Use when the user says "build", "compile", or after making code changes that need compilation. |
| argument-hint | [target] |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep |
| model | haiku |
/build — Compile the project
Run the project build and report results.
Steps
-
Run the build command:
[YOUR BUILD COMMAND HERE]
-
Parse the output for errors and warnings
-
Report results in this format:
BUILD: [PASS/FAIL]
Errors: [count]
Warnings: [count]
[If failed: first error with file:line]
-
If the build fails, identify the likely cause from the error output. Do NOT attempt to fix — just report.
Arguments
- No arguments: build all targets
$ARGUMENTS: build specific target if provided
Notes
- Do not attempt fixes automatically
- If build was triggered after code changes, note which changed files may be related to errors