Skip to content

sno-ai/sno-station-skills / plugins/sno-station-standalone/skills/e2e-environment-preflight

e2e-environment-preflight

Verified

Check external services, hosts, browser sessions, model endpoints, and agents before an end-to-end run. MANUAL-ONLY: load when a caller names it. NEVER auto-load from context for ordinary testing or debugging.

FileKindSize
SKILL.mdskill md12.1 KB
scripts/selftest/run-selftest.shexecutablescript1.1 KB

scripts/selftest/run-selftest.sh

View on GitHub
#!/usr/bin/env bash
# Text contract for e2e-environment-preflight. Reads only files shipped in this payload.
set -Eeuo pipefail

selftest_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
skill_root="${1:-$(cd -- "$selftest_dir/../.." && pwd)}"

python3 - "$skill_root" <<'PY'
import pathlib
import sys

root = pathlib.Path(sys.argv[1])
text = " ".join((root / "SKILL.md").read_text(encoding="utf-8").split())

rules = {
    "manual only, named callers": "NEVER auto-load from context",
    "amber is red": "No row starts while any check is red. Amber is red.",
    "checks never repair": "Checks; never repairs.",
    "credential proved by a real call": "only a real call that returned a real response passes",
    "every check calibrated red once": "A check nobody has watched go red is not a check.",
    "environment red owes a check": "no such check exists, it is written before the journey closes",
}

missing = [name for name, phrase in rules.items() if phrase not in text]
if missing:
    print(f"SKILL.md: missing rules: {', '.join(missing)}", file=sys.stderr)
    raise SystemExit(1)
PY

printf 'e2e-environment-preflight text contract passed\n'
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall