Agent skill · duc01226

workflow-integration-test-green

[Workflow] Use when activating the Integration Test Green workflow — drive an integration-test suite to fully green with a bounded convergence loop: verify the whole system (or the named target), adjudicate every failure with /debug-investigate + /integration-test-review before any edit, fix at the owning layer, /changes-review each round's fix diff, re-verify from scratch, then sync spec TCs, the integration-test reference doc, and feature docs.

What it needs

About 12k tokens when loaded.

What this skill does

Quick Summary Goal: [Workflow] Trigger the Integration Test Green workflow — run the WHOLE integration-test suite (or the named target), adjudicate every failure into a written Fault Verdict before any edit, fix at the owning layer, loop until a fresh full verify is green twice in a row with zero failures, then leave the spec TCs, the integration-test reference doc, and the feature docs in sync with the suite that actually exists. When to use: "make all integration tests pass", "fix the failing integration tests", "the suite is red after my change", "loop until all integration tests are green", "diagnose this flaky integration test". For AUTHORING new tests from specs use /workflow-write-integration-test; this workflow is for driving an EXISTING suite to green. Workflow: 1. Detect — resolve the verification scope: the WHOLE system by default, or the target named in the prompt. 2. Converge — loop verify → adjudicate → fix → review the fix → re-verify until zero failures across 2 consecutive runs, bounded by a round cap and a Round Integrity Check. 3. Sync — reconcile spec TCs, the integration-test reference doc, and impacted feature docs with the final suite. Key Rules: MUST ATTENTION default the verification scope to the WHOLE SYSTEM — every integration-test project via testProjectPattern > testProjects — and pass it EXPLICITLY to /integration-test-verify; never fall through to its change-scoped git auto-detect default. MUST ATTENTION adjudicate EVERY failure with /debug-investigate + /integration-test-review (report-only) into ONE written Fault Verdict — TEST-WRONG · TEST-NOT-OPTIMAL · SOURCE-WRONG · ENVIRONMENT-BLOCKED · AMBIGUOUS — with file:line evidence, BEFORE any edit. MUST ATTENTION fix at the lowest invariant-owning layer (Entity > Service > Handler), never the crash site; a SOURCE-WRONG fix KEEPS or STRENGTHENS the test that caught it. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills duc01226/workflow-integration-test-green--4297e2

View the source on GitHub

Browse the @skills marketplace