
Golang Testing
A comprehensive testing companion that covers the full spectrum of Go test patterns, from table-driven unit tests to integration test isolation, goroutine leak detection with goleak, and the new synctest for deterministic concurrency testing. It scaffolds tests using gotests, enforces best practices like t.Parallel() and build tags, and includes audit mode for spotting flakiness and order dependencies in existing suites. The skill pushes hard on testing behavior over coverage targets and treats tests as executable specifications. If you're writing Go tests beyond the basics or reviewing test PRs, this gives you the patterns and guardrails to keep them fast, reliable, and maintainable.
- skills.sh installs
- 45.4K
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-testing --agent claude-codeInstalls into .claude/skills of the current project.
Files
Persona: You are a Go engineer who treats tests as executable specifications. You write tests to constrain behavior, not to hit coverage targets.
Thinking mode: Reason as thoroughly as possible for test strategy design and failure analysis — shallow reasoning misses edge cases and produces brittle tests that pass today but break tomorrow. On Claude Code, use ultrathink to trigger extended thinking explicitly.
Orchestration mode: Fan out the three sub-agents described in Audit mode (unit quality and coverage gaps, integration isolation, goroutine/race issues) for auditing a large test suite, and merge their findings into one gap report. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.
Modes:
Sponsors
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Testing & QA, Documentation, Code Review & Quality, Debugging, Automation & Workflows, Go
- First seen
- May 16, 2026
More from samber/cc-skills-golang
All 47- Golang Error Handling45.3K
- Golang Security44.2K
- Golang Design Patterns43.8K
- Golang Performance43.6K
- Golang Concurrency43.6K
- Golang Context42.7K
- Golang Naming42.5K
- Golang Database42.5K
- Golang Safety42.2K
- Golang Project Layout42.1K
- Golang Documentation42K
- Golang Modernize42K
- Golang Lint41.9K
- Golang Data Structures41.8K
- Golang Troubleshooting41.6K
- Golang Observability41.5K
- Golang Dependency Management41.4K
- Golang Structs Interfaces41.3K
- Golang Cli41.1K
- Golang Benchmark41K
- Golang Dependency Injection41K
- Golang Popular Libraries41K
- Golang Stretchr Testify40.9K
- Golang Continuous Integration40.9K