CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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

97%

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

The canonical home for this skill is testland/race-condition-test-author

SKILL.md
Quality
Evals
Security

Quality

Content

100%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: dense, executable guidance across Python, C/C++, Go, and the JVM with no filler, a clearly sequenced workflow with an explicit red/green checkpoint and retry loop, and an appropriate split of Go detail into two real, well-signaled reference files. Nothing in the content warrants a deduction on any dimension.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence: it never explains what a race or thread is, and every section carries skill-specific, non-obvious information (barrier-in-window semantics, assertions failing silently in worker threads, detector overhead figures, jcstress result semantics). Nothing reads as padding, so it matches the 'every token earns its place' anchor rather than the 'minor instances of over-explanation' anchor at 4.

5 / 5

Actionability

All guidance is executable and copy-paste ready across four ecosystems: a complete Python barrier test with monkeypatching, clang/TSAN_OPTIONS commands, a complete jcstress test with annotations, a Java virtual-thread volume test, a Hypothesis property test, and CI YAML steps. Specific examples cover the common cases, matching the fully-executable anchor; there are no pseudocode or high-level-only sections.

5 / 5

Workflow Clarity

Steps 1-7 are clearly sequenced (find state, force interleaving, detectors, jcstress, volume, checkpoint, CI), and Step 6 is an explicit validation checkpoint with a feedback loop: "If step 1 passed, the test does not reach the race. Widen the window (Step 2 hook), move the gate closer... and repeat step 1". The anti-patterns table and the red-before-fix/green-after rule add error-recovery guidance, matching the top anchor.

5 / 5

Progressive Disclosure

The main file is a well-organized cross-language overview, with Go-specific depth (GORACE options, -count/-cpu stress, go vet, goleak, CI matrix) correctly split into references/go.md and references/goleak-filter-options.md — both real files, directly linked with clear signals of their contents ("The full Go workflow... is in references/go.md"), and both also listed in the References section. References are one level deep from the skill (both files are directly reachable), so navigation matches the clear-overview top anchor.

5 / 5

Total

20

/

20

Passed

Description

92%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 tightly written description that names concrete capabilities, tools, and trigger contexts in third-person voice with an explicit "Use when" clause. The only weakness is a handful of missing natural synonyms ("data race", "flaky under load", "concurrency bug") that some users would use when describing the problem.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions with named tools: "Forces interleavings with barriers and latches, and runs ThreadSanitizer, go test -race with goleak, or jcstress for the JVM". Coverage spans both of the skill's pillars (deterministic interleaving tests and detector harnesses) with no meaningful gaps, matching the comprehensive-coverage anchor rather than the 'minor gaps' anchor at 4.

5 / 5

Completeness

Both parts are explicit: the "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" clause gives concrete trigger phrases, and the second sentence clearly states what the skill does. This matches the anchor for clearly and explicitly answering both what and when with concrete triggers; 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Strong natural phrases users would say: "bug only appears under load", "shared in-process state (cache, counter, pool, lazy singleton)", "race needs a regression test", plus tool names (ThreadSanitizer, go test -race, jcstress). A few common synonyms are missing — "data race" as a phrase, "flaky test", "concurrency bug" — so it fits the 'good keyword coverage; a few natural terms missing' anchor rather than the comprehensive-synonyms anchor at 5.

4 / 5

Distinctiveness Conflict Risk

The niche is distinct — regression tests for data races on shared in-process state, with tool-specific triggers (TSan, -race, jcstress) — and adjacent concerns (deadlocks, async ordering, database races) are explicitly scoped out to sister skills in the body. Conflict risk with other skills is minimal, matching the clear-niche anchor.

5 / 5

Total

19

/

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.

Repository

testland/qa

Path

plugins/qa-concurrency/skills/race-condition-test-author/SKILL.md

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.