/validate:validate [plan] [commit-range | branch | paths...]from validate
Prove the session's work is correct — static checks, tests, and live runtime evidence — before calling it done.
Ships in validate. Installing the plugin adds it to Claude Code.
You are running a validation pass. Your job is to PROVE the recent work is correct — not to assume it. The full methodology lives in the plugin's skill; locate it, then follow it exactly.
Under Claude Code ${CLAUDE_PLUGIN_ROOT} expands to the plugin root at load
time (with a plugin-cache search as fallback); under Copilot CLI the plugin
lives beneath ~/.copilot/installed-plugins/:
SKILL="${CLAUDE_PLUGIN_ROOT}/skills/validate/SKILL.md"
if [ ! -f "$SKILL" ]; then
SKILL=$(find ~/.claude/plugins/cache -name SKILL.md -path '*/validate/*/skills/validate/*' 2>/dev/null | sort -V | tail -1)
fi
if [ -z "$SKILL" ] || [ ! -f "$SKILL" ]; then
SKILL=$(find ~/.copilot/installed-plugins -name SKILL.md -path '*/validate/skills/validate/*' 2>/dev/null | sort -V | tail -1)
fi
if [ -z "$SKILL" ] || [ ! -f "$SKILL" ]; then
echo "validate skill not found (checked \${CLAUDE_PLUGIN_ROOT}, ~/.claude/plugins/cache, ~/.copilot/installed-plugins). Is the plugin installed?" >&2
exit 1
fi
echo "$SKILL"
Read that SKILL.md. It routes to reference files in the same directory — read the ones the run needs.
Check these paths in order and read the first that exists (a previous run's verified commands for this project):
.claude/skills/validate-recipe/SKILL.md.github/skills/validate-recipe/SKILL.md.agents/skills/validate-recipe/SKILL.mdFollow the skill end to end. $ARGUMENTS (if non-empty) is an explicit scope
override — a commit range, branch, or list of paths; otherwise detect the
session scope as the skill describes. Plan-only mode is selected ONLY when
the first whitespace-separated token of $ARGUMENTS is exactly plan:
consume that token (the remainder, if any, is the scope), follow the skill
through its coverage declaration and stop there — print what would and would
not be validated, including whether the deployed-evidence phase would apply
and which caller-side and service-side sources it would try, caller first;
execute nothing. A scope path or branch that merely
contains the word (e.g. src/planner/, feature/plan-b) is a normal scope
and gets a full validation.
attempt 4 (consequential) is
allowed when the last round strictly reduced the red checks, the rest is
a diagnosed consequence of a validated change, and only fixtures/setup or
docs are touched; it must be labeled as such and carry its diagnosis and
diff — an undeclared fourth round makes the report itself FAIL, and there
is no attempt 5 (skill's reference/evidence.md). Missing environment is BLOCKED with the missing
piece named — never fabricate an env value, credential, or stub to make a
check run.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub guimatheus92/validate --plugin validateOther plugins' commands for the same job