CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/negative-test-generator

Use when code has deliberate error paths but the tests only prove the success case. For each happy-path test, generates parameterized tests for validation errors, missing fields, wrong types, authorization failures, rate limits, conflicts and attack payloads in the project's test runner format.

Quality

89%

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

86%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 well-structured, highly actionable skill: executable worked examples, exact expected status codes per category, a concrete output template, and a well-signaled one-level reference file holding the detailed per-pattern tables. Minor room to tighten the overview and close the workflow's fix-and-retry loop.

DimensionReasoningScore

Conciseness

The body is dense with skill-specific material (category catalog with expected status codes, worked example, output template, anti-patterns, limitations) with no padded explanation of known concepts. Minor trimmable spots: the Overview framing paragraph and the worked example partially duplicating the output-format template. Not 3: nothing explains concepts Claude already knows.

4 / 5

Actionability

The worked example is fully executable pytest — parametrize tables, fixtures, structured assertions like `expected_field in response.json().get('errors', {})` — and every category carries exact expected status codes (400/401/403/409/429), with a concrete output template. Copy-paste ready and covers the common cases.

5 / 5

Workflow Clarity

The flow (happy-path test → generate per 7 categories → emit report → run tests → diagnose) is clear and "Any failure indicates a real gap - either the validator is missing the case OR the assertion is wrong" provides a validation checkpoint with diagnosis guidance. Not 5: there is no explicit fix-and-re-run feedback loop. Validation exists, so the batch-operation cap at 3 does not apply.

4 / 5

Progressive Disclosure

The body stays a clear overview while the bulk per-pattern tables and the CWE/OWASP payload catalog are split into references/negative-path-catalog.md (verified to exist), linked once with a clear signal. One-level-deep, well-signaled reference with easy navigation.

5 / 5

Total

18

/

20

Passed

Description

88%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, concrete 'Use when' trigger and a comprehensive list of the specific test categories it generates, written in third person. Its only weakness is missing the most natural synonym users would say — "negative tests" — which slightly limits trigger term coverage.

DimensionReasoningScore

Specificity

"generates parameterized tests for validation errors, missing fields, wrong types, authorization failures, rate limits, conflicts and attack payloads in the project's test runner format" lists multiple concrete actions covering the full failure-mode space. Not 4: coverage is comprehensive rather than having minor gaps.

5 / 5

Completeness

Explicitly answers both: when — "Use when code has deliberate error paths but the tests only prove the success case" (a concrete trigger condition), and what — "generates parameterized tests for... in the project's test runner format". Not 4: the when-clause is specific and concrete, not just present.

5 / 5

Trigger Term Quality

Natural phrases like "happy-path test", "error paths", "tests only prove the success case", "rate limits", and "attack payloads" are present, but the most common user phrasing "negative tests" (and synonyms like "failure cases" / "sad path") is missing. Not 3: several genuinely natural trigger phrases exist.

4 / 5

Distinctiveness Conflict Risk

Clear niche (negative companions for existing happy-path tests) with a distinctive trigger, but "attack payloads" and "rate limits" create minor overlap with security-testing and load-testing skills. Not 5: a couple of closely related skills could compete for the same trigger phrasing.

4 / 5

Total

18

/

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