Skip to content

sno-ai/sno-station-skills / plugins/sno-station-standalone/skills/e2e-red-triage

e2e-red-triage

Verified

Classify one unexpected end-to-end test failure as a product defect or an environment fault needing a new preflight check. MANUAL-ONLY: load when the suite runner names a specific failure. NEVER auto-load from context.

FileKindSize
SKILL.mdskill md5.6 KB
scripts/selftest/run-selftest.shexecutablescript1.2 KB

scripts/selftest/run-selftest.sh

View on GitHub
#!/usr/bin/env bash
# Text contract for e2e-red-triage. 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, one named caller": "NEVER auto-load from context",
    "split the collapsed result": "what are the two halves of this",
    "instrument before touching the product": "The first commit after this kind of red does not touch product behaviour.",
    "calibrate every new check": "Feed every new check a known-wrong input and watch it go red.",
    "close only with a durable check": "coming back with nothing durable is not",
    "stuck is not a pass": "a run that produced no verdict at all is not a pass and not a skip",
}

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-red-triage 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: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated 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