CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

parallelism

Run Ginkgo suites in parallel — ginkgo -p / --procs, the separate-process (not goroutine) model, SynchronizedBeforeSuite/SynchronizedAfterSuite vs BeforeSuite, GinkgoParallelProcess() for sharding ports/tmpdirs/databases, building a binary once via gexec, piping child-process output to GinkgoWriter, and what N processes actually cost (compilation vs teardown, and the fixed ~1s --race adds per suite — GORACE=atexit_sleep_ms=0). Use when parallelizing a suite, speeding up integration tests, auditing why a parallel run is slow, fixing parallel-only flakes/races, sharding external resources, or choosing between BeforeSuite and SynchronizedBeforeSuite.

Quality

96%

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

SKILL.md
Quality
Evals
Security

Quality

Content

90%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 high-quality, dense reference body: every explanation is Ginkgo-specific and non-obvious, every code sample is executable, and decision guidance (BeforeSuite vs SynchronizedBeforeSuite table, DB strategy tiers, singleton-collision diagnosis) is concrete. It sits just below top marks on workflow clarity, being organized as a reference rather than a validated step sequence, and on progressive disclosure, where all content is inlined with no bundle files to offload detail into.

Suggestions

Add a short step-sequenced diagnostic workflow (e.g. for auditing a slow parallel run or triaging a parallel-only flake: reproduce with -p → precompile with ginkgo build -r to exclude compile time → check for the flat per-suite ~1s --race gap → identify shared singletons → shard by GinkgoParallelProcess()) with an explicit verify step after each fix, which would raise workflow clarity to a full validation-loop structure.

Move the deep 'What the N processes cost' / --race teardown-cost analysis into a references/ file (e.g. references/performance.md) linked from a two-line summary in SKILL.md, keeping the main file to the flags, mental model, and setup patterns — this would make the inline/offline split fully appropriate and raise progressive disclosure.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence: it explains only Ginkgo-specific, non-obvious mechanics (the separate-process model, the ~1s ThreadSanitizer atexit sleep, the output interceptor hang) and never generic programming concepts. Every section earns its place — the opening line 'Parallelism is where Ginkgo's "every spec is independent" assumption earns its keep' is two clauses doing real orientation work, and there is no padded prose to trim, matching the 'Lean and efficient; every token earns its place' anchor.

5 / 5

Actionability

Guidance is fully executable throughout: runnable bash ('ginkgo -p', '--procs=4', 'GORACE=atexit_sleep_ms=0 ginkgo -r -p --race'), copy-paste-ready Go using real APIs (SynchronizedBeforeSuite with []byte distribution, gexec.Build, GinkgoParallelProcess() port/tmpdir sharding), and a concrete audit command ('precompile with ginkgo build -r'). This matches the score-5 anchor ('Fully executable; copy-paste ready code or commands; specific examples cover the common cases') — nothing is pseudocode.

5 / 5

Workflow Clarity

The material is well-sequenced conceptually (flag → mental model → costs → setup → sharding → integration patterns) and includes diagnostic decision guidance ('Specs that pass in series but fail mysteriously under -p are almost always colliding on a shared singleton... Shard it by process index'), but the skill is reference-style rather than a step-sequenced workflow with explicit validation checkpoints. It fits the score-4 anchor ('Clear sequence with most checkpoints present; minor validation gaps') better than the score-5 anchor, which requires explicit validation steps and feedback loops the parallel-audit and flake-fixing paths only imply.

4 / 5

Progressive Disclosure

Section structure is clear and consistently navigable, with one-level-deep cross-references to sibling skills signaled by '→' (e.g. '→ ginkgo:running', '→ ginkgo:decorators'). However, no bundle files exist (references/, scripts/, assets/ are absent), so the entire ~110-line treatment — including deep diagnostic material like the --race teardown cost analysis — lives inline in SKILL.md; that content could arguably be split out, which fits the score-4 anchor ('Good structure; most content is appropriately placed; minor organization gaps') rather than the score-5 anchor's fully appropriate split.

4 / 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: it enumerates every concrete capability with correct API and flag names, pairs them with an explicit and varied 'Use when...' trigger clause, and stays tightly scoped to Ginkgo parallelism. Third-person voice throughout, no buzzwords or over-claims, and every clause is specific rather than padded.

DimensionReasoningScore

Specificity

The description lists multiple concrete, named capabilities: 'ginkgo -p / --procs', 'SynchronizedBeforeSuite/SynchronizedAfterSuite vs BeforeSuite', 'GinkgoParallelProcess() for sharding ports/tmpdirs/databases', 'building a binary once via gexec', and 'piping child-process output to GinkgoWriter' — comprehensive coverage of the skill's actions with no vague filler. This matches the anchor 'Lists multiple specific concrete actions; comprehensive coverage' and exceeds the score-4 example, which admits minor gaps.

5 / 5

Completeness

It explicitly answers both questions: 'what' is given in the opening capability list ('Run Ginkgo suites in parallel — ginkgo -p / --procs, the separate-process model...') and 'when' is an explicit 'Use when' clause with six concrete trigger scenarios. This matches the anchor example exactly ('Clearly and explicitly answers both what AND when with concrete trigger phrases') rather than the score-4 anchor, whose 'when' is less specific.

5 / 5

Trigger Term Quality

The 'Use when...' clause covers the natural phrases a user would actually say: 'parallelizing a suite, speeding up integration tests, auditing why a parallel run is slow, fixing parallel-only flakes/races, sharding external resources'. Combined with technical keywords (Ginkgo, --procs, BeforeSuite, gexec) this is comprehensive trigger coverage; it is not below the score-4 anchor because no common synonym for the domain is missing.

5 / 5

Distinctiveness Conflict Risk

The description carves a clear niche — Ginkgo (not generic Go test) parallelization — with distinct triggers like 'choosing between BeforeSuite and SynchronizedBeforeSuite' and 'parallel-only flakes' that no sibling skill (e.g. a general 'running Ginkgo' skill) would claim. Conflict risk is minimal, matching the 'Clear niche with distinct triggers' anchor; the score-4 anchor's 'minor overlap risk with closely related skills' does not apply because parallelism is explicitly fenced off from general running concerns.

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.

Repository

onsi/ginkgo

Path

plugins/ginkgo/skills/parallelism/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.