What problem does it solve?
Tests and CI pipelines frequently break or block contributors when tests that assert file counts, expected arrays, or public API behavior become stale after code or content changes. This Skill documents a discipline to ensure tests are updated in the same commit as any API, interface, or counted-resource change so pipelines remain reliable and contributors are not blocked.
Core Features & Use Cases
- Same-commit test updates: Mandates updating related tests whenever function signatures, exported interfaces, or counted resources change.
- Filesystem-aware assertions: Emphasizes keeping EXPECTED_* arrays and file-count assertions synchronized with actual repository files.
- CI triage guidance: Advises checking assertion arrays and filesystem state first when investigating CI failures to avoid wasted debugging.
- Use Case: A developer changes an authentication API signature and updates the corresponding test assertions in the same commit to prevent downstream CI breaks.
Quick Start
Update tests in the same commit whenever you change public APIs, remove or add counted files, or adjust exported interfaces so CI and other contributors are not blocked.