CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/sidekiq-tests

Use whenever Ruby Sidekiq workers need tests: the fake!, inline! and disable! testing modes, RSpec and Minitest helpers, clearing jobs between tests, and assertions on enqueued jobs, arguments, scheduling, retries and unique jobs.

Quality

90%

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

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

The body is a dense, well-sequenced guide with copy-paste-ready Ruby/RSpec/Minitest/CI examples, a useful symptom→fix anti-patterns table, and honest limitations. It assumes Claude's competence (no basic-concept padding) but repeats the Redis-bypass guidance across several sections and includes a couple of non-executable placeholders, keeping most dimensions at the second-highest anchor.

Suggestions

Replace the literal placeholder in Step 1 (`expect(...).to ...`) with a complete, executable assertion so every code block is copy-paste ready.

Consolidate the 'Sidekiq API bypasses testing mode / use disable! + real Redis' guidance, which currently appears in Step 5, Step 7, two anti-pattern rows, and Limitations, into one canonical section with step cross-references.

Make Step 5's real-Redis advice concrete with an actual Docker or Testcontainers command, mirroring the specificity of the CI service-container example in Step 8.

DimensionReasoningScore

Conciseness

Mostly lean — no time is spent explaining what Sidekiq, RSpec, or Minitest are, and the mode table plus code blocks carry the information density. Not 5: the "Sidekiq API always hits Redis / needs real Redis" fact is restated in Step 5, Step 7, two anti-pattern rows ("API hits Redis, not the fake jobs array", "Uniqueness lock isn't enforced"), and Limitations ("bypass the testing mode and always hit Redis") — minor trimming is possible.

4 / 5

Actionability

Nearly all guidance is executable Ruby/YAML: `require 'sidekiq/testing'`, `Sidekiq::Worker.clear_all`, `HardWorker.drain`, and the `expect(job["at"]).to be_within(5.seconds)...` assertion are copy-paste ready. Not 5: Step 1 contains a literal placeholder (`expect(...).to ...`) and Step 5's "Docker / Testcontainers" suggestion lacks a concrete setup command.

4 / 5

Workflow Clarity

Steps 1–8 are clearly numbered and sequenced (configure mode → clear jobs → assert → drain → scheduled → retry → unique → CI) with explicit cross-references ("(Step 2)", "(Step 3)"), and the anti-patterns table maps symptom → "Why it fails" → "Fix", giving error-recovery guidance. Not 5: there are no explicit validate/verify checkpoints beyond the tests themselves, though no destructive/batch cap applies.

4 / 5

Progressive Disclosure

A single self-contained file (~190 lines) with well-organized sections (overview table, numbered steps, anti-patterns, limitations) and nothing buried; no bundle files exist to reference. Not 5: it exceeds the under-50-line simple-skill exception and content such as CI integration could be split into reference files; not 3: structure and navigation are clear throughout.

4 / 5

Total

16

/

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.

The description is a model example: it names the exact niche (Ruby Sidekiq worker testing), enumerates concrete capabilities (three testing modes, framework-specific helpers, job clearing, and a full range of assertion targets), and opens with an explicit "Use whenever" trigger clause. Every dimension lands at the top anchor with no fluff, over-claims, or missing natural keywords.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "the fake!, inline! and disable! testing modes", "RSpec and Minitest helpers", "clearing jobs between tests", and "assertions on enqueued jobs, arguments, scheduling, retries and unique jobs" — with comprehensive coverage of the Sidekiq-testing domain and no vague filler. Not 4: no coverage gap can be identified within this scope.

5 / 5

Completeness

Explicitly answers both: what ("fake!, inline! and disable! testing modes, RSpec and Minitest helpers, clearing jobs between tests, and assertions on...") and when ("Use whenever Ruby Sidekiq workers need tests"). The explicit trigger clause means the missing-'Use when' cap does not apply.

5 / 5

Trigger Term Quality

"Ruby Sidekiq workers need tests", "RSpec", "Minitest", "retries", "scheduling", and "unique jobs" are exactly the natural phrases a user would say when they need this skill. Not 4: no natural synonym in this domain (Sidekiq, worker, test, retry, enqueue assertions) is missing.

5 / 5

Distinctiveness Conflict Risk

"Ruby Sidekiq workers" pins a clear, narrow niche — a user mentioning Sidekiq worker testing could not plausibly be looking for a different skill. Distinct triggers, minimal conflict risk.

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