CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

testing-best-practices

Test layering, execution, and CI guidance across unit, integration, and e2e. Use when designing tests, writing test cases, or planning test strategy for a module.

1.64x
Quality

81%

Does it follow best practices?

Impact

97%

1.64x

Average score across 3 eval scenarios

SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

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.

A strong, disciplined instruction-only skill: hard rules are unambiguous, execution guidance includes concrete numbers and tool-specific idioms, and the output format is demonstrated with a worked example. The main improvement opportunities are trimming a few common-knowledge restatements and making the workflow's coverage-validation step explicit.

Suggestions

Trim common-knowledge restatements such as the 'Purpose:' lines under each test layer — Claude already knows what unit, integration, and e2e tests are for.

Add an explicit validation checkpoint in the Workflow section, e.g., 'verify the test matrix covers every enumerated export before outputting the plan'.

Replace the vague 'Fast: each test should complete within a reasonable timeout' with a concrete bound or drop it in favor of the existing explicit-timeout guidance.

DimensionReasoningScore

Conciseness

The body is dense, imperative, and free of concept tutorials — e.g., 'Poll with bounded timeout and backoff; never use fixed sleep/waitForTimeout'. Minor over-explanation remains: the 'Purpose:' lines under each layer restate what Claude already knows, and 'Fast: each test should complete within a reasonable timeout' is vague filler, keeping it below anchor 5.

4 / 5

Actionability

Concrete and specific throughout: a worked test-matrix example table, a defined case-ID scheme ('{CATEGORY}-{NN}', append-only), 'max 3 retries with exponential backoff', an 'under 5 minutes' CI target, and framework-native waits (Playwright 'expect'). Templates necessarily use placeholders like '[command]' and '[fixture]', so it is not fully copy-paste ready end to end — anchor 4 rather than 5.

4 / 5

Workflow Clarity

The Workflow section gives a clear 5-step sequence, 'Preflight checks (before e2e)' provides explicit numbered validation steps, and feedback loops exist ('If implementation reveals missing cases, propose them first'; classify-before-fix in flake handling). A checkpoint verifying matrix coverage against the enumerated API surface before output is implicit rather than explicit — anchor 4 with a minor validation gap. No destructive/batch cap applies.

4 / 5

Progressive Disclosure

No bundle files exist; the ~165-line body is well organized into clearly labeled sections (layering policy, hard rules, execution guidance, output format, CI guidance, workflow). Appropriately self-contained at this size, though the CI and execution-guidance sections could live in reference files to keep SKILL.md leaner — good structure with minor organization gaps, anchor 4.

4 / 5

Total

16

/

20

Passed

Description

78%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 well-constructed description with an explicit, trigger-rich 'Use when' clause and a clearly scoped what. Its main weakness is that 'guidance' is a generic action verb — stating the concrete deliverables (test strategy, test matrix, implementation plan) would lift specificity. Keyword coverage is good but misses common synonyms like 'test coverage' or 'test suite'.

Suggestions

Replace the generic 'guidance' framing with concrete deliverables, e.g., 'Produces test strategies, test matrices, and implementation plans across unit, integration, and e2e layers.'

Add natural trigger synonyms such as 'test coverage', 'test suite', or 'flaky tests' to broaden keyword coverage.

Clarify the deliverable output in the 'what' clause so users can distinguish this planning skill from a code-generating test-writing skill.

DimensionReasoningScore

Specificity

The description names the domain with specificity ('Test layering, execution, and CI guidance across unit, integration, and e2e') but the only stated action is the generic 'guidance' — concrete deliverables like test strategy, matrix, or implementation plan are not mentioned. It exceeds the bare domain-naming of anchor 2 but lacks the 1-2 concrete actions that would anchor it higher.

3 / 5

Completeness

Both halves are explicit: the what ('Test layering, execution, and CI guidance across unit, integration, and e2e') and the when with concrete trigger phrases ('Use when designing tests, writing test cases, or planning test strategy for a module'). Anti-drift check against anchor 4 confirms the when is already fully explicit, matching anchor 5.

5 / 5

Trigger Term Quality

'Use when designing tests, writing test cases, or planning test strategy' plus 'unit, integration, and e2e' are natural phrases users would say. Common variations like 'testing', 'test coverage', 'test suite', or 'TDD' are missing, so it falls short of anchor 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The testing-design niche is clear and the triggers (test strategy, test cases, test design) are distinct, but a generic 'write tests' or 'set up CI' request could plausibly route to a language-specific test-writing or CI skill — minor overlap risk consistent with anchor 4 rather than anchor 5's minimal conflict risk.

4 / 5

Total

16

/

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

NeverSight/learn-skills.dev

Path

data/skills-md/0xbigboss/claude-code/testing-best-practices/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.