build-for-testing

star 1

Build the project for testing

adamayoung By adamayoung schedule Updated 6/10/2026

name: build-for-testing description: Build the project for testing

Build for testing

Builds the app and all test targets (so they compile cleanly before running tests). Like /build, this uses warnings-as-errors.

Preferred — Xcode MCP (xcode), when running inside Xcode. Call it directly (small structured result, no subagent needed):

  1. Get the workspace tabIdentifier from mcp__xcode__XcodeListWindows.
  2. Run mcp__xcode__BuildProject with that tabIdentifier and buildForTesting: true.
  3. On failure, call mcp__xcode__GetBuildLog with the same tabIdentifier and severity: "error".

Fallback — make, when the MCP isn't available. Delegate to a Haiku subagent (Agent tool, subagent_type: general-purpose, model: haiku) so the output stays out of your context. Do not run it yourself. Prompt the subagent to:

Run `mkdir -p .build && make build-for-testing > .build/last-build-for-testing.log 2>&1`,
check the exit status, and report ONLY:
- Status: succeeded or failed
- Error and warning counts
- Each error/warning as `file:line — message` (omit if none; warnings are errors)
- On failure, the log path `.build/last-build-for-testing.log`
Do not paste raw logs or successful-compilation output.

After fixing any issues, re-invoke this skill to re-check.

Install via CLI
npx skills add https://github.com/adamayoung/popcorn --skill build-for-testing
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator