CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/go-unit-tests

Use whenever the task is to write, add, fix or review Go tests, even a quick table-driven test for one function: t.Run subtests, t.Parallel, helpers, fuzz tests, benchmarks, race detection and coverage with go test, plus Ginkgo and gomock or testify mocks.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, highly actionable reference with excellent progressive disclosure: executable examples in every section and clean offloading of Ginkgo and mocking detail to real bundle files. The main gaps are minor redundancy in framework detection, a bit of explanation of concepts Claude already knows, and the absence of an explicit verify-the-test-you-just-wrote checkpoint in the authoring workflow.

Suggestions

Add an explicit validation checkpoint to the authoring workflow: after writing a test, run it (e.g. `go test -run TestXxx ./pkg/...`) and confirm the expected pass/fail outcome before proceeding, with a fix-and-rerun loop on failure.

Deduplicate the framework-detection guidance: 'Choosing a framework' item 3 and 'Authoring conventions' item 1 both spell out the Ginkgo-in-go.sum / *_suite_test.go detection — keep one and cross-reference it from the other.

Trim explanations of concepts Claude already knows, e.g. "Go's `testing` package is stdlib - no separate install, no configuration file" and "The `// Output:` comment is the assertion; examples appear in `go doc`".

DimensionReasoningScore

Conciseness

The body is a lean, example-driven reference with almost no tutorial padding, but includes a few explanations Claude already knows ("Go's `testing` package is stdlib - no separate install", "The `// Output:` comment is the assertion; examples appear in `go doc`") and duplicates the Ginkgo-detection signals between "Choosing a framework" item 3 and "Authoring conventions" item 1. This fits the 'efficient with minor instances of over-explanation that could be trimmed' anchor rather than the every-token-earns-its-place top anchor.

4 / 5

Actionability

Every section provides copy-paste-ready, executable material: complete Go test code (table-driven, parallel, benchmark, example, fuzz), concrete shell invocations (`go test -bench=. -benchmem`, `-coverprofile`, `-fuzz=FuzzAdd -fuzztime=30s`), a working coverage-threshold shell gate, CI YAML, and a go-junit-report pipeline. This matches the fully-executable anchor covering the common cases.

5 / 5

Workflow Clarity

Steps 1–9 give a clear progression from first test through CI, reinforced by a framework-selection decision procedure and authoring rules with explicit stop conditions ("Conflicting signals → stop and ask"). It falls short of the top anchor because the authoring workflow has no explicit validation checkpoint or fix-retry loop — it never instructs running the newly written test to confirm it passes/fails as expected — though it is well above the level-3 anchor's implicit-checkpoint standard.

4 / 5

Progressive Disclosure

The body is a well-organized stdlib overview, with framework-specific detail appropriately split into real, one-level-deep bundle files that are clearly signaled with purpose ("[references/ginkgo.md](references/ginkgo.md)" for BDD/K8s ecosystems, "[references/go-mocking.md](references/go-mocking.md)" for interface mocking) and indexed again in a References section; the references point back to SKILL.md rather than nesting further. This matches the clear-overview/well-signaled-references top anchor.

5 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: an explicit trigger clause with natural user phrasing, a comprehensive and concrete capability inventory, and an unambiguous Go-testing niche. It answers both what and when without padding or over-claiming.

DimensionReasoningScore

Specificity

The description lists a comprehensive set of concrete capabilities: "t.Run subtests, t.Parallel, helpers, fuzz tests, benchmarks, race detection and coverage with go test, plus Ginkgo and gomock or testify mocks" — this matches the anchor for multiple specific concrete actions with comprehensive coverage, and exceeds the level-4 anchor (which expects minor gaps) by spanning the entire Go testing surface.

5 / 5

Completeness

Both questions are answered explicitly: 'when' via "Use whenever the task is to write, add, fix or review Go tests, even a quick table-driven test for one function" and 'what' via the full capability list. This matches the top anchor (clear and explicit what AND when with concrete trigger phrases), not the level-4 anchor where the 'when' could be more specific.

5 / 5

Trigger Term Quality

It uses the natural phrases a user would say: "write, add, fix or review Go tests", "even a quick table-driven test for one function", plus "go test", "fuzz tests", "benchmarks", "coverage", "race detection". Coverage includes action synonyms and framework names users actually mention; it fits the comprehensive-synonyms anchor rather than the level-4 'a few natural terms missing' anchor.

5 / 5

Distinctiveness Conflict Risk

The niche is unambiguous — Go testing with distinct triggers ("Go tests", "go test", Ginkgo, gomock/testify) — so it would not fire for document, generic-code, or other-language skills. It matches the clear-niche/minimal-conflict anchor; the level-4 anchor's 'minor overlap risk with closely related skills' does not apply since even the sister Rust skill is disjoint by language.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page