CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/race-condition-test-author

Use when a bug only appears under load on shared in-process state (cache, counter, pool, lazy singleton), or a race needs a regression test before the fix. Forces interleavings with barriers and latches, and runs ThreadSanitizer, go test -race with goleak, or jcstress for the JVM.

Quality

92%

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

92%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.

An exemplary skill body: runnable code for every covered ecosystem, a sequenced workflow with explicit red-before/green-after validation and a retry loop, and well-organized one-level-deep references for Go-specific detail. The only improvement space is trimming minor redundancies between the body and the reference-list prose.

DimensionReasoningScore

Conciseness

The body is dense and expert-level with nearly every sentence carrying non-obvious, skill-specific guidance (barrier timeout rationale, TSan exitcode semantics, SQLite single-writer behavior). Minor trimmable instances exist: the References section re-describes content already stated in the body, and a few summary sentences ("Volume tests raise the odds; they never prove absence") repeat earlier points.

4 / 5

Actionability

Fully executable, copy-paste-ready examples across all covered stacks: a complete Python barrier test with monkeypatch and error collection, an asyncio double-checked lock, TSan/clang and go test -race commands with TSAN_OPTIONS, a full jcstress @JCStressTest class, a virtual-threads JUnit test, a Hypothesis property test, and CI YAML snippets. The common cases are covered concretely.

5 / 5

Workflow Clarity

Steps 1-7 are clearly sequenced from finding shared state through forcing interleavings, detectors, stress volume, and CI, with an explicit validation checkpoint (Step 6: test must fail before the fix, pass repeatedly after) and an error-recovery feedback loop ("If step 1 passed, the test does not reach the race. Widen the window... and repeat step 1"). The anti-patterns table reinforces the checkpoints.

5 / 5

Progressive Disclosure

Clear overview and step structure with Go-specific detail appropriately split into references/go.md and references/goleak-filter-options.md — both verified to exist, one level deep, and clearly signaled inline with markdown links plus a References section. Navigation is easy and nothing that belongs in a separate file is inlined at length.

5 / 5

Total

19

/

20

Passed

Description

88%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.

A strong description with explicit 'Use when' triggers, concrete state examples, and specific named tools covering both test authoring and detection. Its only weaknesses are a few missing natural trigger synonyms ('race condition', 'data race', 'flaky test') and slight overlap risk with adjacent concurrency skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions with named mechanisms and tools — "Forces interleavings with barriers and latches, and runs ThreadSanitizer, go test -race with goleak, or jcstress for the JVM" — covering both deterministic test authoring and detector tooling comprehensively. Not 4: coverage is comprehensive across both aspects of the skill rather than having minor gaps.

5 / 5

Completeness

Explicitly answers both: what ("Forces interleavings with barriers and latches, and runs ThreadSanitizer, go test -race with goleak, or jcstress") and when ("Use when a bug only appears under load on shared in-process state... or a race needs a regression test before the fix") with concrete trigger phrases. Matches the anchor for explicit what AND when with concrete triggers.

5 / 5

Trigger Term Quality

Good natural keyword coverage: "bug only appears under load", "regression test", and concrete state examples ("cache, counter, pool, lazy singleton"). A few common user phrasings are missing — "race condition", "data race", "flaky test", "concurrency" — so it falls short of the comprehensive-synonyms anchor.

4 / 5

Distinctiveness Conflict Risk

Clear niche (race-condition regression testing) with distinct triggers; "shared in-process state" scopes it away from database races. Minor overlap risk remains with closely related concurrency skills (deadlock detection, async ordering) whose problems a user might also describe as bugs under load.

4 / 5

Total

18

/

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