Skill 94 · Copilot PR Autopilot
Subchapter 94.6
references/06-build-test.mdMarkdown2 KBView on GitHub
Sub-agent type: task (may fan out to several explore sub-agents in
parallel for discovery); budget: 10 min (extension cap up to 2× for
slow suites).
Scripts
Libfiles_touched).{ status, failures }Where status ∈ pass | fail and failures is the relevant
excerpt from the failing tool’s output (build errors, test failures,
lint diagnostics) — enough for the parent to decide whether to loop
back to step 5 for a follow-up fix or push as-is.
Discovery first — read and combine:
.github/instructions/*.md,AGENTS.md,CONTRIBUTING.md,README.md,package.json scripts,Makefile,gh run list, gh run view) to learn
the actual command set in use.THEN run those exact commands on the changed code. Independent
discovery axes (build tool / test runner / lint / spelling / format)
can be dispatched as separate explore sub-agents in parallel; cache
the discovered commands per round so re-runs don’t re-discover.
status: fail, the parent
re-enters step 5 with the failure excerpts as a new finding — don’t
push a broken build to satisfy step 7.