CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

testing-principles

This guidance covers test selection and proof boundaries, test design, mocking, data-layer verification, organization, and regression testing. It is intended for writing tests, deciding test scope, and reviewing test quality, including component and UI E2E tests.

Quality

87%

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

The canonical home for this skill is testing-principles in shinpr/claude-code-workflows

SKILL.md
Quality
Evals
Security

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.

The body is an exceptionally lean rulebook that assumes Claude's competence and adds only non-obvious project conventions and decision rules, with verification guidance woven in and detail correctly deferred to two well-signaled reference files. The main gaps are the absence of any worked example illustrating the abstract "proof boundary" terminology and the lack of an explicit end-to-end workflow for a single change.

DimensionReasoningScore

Conciseness

The body is dense, prescriptive rule text with no padding and no explanation of concepts Claude already knows — e.g., "Structure each test as Arrange, one Act, and Assert" states the convention without teaching it. Every line is a rule or decision criterion, matching the lean anchor 5 rather than the minor-trimmings of anchor 4.

5 / 5

Actionability

Guidance is mostly concrete and directive ("Locate UI elements through the repository's query convention; otherwise by accessible role and name or label, then by stable test IDs"), with clear decision rules for mocks, data layer, and regression tests. It falls short of anchor 5 because there are no worked examples of a well-formed test and some coinage like "proof boundary" and "proof ownership" is abstract without illustration.

4 / 5

Workflow Clarity

Sections follow a coherent arc — test selection, design rules, mock boundaries, data layer, verification, organization, regression — with verification guidance present ("Capability Probe Postconditions", capability probes assert "the exact property that consumer needs"). It is not anchor 5 because there is no explicit sequenced workflow with feedback-loop checkpoints for applying the principles to a single change.

4 / 5

Progressive Disclosure

Language-agnostic principles are kept inline while frontend and E2E specifics are split into real one-level-deep reference files, each verified to exist and clearly signaled with an explicit read-when condition ("read when writing, changing, or reviewing UI E2E tests"). This matches the anchor-5 pattern of a clear overview with well-signaled, appropriately split references.

5 / 5

Total

18

/

20

Passed

Description

83%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 explicitly and clearly answers both what the skill does and when to use it, with concrete trigger phrases and a well-delineated language-agnostic niche. Keyword coverage is good but omits common synonyms such as unit/integration tests and test coverage, and a few capability statements are topical rather than concrete actions.

DimensionReasoningScore

Specificity

"choosing which tests a change needs, test quality, and proof ownership, including frontend and UI E2E tests" names several concrete capabilities, going beyond the 1-2 actions of anchor 3. It falls short of anchor 5 because "test quality" and "proof ownership" are topical labels rather than actions, and coverage areas like regression or mock/data-layer testing are not mentioned.

4 / 5

Completeness

Both parts are explicit: the "what" ("Language-agnostic testing principles for choosing which tests a change needs, test quality, and proof ownership...") and the "when" ("Use when writing tests, deciding test scope, or reviewing test quality") with concrete trigger phrases. This matches the anchor-5 example structure exactly, and is clearly above anchor 4 where the "when" is only loosely specified.

5 / 5

Trigger Term Quality

"Use when writing tests, deciding test scope, or reviewing test quality" plus "frontend and UI E2E tests" provide good natural keyword coverage. A few common variations users would say — "unit tests", "integration tests", "test coverage" — are missing, so it fits anchor 4 rather than the comprehensive synonym coverage of anchor 5.

4 / 5

Distinctiveness Conflict Risk

"Language-agnostic" positions a clear niche distinct from stack-specific testing skills, and the triggers are testing-specific rather than generic. However, broad triggers like "writing tests" could also fire for a framework-specific testing skill, giving minor overlap risk — anchor 4 rather than the minimal-conflict anchor 5.

4 / 5

Total

17

/

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

shinpr/claude-code-workflows

Path

dev-workflows-frontend/skills/testing-principles/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.