Build for testing

SkillFiles & storage

Compile the TMDb package AND all test targets (without running the tests) to catch test-code compile errors. Use after changing tests or shared code to check everything still builds — delegates to the tooling-runner agent (Haiku) and returns a concise pass/fail + errors-as-file:line summary. Differs from /build, which compiles only the library; to run the tests, use /test.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Build for testing skill

What this skill tells your AI

The instructions your AI receives, as published by adamayoung/tmdb in .claude/skills/build-for-testing/SKILL.md and read by ahel’s review.

Spawn the tooling-runner agent (Agent tool, subagent_type: tooling-runner — its Haiku pin, command recipes, and reporting contract live in .claude/agents/tooling-runner.md) with the one-line task:

Run the build-for-testing target: compile the TMDb package and all test targets. Package directory: <your current working directory, absolute>

Always include that directory line. The subagent does not reliably inherit your working directory, and without it a run inside a git worktree silently builds the main checkout instead (see .claude/agents/tooling-runner.md). Use your actual CWD — run pwd if you are not certain of it.

Relay its report. Do not run the build yourself — unless the report is missing or malformed (below), which is the only sanctioned fallback.

If the report is unclear on a failure, read the log path it reports (.build/last-build-tests.log) — or, inside Xcode, refresh diagnostics on the flagged files — rather than re-running. After fixing the issues, re-invoke this skill to re-check (a fresh subagent will rebuild).

If the report is missing or malformed

Judge the runner's report by shape, not by tone — the three outcomes are distinguishable and must be handled differently:

ReportWhat it meansWhat you do
Status: refused — …A caller bug (wrong/missing package directory)Surface it as a hard error and fix the call. Never fall back — the runner is telling you your invocation was unsafe.
Status: passed/failedA real resultRelay it; act on any failures
No report, empty, or missing the Directory:/Status: linesThe subagent died — the run is void, not failedRe-invoke once. If it voids again, run make -C "<the same absolute directory you passed the runner>" build-tests directly via Bash

A fallback run is disclosed in your summary — say that you fell back and why. It is never silently treated as an ordinary result.

Signals

GitHub stars
176
Forks
47
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
build-for-testing
Source
github.com/adamayoung/tmdb