CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/sidekiq-tests

Authors and runs Sidekiq job tests in Ruby - three Sidekiq::Testing modes (`fake!` jobs accumulate in arrays, `inline!` runs jobs immediately, `disable!` enqueues to Redis as normal); RSpec + Minitest helper patterns; clears jobs between tests via `Sidekiq::Worker.clear_all`; assertion patterns on `MyWorker.jobs.size` and `MyWorker.jobs.first[:args]`. Use when the user works with Sidekiq workers and needs unit / integration tests for job enqueueing, scheduling, retry behavior, or unique-job semantics.

76

Quality

95%

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

87%

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

A dense, actionable, well-organized single-file skill with executable code throughout and clean section navigation. Its only gap is workflow_clarity: the Step 1–8 sequence lacks explicit validation checkpoints or feedback loops.

Suggestions

Add explicit validation checkpoints to the workflow — e.g. after Step 2, note 'verify `Sidekiq::Worker.jobs` is empty before each test', and after Step 3, 'confirm the job-count assertion passed before draining'.

Include a feedback loop for error recovery when a test behaves unexpectedly (e.g. jobs not clearing → check for multiple spec helpers or thread-local testing mode).

Close the loop at the end of the key steps with a 'verify it works' action such as running `bundle exec rspec` and confirming zero failures before moving on.

DimensionReasoningScore

Conciseness

The body is lean and code-forward (e.g. `Sidekiq::Testing.fake!`, `Sidekiq::Worker.clear_all`, `HardWorker.drain`) with only minimal framing ("Sidekiq is the de facto Ruby background-job framework on Redis"); it assumes Claude's competence and avoids explaining basic concepts, matching the 3-anchor rather than the 2-anchor's "could be tightened".

3 / 3

Actionability

It provides fully executable, copy-paste-ready Ruby and YAML blocks (spec_helper config, the `inline! do … end` block, the Minitest `after_teardown` helper, `HardWorker.drain`, the retry test, and the CI `services: redis` snippet); this is concrete and complete, not the pseudocode of the 2-anchor.

3 / 3

Workflow Clarity

Steps 1–8 give a clear sequence (configure mode → clear jobs → assert → drain → scheduled → retry → unique → CI), but there are no explicit validation checkpoints or error-recovery feedback loops embedded in the workflow, which the 3-anchor requires; it is above the 1-anchor because the sequence itself is explicit and well-ordered.

2 / 3

Progressive Disclosure

Content is organized into clearly signaled sections (Overview, When to use, Steps 1–8, Anti-patterns, Limitations, References) with one-level-deep external references (`[sk-test]`) and sister-skill cross-links, easy to navigate and not a monolith; it is not the 2-anchor because references are clearly signaled rather than buried or inline-heavy.

3 / 3

Total

11

/

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.

A strong, specific description that pairs concrete Sidekiq-testing capabilities with an explicit Use-when trigger clause and distinct, low-conflict terminology. It fully clears every dimension at the top of the 1–3 scale.

DimensionReasoningScore

Specificity

Quotes such as "Authors and runs Sidekiq job tests in Ruby", "clears jobs between tests via `Sidekiq::Worker.clear_all`", and "assertion patterns on `MyWorker.jobs.size` and `MyWorker.jobs.first[:args]`" list multiple specific concrete actions with named APIs, matching the 3-anchor; it is not the 2-anchor because coverage is comprehensive rather than naming only domain and some actions.

3 / 3

Completeness

It states the what ("Authors and runs Sidekiq job tests in Ruby - three Sidekiq::Testing modes …") and an explicit when ("Use when the user works with Sidekiq workers and needs unit / integration tests for job enqueueing, scheduling, retry behavior, or unique-job semantics"), satisfying both halves with an explicit trigger clause; not the 2-anchor which lacks an explicit when.

3 / 3

Trigger Term Quality

Terms like "Sidekiq job tests", "job enqueueing, scheduling, retry behavior", and "unique-job semantics" are natural phrases a Sidekiq user would actually say, giving good coverage; it is above the 2-anchor because common variations (unit/integration tests, enqueueing, scheduling, retry) are all present.

3 / 3

Distinctiveness Conflict Risk

It occupies a clear niche ("Sidekiq job tests in Ruby", "Sidekiq workers", "unique-job semantics") and even enumerates sister tools, so it is unlikely to trigger for the wrong skill; not the 2-anchor because the triggers are distinct rather than merely "somewhat specific".

3 / 3

Total

12

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents