go-test-engineering
Installation
SKILL.md
Go Test Engineering
Make Go tests trustworthy, strict, and maintainable. Optimize for their value as behavioral constraints, not for test count, coverage percentage, or a green go test ./... at any cost.
Non-Negotiable Principles
- Correctness outranks pass rate.
- Establish the intended contract before judging either the test or implementation.
- Fix or delete an incorrect, obsolete, duplicate, or meaningless test.
- Fix production code when a sound test exposes an implementation defect.
- Never weaken an assertion merely to accommodate current behavior.
- Test observable behavior and owned contracts, not incidental implementation details.
- Prefer the standard
testingpackage and the smallest useful test design. - Do not add tests solely to increase coverage.
Choose the Operating Mode
Infer the narrowest authorized mode from the request and state it before changing files.