← Files AMDARCHIVED FILE

.github/scripts/check.sh

937 Bytes · Sep 30, 2026 · 23:13 UTC

↓ Download file

#!/usr/bin/env bash
# Validate every SKILL.md and eval dataset, and that generated plugin
# manifests are up to date. Runs no agent and spends no tokens.
#
# Usage:
#   ./.github/scripts/check.sh              Validate every skill, dataset, and manifest.
#   ./.github/scripts/check.sh -h|--help    Print this help.
#
# Requires `uv` (https://github.com/astral-sh/uv).

set -euo pipefail

ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT_DIR"

usage() {
  sed -n 's/^# \{0,1\}//p' "${BASH_SOURCE[0]}" | sed -n '/^Usage:/,/^Requires/p'
}

case "${1:-}" in
  "")
    uv run .github/scripts/validate_skills.py
    python eval/run_evals.py --validate
    uv run .github/scripts/generate_cursor_marketplace.py --check
    uv run .github/scripts/generate_codex_plugin.py --check
    ;;
  -h|--help)
    usage
    ;;
  *)
    echo "Unknown option: $1" >&2
    echo "Run with --help for usage." >&2
    exit 2
    ;;
esac

SHA-256: f856faf80697412117658bcd0b0958e761ef87ff0c0f751d090a54da3d94e8f2