Validate tests

From gittower/git-flow-next · View interactive version

Validate tests is an AI agent skill from the GitHub repository gittower/git-flow-next. Codex-gate the test plan in an implementation plan before implementation starts

How to use this skill

Skill file

Validate Tests (Codex Gate)

Gate the test plan of an implementation plan before any implementation

starts. Combines a local check against the testing guidelines with an

external Codex review, following the shared convention in

../_shared/CODEX_GATE.md.

This is a required step between /create-plan and /implement. Once

the plan passes this gate, the test plan is authoritative — /implement

treats it as immutable.

Instructions

  1. Find the Plan
  1. Local Validation

Load TESTING_GUIDELINES.md and GIT_TEST_SCENARIOS.md, then check the

Test Plan section:

verify behavior rather than just "no error", proper Git scenario setup)

Fix what you find directly in the plan.

  1. Codex Gate

Run a Codex gate per ../_shared/CODEX_GATE.md:

expected outcomes, and scenarios that don't match the source of truth.

TDD framing: these tests define the design — gaps found now are cheap,

gaps found during implementation are expensive

plan was created from (pass its content or path)

  1. Evaluate and Apply

Evaluate every Codex finding per the convention: apply only with high

confidence, reject over-engineering and hypothetical scenarios, when in

doubt leave it out. Update the plan's Test Plan section with applied

findings.

Log all findings — applied, partial, and rejected with reasons — to

.ai/<folder>/codex-test-plan.md.

  1. Report Findings

Summarize:

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.