Implementation:AI Builder Club Skills verifier setup skill
| Knowledge Sources | |
|---|---|
| Domains | Verification, Agent_Engineering |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
Concrete skill procedure and SOP template for proving an engineering task works before shipping — a fresh verifier sub-agent drives the real app, captures proof, and opens a PR with embedded evidence, provided by the verifier-setup skill.
Description
The verifier-setup skill scaffolds a repo-specific /verify skill from the verify.template.md template. The generated skill implements the verify-before-ship loop: verify preconditions (branch, stack up, run mode), spawn a fresh read-only verifier sub-agent (drives the real app, captures screenshot/video to evidence/, returns a verdict), fix and re-verify (broken → fix → spawn fresh verifier, max ~3 rounds), run the regression sweep (type-check, lint, unit, e2e), and open a PR with embedded proof (inline screenshot + linked video). Template uses Template:... placeholders filled from repo discovery.
Usage
Invoke /verify before opening a PR, or whenever asked to verify a change. Triggers: "verify this", "prove it works", "does this actually work", "open a PR with proof". The skill splits verification: subjective (does the task work?) → fresh verifier sub-agent; objective (regression checks) → you run them.
Code Reference
Source Location
- Repository: AI Builder Club Skills
- File: skills/verifier-setup/SKILL.md (skill definition), skills/verifier-setup/assets/verify.template.md (SOP template)
Signature
# Skill procedure (the generated /verify skill in the target repo):
def verify_preconditions() -> {stack_up, app_url, run_mode, driver}:
"""Section 0 + Step 1: On a branch (not default), changes committed.
Bring up the stack with {{STACK_UP}}. Confirm {{RUN_MODE}} + {{DRIVER}}."""
def spawn_verifier(acceptance_criteria, exercise, driver, auth) -> verdict:
"""Step 2: Spawn a read-only verifier sub-agent:
'You are a read-only verifier. Do NOT edit code. Independently
confirm THIS task works by driving the running app.'
Returns: 'TASK: works | broken' with expected/observed/evidence."""
def fix_and_reverify(verdict, implementation) -> new_verdict:
"""Step 2 loop: broken → fix implementation → spawn FRESH verifier.
Cap at ~3 rounds; escalate to human if still broken."""
def regression_sweep() -> {type_check, lint, unit, e2e}:
"""Step 3: Run {{REGRESSION_CMDS}}. Triage: real-bug vs stale-test
vs flaky/env. Never weaken an assertion to go green.
If fix changes behavior, re-verify (step 2)."""
def open_pr(evidence) -> pr_url:
"""Step 4: Upload evidence to {{EVIDENCE_UPLOAD}} (e.g. gh release).
PR body: embed screenshot inline , link video,
regression checklist, reproduction steps."""
Import
# Invoked as a generated repo-specific skill:
# /verify
# or triggered by: "verify this", "prove it works", "open a PR with proof"
# External tools used:
# gh release upload <release> <files> # evidence hosting
# gh pr create # PR creation
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| STACK_UP | str | Yes | Command to bring up the app (e.g. scripts/dev-local.sh up)
|
| APP_URL | str | Yes | Where the app runs (e.g. http://localhost:3000)
|
| RUN_MODE | str | Yes | local or crabbox
|
| DRIVER | str | Yes | App interface driver (e.g. playwright-cli)
|
| AUTH_HELPER | str | No | Session helper or "n/a" |
| REGRESSION_CMDS | str | Yes | Codified check commands (e.g. pnpm typecheck && pnpm lint && pnpm test)
|
| EVIDENCE_UPLOAD | str | Yes | Stable URL target for evidence (e.g. gh release pr-evidence)
|
| acceptance_criteria | str | Yes | What a user should be able to do + observable success state |
Outputs
| Name | Type | Description |
|---|---|---|
| verdict | str | broken with expected/observed/evidence |
| evidence/ | dir | Screenshot (PNG) + video (WebM) for web; response body + status for non-web (gitignored) |
| GitHub PR | PR | PR with embedded screenshot, linked video, regression checklist, reproduction steps |
Usage Examples
Generated /verify Skill in Action
# After building a feature, run:
/verify
# The skill will:
# 1. Check: on a branch? changes committed? → yes
# 2. Run: scripts/dev-local.sh up (stack already running)
# 3. Spawn verifier sub-agent:
# "You are a read-only verifier. Do NOT edit code.
# TASK: user can create a new project and see it in the dashboard.
# HOW TO EXERCISE: navigate to /projects, click 'New', fill form, submit.
# DRIVER: playwright-cli
# AUTH: use session_helper.ts"
# 4. Verifier returns: TASK: works (screenshot + video in evidence/)
# 5. Run regression: pnpm typecheck && pnpm lint && pnpm test && pnpm e2e
# 6. Upload evidence: gh release upload pr-evidence evidence/*
# 7. Open PR with embedded screenshot + linked video
Fix and Re-Verify Loop
# If verifier returns "broken":
# 1. Read the verdict (expected vs observed)
# 2. Fix the implementation
# 3. Spawn a FRESH verifier (not the same one — independence matters)
# 4. Cap at ~3 rounds; if still broken, escalate to human
# "You never declare the task works yourself."
Related Pages
Implements Principle
- Principle:AI_Builder_Club_Skills_Verify_Before_Ship
- Principle:AI_Builder_Club_Skills_Regression_Sweep