Skip to content
InfratoApp
InfratoApp / Resources / Agent skills / golang-stretchr-testify

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

Stars
3672
State
listed
Licence
MIT
From the repository

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

golang-stretchr-testify compared with other skills for the same job, by publisher, what it does, repository stars and last update
SkillPublisherWhat it doesRepo starsLast update
golang-stretchr-testify (this page)samberComprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages…3,6722026-10-23
golang-benchmark(same repository)samberGolang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go bench…3,6722026-10-23
golang-cli(same repository)samberGolang CLI application development. Use when building, modifying, or reviewing a Go CLI tool — especially for…3,6722026-10-23
golang-concurrency(same repository)samberGolang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership…3,6722026-10-23
golang-context(same repository)samberIdiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and de…3,6722026-10-23
golang-database(same repository)samberComprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transa…3,6722026-10-23
golang-grpc(same repository)samberProvides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices…3,6722026-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

All review & testing entries →

Learn this on Infrato