sno-ai/sno-station-skills / plugins/sno-station-standalone/skills/test-writer
test-writer
VerifiedWrite and improve test-owned code: tests, test scripts, fixtures, evals, and test-only helpers. Use whenever Codex is asked to create or change test code. Its only job is to produce the strongest practical tests in the repository's existing harness, run them, and fix defects in the test code.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.6 KB |
| references/eval-sim-patterns.md | markdown | 8.5 KB |
| scripts/selftest/run-selftest.shexecutable | script | 874 B |
scripts/selftest/run-selftest.sh
View on GitHub#!/usr/bin/env bash
# Deployable contract check for Test Writer's core testing principles.
set -u
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SOURCE="$DIR/../../SKILL.md"
[ -f "$SOURCE" ] || { echo "cannot find SKILL.md above $DIR"; exit 2; }
fail=0
require() {
if grep -Fq -- "$1" "$SOURCE"; then
echo "PASS required: $1"
else
echo "FAIL missing: $1"
fail=1
fi
}
require "Write the best test code"
require "The output of this skill is test-owned code and the result of running it."
require "Everything should be real."
require "We hate mocking."
require "Assert observable results."
require "A test must catch a real defect."
require "Use realistic data."
require "Run the narrowest command that executes the changed test."
if [ "$fail" = 0 ]; then
echo "test-writer selftest: PASS"
else
echo "test-writer selftest: FAIL"
fi
exit "$fail"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |