CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests. For testify-specific APIs see `samber/cc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber/cc-skills-golang@golang-benchmark`.

84

1.02x
Quality

82%

Does it follow best practices?

Impact

86%

1.02x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

64%

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

This is a solid, comprehensive Go testing skill with excellent actionability — nearly every concept is backed by executable code examples. Its main weaknesses are moderate verbosity (the persona/modes preamble, some restated rules) and a lack of explicit step-by-step workflows with validation checkpoints for the defined modes. The progressive disclosure structure references external files appropriately but the main file carries substantial inline content.

Suggestions

Add explicit step-by-step workflows with validation checkpoints for at least the Write and Debug modes (e.g., 'Step 1: scaffold with gotests → Step 2: enrich edge cases → Step 3: run with -race → Step 4: verify coverage delta').

Trim the persona and modes preamble — the mode descriptions could be condensed to a bullet list without the explanatory sentences, saving ~15 lines of tokens.

Move the synctest and benchmark sections (which are substantial) into reference files to reduce the main file length and improve progressive disclosure.

DimensionReasoningScore

Conciseness

The skill is fairly comprehensive but includes some unnecessary verbosity. The best practices summary is useful but some sections like 'Unit tests should be fast (< 1ms), isolated (no external dependencies), and deterministic' restate what's already in the summary. The persona/modes preamble adds tokens without much actionable value. The synctest section is detailed but could be tighter. Overall mostly efficient with some fat to trim.

2 / 3

Actionability

The skill provides fully executable, copy-paste-ready code examples throughout: table-driven tests, goleak setup, fuzzing, benchmarks, parallel tests, integration tests with build tags, coverage commands, and a comprehensive quick reference of CLI commands. Every major concept has concrete, runnable code.

3 / 3

Workflow Clarity

The skill defines four modes (Write, Review, Audit, Debug) with brief descriptions, but lacks explicit step-by-step workflows with validation checkpoints for any of them. Debug mode mentions 'reproduce reliably, isolate the failing assertion, trace the root cause' but doesn't provide concrete validation steps. The best practices are listed as rules rather than sequenced workflows. For a skill covering potentially destructive operations like test suite auditing, explicit feedback loops are missing.

2 / 3

Progressive Disclosure

The skill references several external files (./references/http-testing.md, ./references/helpers.md, ./references/mocking.md, ./references/integration-testing.md) and cross-references other skills, which is good structure. However, no bundle files were provided, so these references cannot be verified. The main file itself is quite long (~300+ lines) with substantial inline content that could potentially be split further. The cross-references section at the end is well-organized but the inline content is borderline monolithic.

2 / 3

Total

9

/

12

Passed

Description

100%

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

This is an excellent skill description that hits all the marks. It provides a comprehensive list of specific testing capabilities, includes natural trigger terms that Go developers would use, explicitly states when to use the skill, and even disambiguates from related skills with cross-references. The third-person voice and concise structure make it highly effective for skill selection.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions and techniques: table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, and idiomatic test naming.

3 / 3

Completeness

Clearly answers both 'what' (production-ready Golang tests with specific techniques listed) and 'when' (explicit 'Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests'). Also includes cross-references to related skills for disambiguation.

3 / 3

Trigger Term Quality

Excellent coverage of natural terms users would say: 'Go tests', 'Golang tests', 'table-driven tests', 'testify', 'mocks', 'fuzzing', 'code coverage', 'integration tests', 'flaky tests', 'slow tests', 'parallel tests', 'goleak'. These are terms developers naturally use when seeking testing help.

3 / 3

Distinctiveness Conflict Risk

Clearly scoped to Go/Golang testing specifically, with explicit boundary-setting via cross-references to the testify-specific and benchmark skills. The domain (Go testing) and the specific techniques mentioned make it highly distinguishable from other skills.

3 / 3

Total

12

/

12

Passed

Validation

81%

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

Validation9 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

9

/

11

Passed

Repository
samber/cc-skills-golang
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.