Skip to content

KunanonJ/superstacks / plugins/superstacks/skills/verify-loop

verify-loop

Verified

Use when starting implementation or iterating a fix. Define a deterministic check for the acceptance criteria, run it red, then iterate until green.

FileKindSize
SKILL.mdskill md2.1 KB
scripts/check-snapshot-console.cjsscript2.7 KB
scripts/verify.pyscript1.5 KB
scripts/verify.shscript843 B

scripts/verify.sh

View on GitHub
#!/usr/bin/env bash
# Run a verification command and print pass/fail evidence. No extra packages.
# Usage: bash verify.sh -- <command> [args...]

set -uo pipefail

if [[ "${1:-}" == "--" ]]; then
  shift
fi

if [[ $# -lt 1 ]]; then
  printf 'usage: %s -- <command> [args...]\n' "$0" >&2
  exit 2
fi

printf 'VERIFY command: %s\n' "$*"
printf 'VERIFY started: %s\n' "$(date -u +%Y-%m-%dT%H:%M:%SZ)"

start_ns=0
if date +%s%N >/dev/null 2>&1; then
  start_ns=$(date +%s%N)
fi

set +e
"$@"
exit_code=$?
set -e

duration_ms="unknown"
if [[ "$start_ns" != 0 ]]; then
  end_ns=$(date +%s%N)
  duration_ms=$(( (end_ns - start_ns) / 1000000 ))
fi

printf 'VERIFY exit: %s\n' "$exit_code"
printf 'VERIFY duration_ms: %s\n' "$duration_ms"

if [[ "$exit_code" -eq 0 ]]; then
  printf 'VERIFY_PASS\n'
  exit 0
fi

printf 'VERIFY_FAIL\n'
exit "$exit_code"
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: 197kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall