Libres-coder

Verify First — Testing skill for Claude Code

Testing community

Evidence-gated full-stack pipeline for Claude Code: spec -> architecture -> build -> real-app verification -> ship.

How to install Verify First

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Libres-coder/verify-first and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Verify First does

Evidence-gated full-stack pipeline for Claude Code: spec -> architecture -> build -> real-app verification -> ship. Commit gate blocks missing/stale evidence. Delegates to installed tools; two field-tested dogfoods.

Alternatives in Testing

  • Test Discovery — Discover and write missing tests for altimate-code 817 ★
  • Flaky Test — Diagnose a flaky test by running it N times 68 ★
  • V Epic — Drive an EPIC — chain several features into one autonomous, resumable, dependency-ordered build on a single br 35 ★

README

verify-first

An evidence-gated full-stack development pipeline for Claude Code (and any agent that reads SKILL.md). Five stages - **spec, architecture, build, verify, ship** - where every stage has a provable exit condition and nothing is "done" without evidence.

Built for the real failure mode of AI coding: **claiming a fix works without running it**. Instructions alone don't stop that reliably; mechanisms do. verify-first adds a gate that blocks commits when verification evidence is missing or stale.

What it composes (nothing reinvented)

Stage Tool it delegates to
Spec mattpocock-skills to-spec, or a lightweight spec.md
Architecture feature-dev code-architect agent
Build deepseek-stack ds-plan-loop / ds-verify-loop / ds-unstick
Verify pstack create-verification-skill (generates a project-local verify- harness)
Ship ds-review-loop + commit-commands /commit-push-pr + this repo's evidence gate

The evidence gate

python scripts/verify_gate.py --repo .          # exit 1 when evidence missing/stale
python scripts/verify_gate.py --repo . --strict # for CI on verify-first repos
  • exit 0: evidence exists and is newer than the newest source change;
  • exit 1: no evidence, or source changed after the last verification (stale);
  • exit 2: not a verify-first project -> pass through.

`--require-structure` (on by default in the hook) additionally requires every evidence file to carry a fenced output block and a tier label - empty or narrative-only evidence is ignored, and the gate fails when nothing structured remains.

Wire it as a Claude Code PreToolUse hook to block `git commit` (see `references/gate-setup.md`), or run it in CI on pull requests. Evidence lives in `.claude/skills/verify-/evidence//` and **travels with the code**.

Install

cp -r verify-first ~/.claude/skills/

Then say "build X end-