A comprehensive reference for writing tests with stretchr/testify in Go. Covers the assert versus require distinction (when to stop on failure versus collect all errors), the full assertion API including Eventually and JSONEq, mock setup with argument matchers and call verification, and the suite lifecycle for shared test fixtures. Written as executable specifications rather than coverage chasing. The skill includes gotests integration for scaffolding and warns about common pitfalls like forgetting AssertExpectations or using assert where require would prevent nil panics. Useful anytime you're writing Go tests that import testify, setting up mocks, or deciding between assertion styles. Pairs well with testifylint to catch argument order mistakes.
npx skills add https://github.com/samber/cc-skills-golang --skill golang-stretchr-testify