CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/celery-tests

Use whenever Python Celery tasks need unit or integration tests: pytest-celery celery_app and worker fixtures, apply() for synchronous calls, why task_always_eager misleads, and mocking task.retry to test retry behavior, for function and class-based tasks.

Quality

84%

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

67%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 solid, highly actionable skill with concrete executable patterns for unit, retry, integration, and CI testing of Celery tasks. Its main costs are a Worked example that duplicates Step 2/3 content and incomplete imports in a couple of snippets, plus a single-file layout that inlines some material a references file could absorb.

Suggestions

Remove or drastically compress the 'Worked example' section — it restates the Step 2 direct-call and Step 3 retry-mock patterns almost verbatim, so a one-line pointer would preserve the value at a fraction of the tokens.

Make code snippets copy-paste ready by including all imports (Decimal, OperationalError, raises, patch) in the Step 3 and worked-example snippets, lifting actionability to fully executable.

Move the CI service-container YAML (Step 7) and the chord/chain/group primitives (Step 6) into a referenced file (e.g., ci-and-canvas.md) linked from a short section, tightening the main SKILL.md while keeping details one level deep.

DimensionReasoningScore

Conciseness

The body is mostly efficient and code-forward, but the 'Worked example' section repeats the Step 2/3 success-and-retry patterns nearly verbatim, and the Overview and Step 1 quote the Celery docs at length to justify points a single line could make. Not a 2 because there is no padding with concepts Claude already knows; not a 4 because the duplication is a genuine tightening opportunity.

3 / 5

Actionability

Concrete, mostly executable code for every common case: direct function-call tests, the retry-mock pattern, the celery_worker fixture test, apply() usage, and CI YAML. Not a 5 because several snippets are not copy-paste ready — Step 3 and the worked example use 'Decimal', 'OperationalError', and 'raises' without importing them.

4 / 5

Workflow Clarity

The 'How to use' section gives a clear 7-step sequence with unit-vs-integration decision points and cross-references into the detailed steps. Not a 5 because the workflow lacks an explicit verify/feedback loop (e.g., run pytest, fix failures, re-run) — validation is only implicit in the worked example's closing remark.

4 / 5

Progressive Disclosure

Well-organized single-file structure with clear sections (When to use, How to use, Steps 1-7, Anti-patterns, Limitations, References) and a clearly signaled references list with no nested file chains. Not a 5 because at ~240 lines, content like the CI service-container config and chord/chain/group testing could be split into separate reference files rather than inlined.

4 / 5

Total

15

/

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 strong description with an explicit 'Use whenever...' trigger phrase and a dense, concrete list of capabilities covering fixtures, synchronous invocation, retry mocking, and task styles. The only weakness is slight keyword coverage gaps for natural phrasings users might employ instead of the technical terms.

DimensionReasoningScore

Specificity

The description lists multiple concrete capabilities: 'pytest-celery celery_app and worker fixtures', 'apply() for synchronous calls', 'mocking task.retry to test retry behavior', 'for function and class-based tasks'. Coverage spans unit, integration, synchronous, and retry testing paths with no meaningful gap, matching the comprehensive anchor rather than the 'minor gaps' anchor below it.

5 / 5

Completeness

It explicitly answers both questions: 'Use whenever Python Celery tasks need unit or integration tests' is a concrete when-trigger, and the colon-separated list states exactly what the skill provides. Anchor 4 requires a when-clause that 'could be more explicit', but this trigger is itself specific and actionable.

5 / 5

Trigger Term Quality

Good natural keyword coverage: 'Python Celery tasks', 'unit or integration tests', 'pytest-celery', 'task.retry', 'task_always_eager'. It misses common user phrasings like 'write tests for Celery', 'Celery worker', or '@shared_task', so it falls short of the comprehensive synonym-level anchor 5 but sits above anchor 3's partial coverage.

4 / 5

Distinctiveness Conflict Risk

The description is gated tightly on Celery task testing, giving it a clear niche with minimal conflict risk even against related queue-testing skills. It is not anchor 4 because there is no meaningful overlap scenario — a request must mention Celery to match.

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.

Reviewed

On this page