mcpField
E
evidence-gate

evidence-gate

github.com/marcioaltoeTesting & quality072 installsUpdated 1d ago
Repository

About evidence-gate

evidence-gate is a workflow skill for agents and teams that requires claim-specific evidence before reporting work as complete or ready. It defines verification steps, evidence requirements for common claims, and a reporting format.

Key features

  1. 01Claim-specific verification gate
  2. 02Evidence matrix for status claims
  3. 03Check command output and exit code
  4. 04Structured verification reporting
  5. 05Failure and blocker reporting

Use cases

  1. 01Verifying tests or builds before reporting success
  2. 02Checking a fix against its original reproduction
  3. 03Reviewing staged changes before committing
  4. 04Preparing evidence for a PR or handoff

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/marcioaltoe/skills --skill evidence-gate

After installing, type/evidence-gatein Claude Code to confirm it loaded.

Details

From the project README

Evidence Gate

Evidence comes before status. Do not say work is complete, fixed, passing, ready, committed, pushed, PR-ready, or handoff-ready until the current turn includes evidence for that exact claim.

When to use

  • Before saying a task is done or fixed
  • Before committing or pushing
  • Before opening or updating a PR
  • Before marking an issue ready for review or done
  • Before handing work to another agent or human
  • After an agent, tool, or CI job reports success

Gate

  1. State the claim you are about to make.
  2. Identify the smallest command or inspection that proves that claim.
  3. Run the full command, or inspect the required artifact.
  4. Read the output and exit code.
  5. Compare the result to the claim.
  6. Report the exact evidence, or state the blocker.

Evidence matrix

ClaimEvidence required
Tests passTest command exits 0 and reports no failures
Lint cleanLint command exits 0 and reports no warnings
Typecheck/build passesTypecheck/build command exits 0
Bug fixedOriginal reproduction or regression check passes
Requirements metChecklist against requested scope, not tests alone
Commit readygit diff --cached reviewed plus relevant checks
Push readyBranch, commit, and remote target verified
PR readyVerification commands, PR title/body, diff scope
Handoff readyCurrent status, changed files, verification result

Reporting format

Use this structure in the final response or handoff:

Verification:
- `<command>`: passed
- `<command>`: failed — <reason>

Not run:
- `<command>` — <reason>

If a check fails, do not soften the result. State the failure and the next action.

Anti-patterns

  • Saying "should pass" without running the check.
  • Treating one passing check as proof of all checks.
  • Trusting a tool or subagent success message without inspecting the diff or output.
  • Opening a PR with missing local verification notes.
  • Marking scope complete because tests pass.

Comments

Markdown supported