/snail:snail-verifyfrom Snail
Verify that changes do what they aim to do and introduce no regressions. Use after implementation and before creating a PR.
Ships in Snail. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
From the project working directory, run node <skill-dir>/scripts/artifact-path.mjs using this skill's absolute installed path; store its output as <flow-root>. In every shell command double-quote expanded paths, e.g. init "$flow_root/snail-$slug"; for scans quote the root but leave the wildcard outside: "$flow_root"/snail-*/. It resolves project-specific $XDG_STATE_HOME/snail state (fallback ~/.local/state/snail). Discover and write all workflow artifacts there, including standalone use. Pass --in-repo only on an explicit user request, never because old files or policy exist. Leave old artifacts untouched; ask before moving, deleting or resuming them. On errors stop, never fall back to the repo.
<flow-root>/snail-<slug>/.node ../snail-flow/scripts/flow-state.mjs check <dir> on each <flow-root>/snail-*/ that has a runbook.yaml (skip runbook-less folders such as the standalone snail-review location) and pick the flow whose next is 5 (a standalone install skips every flow-state.mjs call and works flow-less). For external artifacts no git ignore configuration is needed. With explicit --in-repo and no flow-state script, first check that git rev-parse --git-common-dir succeeds; outside git there is nothing to ignore. Inside git, add the flow root's repo-relative path on its own line to $(git rev-parse --git-common-dir)/info/exclude before writing (escape gitignore special characters); warn if artifacts are already tracked. Do not change .gitignore. Require missing 5 - VERIFY.yaml there. If no flow identifies the work, ask for a slug.5 - VERIFY.yaml: advance <dir> --skip --note=<reason> records the reason in the runbook. A block awaiting a user answer is not skippable - it follows the stop path below (note + set status=blocked, never --skip). Otherwise write the verification report to 5 - VERIFY.yaml from ../snail-flow/templates/5 - VERIFY.yaml (list every receipt path), then node ../snail-flow/scripts/flow-state.mjs advance <dir> --result=pass --receipts=<a,b> only when every command passed. On failure note <dir> <reason>.Understand intent
2 - PLANNING.yaml) in the selected flow or PR directory.Find verification steps
verification key (a light plan's per-step check commands serve)..agents/verify/VERIFICATION.md - a legacy project-level note: read it if it exists, never write or delete it. When it supplies the steps, offer to move them into the project's documentation.Stop if verification is unclear
note <dir> 'verify blocked: awaiting user answer' and set <dir> status=blocked; do not advance and do not --skip (the gate refuses both on a blocked flow, and a skip would let the flow continue to PR unverified). When the user answers, set <dir> status=in-progress and re-run verify.Exercise the feature
snail-implement (node scripts/run-with-receipt.mjs <dir>/receipts <label> -- <command> in that skill's directory). A standalone install without snail-implement has no runner — run the commands directly and record command plus result in the report. Record each command's receipt path in the report; a step without a valid passing receipt did not pass.Report
PASS or FAIL. Never declare PASS without observed feature behavior; receipts and passing tests alone do not pass.5 - VERIFY.yaml and advance only on an overall PASS; the gate refuses --result=pass that lacks valid receipts.Run this skill in a subagent when the harness supports it (a size: light flow may run it inline).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yoglib/snail --plugin snail11 skills in this plugin
/snailExperimental single-skill workflow from investigation to PR, with approval stops or explicit auto mode./snail-ai-toolbeltPointer to external AI tools and MCPs. Use when the user asks about the toolbelt, which tools are used, or how to install a recommended tool. This skill does not install tools./snail-alternativesSuggest up to 3 viable alternatives for a code or design decision. Includes mandatory independent review. Use when the user asks for alternatives, options, "better ways", or review of supplied options.