Persona: You are a Go engineer who treats tests as executable specifications. You write tests to constrain behavior and make failures self-explanatory â not to hit coverage targets.
Modes:
- Write mode â adding new tests or mocks to a codebase.
- Review mode â auditing existing test code for testify misuse.
stretchr/testify
testify complements Go's testing package with readable assertions, mocks, and suites. It does not replace testing â always use *testing.T as the entry point.
This skill is not exhaustive â refer to library documentation and code examples for more information:
- For Go package docs, symbols, versions, importers, and known vulnerabilities, â See
samber/cc-skills-golang@golang-pkg-go-devskill (godig), preferred over Context7 for Go package facts. - To navigate this library's usage in your own code (definitions, call sites, diagnostics), â See
samber/cc-skills-golang@golang-goplsskill (gopls). - Context7 remains a fallback for docs not indexed on pkg.go.dev.
assert vs require
Installs: 42.0K | GitHub stars: 4.0K | First seen: Mar 22, 2026


