Build test

From skeletorflet/opencode-supreme-setup · View interactive version

Build test is an AI agent skill from the GitHub repository skeletorflet/opencode-supreme-setup. Run the project's build / typecheck / lint / test commands and emit the build.passing + tests.passing signals devloop convergence reads.

How to use this skill

Skill file

Build test

Spec §20.2 / §22.4: the "subjective critique-theater panel" is

not enough on its own — a code-migration / tune-collab run must

prove the build still passes. This atom shells out to the

project's declared test commands and emits structured signals the

devloop's until evaluator reads.

Inputs

plan.md's targetStack block).

testCommand='pnpm test'`).

Default commands by framework

| framework | typecheck | test |

| --- | --- | --- |

| next | pnpm typecheck | pnpm test |

| vite | pnpm typecheck | pnpm test |

| remix | pnpm typecheck | pnpm test |

| custom | (read from package.json.scripts) | (read from package.json.scripts) |

Output

project-cwd/
└── critique/
    ├── build-test.json   # { build: 'passing' | 'failing', tests: 'passing' | 'failing' | 'skipped', durationMs, commandsRun: [...], failures: [...] }
    └── build-test.log    # raw stdout / stderr (truncated to OD_BUILD_TEST_LOG_BUDGET_BYTES, default 1 MiB)

The atom emits two signals the devloop reads:

Plus the legacy critique.score so existing pipelines that read

the score keep working: 5 when both pass, 3 when only build

passes, 1 when both fail.

Convergence

Pipelines wire the atom into a devloop:

{
  "id": "verify",
  "atoms": ["patch-edit", "build-test"],
  "repeat": true,
  "until": "(build.passing && tests.passing) || iterations >= 8"
}

Anti-patterns the prompt fragment forbids

always runs after patch-edit, and only when plan.steps's

current step is in completed state).

the rewrite-plan ownership rule.

Status

Reserved id, prompt-only fragment in v1. The shell-out wrapper +

log-truncation worker land in spec §16 Phase 7.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.