core/capabilities/verification/testing-skills/SKILL.md
Use when authoring or editing a skill that enforces a rule an agent could rationalize past — a discipline skill — or when a shipped discipline skill is being skipped, ignored, or only partially followed. Also use when reviewing a discipline skill before release.
npx skillsauth add xoai/sage testing-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Behavioral proof for discipline skills — those that enforce a rule an agent could rationalize past. Structure is not compliance. This proves the skill holds under pressure, deterministically.
Use for a discipline skill: one whose value is that it runs even when the agent is tempted to skip it (mandatory reviews, quality gates, process steps). Signs: it says MUST/ALWAYS, lists "blocked rationalizations", or gates a phase.
Do not use for technique or reference skills — ones that inform but enforce nothing. Those are covered by the structural scorecard; they have no skip to prove.
No discipline skill ships without a failing behavioral test first. Applies to
new skills and edits. When you catch a discipline skill about to ship or change
without a RED→GREEN run, announce ⚡ RED baseline first and run it. If you
cannot point at that run, you are not done.
references/pressure-scenarios.md.Every discipline skill MUST carry all four (enforced by
validate-discipline-skill.sh):
compliance_marker — an exact string the real code path emits when
followed. Not a test-only echo.TESTS.md beside SKILL.md, latest green_verdict: PASS.## Rationalization table — observed excuses + counters
(references/rationalization-table.md).description — triggering conditions only, no workflow summary
(references/cso.md).develop/skill-tests/run-skill-test.sh <skill-dir> --both dispatches the
scenario with the skill withheld (RED) then present (GREEN). RED passes when the
marker is absent; GREEN when present. Off-platform it exits 2 with a manual-mode
instruction — a dev tool, never a runtime dependency.
testing
Root cause diagnosis with evidence, Reproducing test, Minimal patch
tools
Session resumption with context
tools
Configure Sage preset and project settings. Switch between base, startup, enterprise, or opensource constitution presets. Use when the user says "configure sage", "change preset", or "sage settings".
development
Brief (medium+ tasks), Spec, Implementation plan