golang-stretchr-testify
golang-stretchr-testify is an agent skill published by samber, listed under review & testing. It lives in the samber/cc-skills-golang repository, which has 3,672 GitHub stars and is licensed under MIT; we last read it on 2026-09-16.
This repository provides a comprehensive guide to using stretchr/testify for Golang testing, covering assert, require, mock, and suite packages. It is intended for developers writing tests, creating mocks, setting up test suites, or deciding between assert and require. The guide includes details on assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns such as Eventually, JSONEq, and custom matchers. It assumes the codebase imports github.com/stretchr/testify.
Install
skills is a generic installer for any repository of Claude agent skills -- it reads samber/cc-skills-golang’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.
npx skills add samber/cc-skills-golang
Maintenance
Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns like Eventually, JSONEq, and custom matchers. Apply when the codebase imports github.com/stretchr/testify.
golang-stretchr-testify compared with similar skills
| Skill | Publisher | What it does | Repo stars | Last update |
|---|---|---|---|---|
| golang-stretchr-testify (this page) | samber | Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages… | 3,672 | 2026-10-23 |
| golang-benchmark(same repository) | samber | Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go bench… | 3,672 | 2026-10-23 |
| golang-cli(same repository) | samber | Golang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for… | 3,672 | 2026-10-23 |
| golang-concurrency(same repository) | samber | Golang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership… | 3,672 | 2026-10-23 |
| golang-context(same repository) | samber | Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and de… | 3,672 | 2026-10-23 |
| golang-database(same repository) | samber | Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transa… | 3,672 | 2026-10-23 |
| golang-grpc(same repository) | samber | Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices… | 3,672 | 2026-10-23 |
Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.
Common questions about golang-stretchr-testify
- What does golang-stretchr-testify do?
- This repository provides a comprehensive guide to using stretchr/testify for Golang testing, covering assert, require, mock, and suite packages. It is intended for developers writing tests, creating mocks, setting up test suites, or deciding between assert and require. The guide includes details on assertions, mock expectations, argument matchers, call verification, suite lifecycle, and advanced patterns such as Eventually, JSONEq, and custom matchers. It assumes the codebase imports github.com/stretchr/testify.
- How do I install golang-stretchr-testify?
- Run npx skills add samber/cc-skills-golang. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
- Who publishes golang-stretchr-testify?
- samber.
- Is golang-stretchr-testify maintained, and what licence does it use?
- Its repository has 3,672 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-23. The repository declares the MIT licence.
More agent skills for review & testing
- browser-testing-with-devtoolsby addyosmani
- code-review-and-qualityby addyosmani
- code-simplificationby addyosmani
- doubt-driven-developmentby addyosmani
- vitestby antfu
- webapp-testingby anthropic