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

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

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

SKILL.md
Quality
Evals
Security

Quality

Content

78%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.

An efficient, highly actionable principles document with exemplary progressive disclosure — a lean core plus two well-signaled, condition-gated reference files. Its main gaps are the absence of worked examples and a couple of structural seams such as the orphaned Verification Requirements section and an unsequenced decision flow.

Suggestions

Add one or two worked micro-examples for the most load-bearing rules — e.g., a sample test name following 'condition and observable outcome', or a minimal table-driven case with an independent oracle — to strengthen actionability.

Fold the single 'Capability Probe Postconditions' bullet into Test Design Rules or Regression Testing (or expand Verification Requirements); as written it reads as an orphaned fragment under its own header.

Split the longest compound bullets in Test Selection (the boundary-ownership and proof-boundary rules) into shorter rules; the stacked clauses dilute otherwise crisp guidance.

DimensionReasoningScore

Conciseness

The body is dense, prescriptive guidance with no padding about basics Claude already knows; only minor tightening opportunities remain, such as the multi-clause Test Selection bullets and the intro's justification paragraph.

4 / 5

Actionability

Rules are concrete and directly applicable ("Arrange, one Act, and Assert"; "by accessible role and name or label, then by stable test IDs"; "verify against the project's real database engine... when the subject is a query"), but no worked examples like a sample test name or table-driven case are given to make application unambiguous.

4 / 5

Workflow Clarity

Thematic sections are coherent and each rule is unambiguous, and no destructive or batch operations are involved; however there is no explicit sequencing of the overall test-decision flow, and "Verification Requirements" holds a single orphaned sub-point ("Capability Probe Postconditions") that reads as a leftover.

4 / 5

Progressive Disclosure

The ~60-line body keeps cross-cutting principles inline while frontend and E2E specifics live in two real, existing reference files, each linked under a References section with an explicit "read when..." condition; both files are one level deep with no further nesting.

5 / 5

Total

17

/

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.

A well-formed description that gets the what/when structure right with natural trigger phrases. Keyword coverage misses a few common variations (unit tests, coverage, mocking), and capabilities are framed as topic areas rather than concrete actions.

DimensionReasoningScore

Specificity

Names several specific capability areas — "choosing which tests a change needs, test quality, and proof ownership, including frontend and UI E2E tests" — going beyond the 1-2 actions of the midpoint anchor, though they read as topical scopes rather than concrete actions, keeping it below the comprehensive level.

4 / 5

Completeness

Explicitly answers both: a clear what ("Language-agnostic testing principles for choosing which tests a change needs, test quality, and proof ownership") and a concrete "Use when writing tests, deciding test scope, or reviewing test quality" trigger clause, matching the anchor-5 example structure.

5 / 5

Trigger Term Quality

"writing tests", "deciding test scope", "reviewing test quality", and "UI E2E tests" are phrases users would naturally say, but common variations like "unit tests", "test coverage", or "mocking" are absent — good coverage with a few natural terms missing.

4 / 5

Distinctiveness Conflict Risk

The testing niche with its specific triggers is mostly distinct from other skills, but "reviewing test quality" could also fire a general code-review skill, giving minor overlap risk that keeps it below the minimal-conflict level.

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-skills/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.