Skip to content

ericrisco/rsc-harness / skills/testing-go

testing-go

Verified

Use when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden files, and testing concurrent goroutines deterministically. NOT general Go code or modules (that is `go`), NOT pytest fixtures (that is `testing-py`), NOT browser user flows (that is `e2e-testing`).

FileKindSize
SKILL.mdskill md14.5 KB
evals/README.mdmarkdown800 B
evals/cases.yamlconfig3.4 KB
references/coverage-and-benchmarks.mdmarkdown3.8 KB
references/mocks-and-fakes.mdmarkdown4.4 KB
references/synctest-and-concurrency.mdmarkdown4.0 KB
scripts/verify.shexecutablescript1.9 KB

evals/README.md

View on GitHub
# Evals for testing-go

These cases are prompts to sanity-check routing and capability coverage, not an automated test harness. To exercise routing, feed each `should_trigger` and `should_not_trigger` prompt to the skill router and confirm that `testing-go` is selected for the former and the named sibling (`go`, `testing-py`, `testing-web`, `e2e-testing`, `review`) for the latter. For the `capability` entry, give the scenario to the agent with this skill loaded and check the generated Go test code against the `must_include` rubric by hand — every bullet should be visibly satisfied (table-driven subtests, synctest/fake clock with no real sleep, correct parallel handling, a fake or httptest double, `-race` plus a coverage command, and a `b.Loop()` benchmark). No CI integration is assumed.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall