# Test Backed Change

> Add or update behavior-focused tests for code changes and run appropriate verification. Use when behavior changes, logic is added, or existing behavior could regress.

- Skill: `seemseam/test-backed-change` (Agent Skill)
- Install (CLI): `npx skillmds@latest add seemseam/test-backed-change`
- Raw SKILL.md: https://api.skillmd.com/api/skills/seemseam/test-backed-change/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: seemseam (https://skillmd.com/u/seemseam)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/seemseam/test-backed-change

---


# Test-Backed Change

Use this skill whenever implementation changes behavior.

Read `templates/test-proof.md` when reporting verification evidence.

## Workflow

1. Identify the behavior being changed.
2. Find the existing test style and test level for that behavior.
3. Add or update the smallest test that would fail if the behavior regressed.
4. Prefer public interfaces and observable behavior over implementation
   details.
5. Run the targeted test first.
6. Run broader tests when touched surface, shared code, or risk justifies it.
7. Report exact commands and results.

## Guardrails

- Do not add tests that only assert implementation details.
- Do not delete or weaken failing tests to make the suite pass.
- Do not claim behavior is verified when only typecheck or lint ran.
- If no test can be added reasonably, explain why and provide the strongest
  available alternative evidence.

## Output

```text
Test Proof
- behavior:
- test:
- command:
- result:
- remaining gap:
```

