KunanonJ/superstacks / plugins/superstacks/skills/verify-loop
verify-loop
UnverifiedUse when starting implementation or iterating a fix. Define a deterministic check for the acceptance criteria, run it red, then iterate until green.
Verify loop
The engineer designs a runnable check. The model spends tokens on judgment, not on being a human who copies errors between tools.
Before writing code
- Name the acceptance criteria in one sentence.
- Pick a deterministic check that would fail today and pass when the work is done: unit or integration test, CLI assertion, perf trace, or a snapshot/console script.
- Copy a runner from
scripts/next to this skill into the repo (or run it in place). Do not install packages. - Run the check. Confirm it is red. Paste the runner output (
VERIFY_FAIL). - Change code. Re-run the same command. Repeat until
VERIFY_PASS. - Hand the same command to
verification-before-completionbefore any success claim.
Never retype compiler, test, browser, or linter errors from memory. Re-run the command.
Runners
| File | When |
|---|---|
scripts/verify.py | Python stdlib wrapper. Prints pass/fail evidence. |
scripts/verify.sh | POSIX wrapper with the same evidence format. |
scripts/check-snapshot-console.cjs | Page snapshot plus console-error check. Uses Playwright already in the project. Exits 2 if it is missing. Never installs it. |
python <this-skill>/scripts/verify.py -- <project-check>
bash <this-skill>/scripts/verify.sh -- <project-check>
node <this-skill>/scripts/check-snapshot-console.cjs <url> [shot.png]
Replace <project-check> with the repo's real command (pytest, a compiler, a perf trace). The wrapper does not choose the check.
Rules
- One command is the source of truth for this ticket. Do not swap it mid-loop without saying why.
- Red before green. A check that was never red does not prove the fix.
- If the check needs a browser, use the snapshot template or a CDP script the repo already runs. Do not add runtime installs.
- Paste fresh runner output. Screenshots without
VERIFY_PASS/VERIFY_FAILare not enough.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 193k | Updated | Claude CodeCodex | Verified | Install |