/jleechan-skills:extended-library:evidence-checkfrom jleechan-skills
Validates a PR body against the Evidence Gate CI check locally, verifying the Evidence section, claim class, and media proof before pushing.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /jleechan-skills:extended-library:evidence-check still runs it.
Run this before pushing a PR to catch Evidence Gate failures locally instead of waiting for CI.
/evidence-check [--pr N]
--pr N: PR number to check. If omitted, detects from current branch via gh pr status.The Evidence Gate CI check (wholesome.yml "Evidence Has Media Attachment") has three hard requirements:
## Evidence (H2 heading)**Claim class**: <unit|integration|pipeline-e2e|pr-lifecycle-e2e|merge-gate>\```**Terminal output**: or **Test output**: followed by non-whitespaceWhat FAILS the CI check:
**Media**: <path> — placeholder path without actual image URL**Test output**: <value> — inline value without code block or URL#!/bin/bash
set -euo pipefail
PR_NUM="${1:-}"
if [ -z "$PR_NUM" ]; then
PR_NUM=$(gh pr status --json number --jq '.current.number // empty')
fi
BODY=$(gh api repos/jleechanorg/agent-orchestrator/pulls/"$PR_NUM" --jq '.body')
echo "=== Evidence Gate Local Check ==="
echo "PR #$PR_NUM"
echo ""
FAIL=0
# Check 1: Evidence section
if printf '%s' "$BODY" | grep -qiE '^[[:space:]]*##[[:space:]]+[Ee]vidence([[:space:]]|$)'; then
echo "✓ Evidence section found"
else
echo "✗ MISSING: No ## Evidence section found"
FAIL=1
fi
# Check 2: Claim class
CLAIM=$(printf '%s' "$BODY" | grep -i '\*\*Claim class' | grep -v '^- ' | head -1 | sed 's/.*\*\*Claim class\*\*: *//I' | sed 's/(.*//' | tr -d '*' | tr '[:upper:]' '[:lower:]' | tr ' ' '-' | sed 's/^[ \t-]*//;s/[ \t-]*$//')
if [ -n "$CLAIM" ]; then
echo "✓ Claim class: $CLAIM"
else
echo "✗ MISSING: No **Claim class** found"
FAIL=1
fi
# Check 3: Media proof (within Evidence section only)
EVIDENCE=$(printf '%s\n' "$BODY" | awk '
BEGIN { IGNORECASE=1 }
/^[[:space:]]*##[[:space:]]+[Ee]vidence([[:space:]]|$)/ { in_section=1; next }
in_section && /^[[:space:]]*##[[:space:]]/ { exit }
in_section { print }
')
if [ -n "$EVIDENCE" ]; then
if printf '%s' "$EVIDENCE" | grep -qiE '!\[[^]]*\]\(https://[^)]+\)'; then
echo "✓ Media: markdown image with HTTPS URL"
elif printf '%s' "$EVIDENCE" | grep -q '```'; then
echo "✓ Media: code block found"
elif printf '%s' "$EVIDENCE" | grep -qiE '\*\*(Test|Terminal) output\*\*:[[:space:]]+\S'; then
echo "✓ Media: structured terminal/test output"
else
echo "✗ MISSING: No media found in Evidence section"
echo " Expected:  OR \`\`\`...\`\`\` OR **Terminal output**: <value>"
FAIL=1
fi
fi
echo ""
if [ $FAIL -eq 0 ]; then
echo "PASS: PR body will pass Evidence Gate CI"
exit 0
else
echo "FAIL: Fix Evidence Gate issues before pushing"
exit 1
fi
0: PR body passes all Evidence Gate checks1: One or more checks fail — fix before pushingWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
176 commands in this plugin
/abalAlias for /ablation./ablationAblation — measure a disputed root cause by replaying the real payload through the real path, one variable per arm, control first/adviceIndependent full-scope second opinion bound to an exact SHA or document bundle. Follow the canonical advice skill for lifecycle-dependent quorum, capability tiers, reviewer-class caps, deadlines and receipts; /research is nonvoting./article/article [request]Research, write, revise, or stage a source-grounded long-form article/auto/auto Command/backend-firstBackend First/backend-first - isolate and prove deterministic backend executionOther plugins' commands for the same job