CtrlK
BlogDocsLog inGet started
Tessl Logo

test-patterns

Applies proven testing patterns — Arrange-Act-Assert (AAA), Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, and test doubles — to help write maintainable, reliable, and readable test suites. Use when the user asks about writing unit tests, integration tests, or end-to-end tests; structuring test cases or test suites; applying TDD or BDD practices; working with mocks, stubs, spies, or fakes; improving test coverage or reducing flakiness; or needs guidance on test organization, naming conventions, or assertions in frameworks like Jest, Vitest, pytest, or similar.

68

Quality

82%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

64%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a solid, actionable skill with excellent code examples covering a comprehensive set of testing patterns. Its main weaknesses are moderate verbosity (some sections cover knowledge Claude already has) and a monolithic structure that could benefit from progressive disclosure via separate files. The pattern combination workflows are a strong differentiator, but the skill lacks explicit validation/feedback loops for when things go wrong.

Suggestions

Remove or significantly trim the 'Test Isolation', 'Naming Conventions', and 'Test Organization' sections — these cover fundamentals Claude already knows well.

Split detailed pattern examples into a separate PATTERNS_REFERENCE.md file, keeping SKILL.md as a concise overview with the selection guide, combination workflows, and links to details.

Add a brief troubleshooting/feedback loop section (e.g., 'If tests are flaky: check for shared mutable state → verify mock reset → isolate with .only → fix and re-run').

DimensionReasoningScore

Conciseness

The skill is mostly efficient with good code examples, but includes some content Claude already knows well (e.g., test isolation principles, naming conventions, test organization directory structures). The pattern selection guide and combination workflows add value, but sections like 'Test Isolation' and 'Naming Conventions' explain fundamentals Claude doesn't need.

2 / 3

Actionability

Every pattern includes fully executable, copy-paste-ready code examples in a real framework (Jest). The test doubles table provides clear decision criteria. The pattern selection guide at the top gives concrete guidance on which pattern to apply in each situation.

3 / 3

Workflow Clarity

The 'Pattern Combination Workflows' section provides useful sequencing for how patterns compose together, and the verification checklist at the end is helpful. However, there are no explicit validation checkpoints or feedback loops — e.g., no guidance on what to do when tests fail, how to diagnose flaky tests, or iterative refinement steps.

2 / 3

Progressive Disclosure

The content is well-structured with clear headers and a logical flow from pattern selection to individual patterns to verification. However, at ~200 lines it's a monolithic file that could benefit from splitting detailed pattern examples into separate reference files, with the main SKILL.md serving as a concise overview with links.

2 / 3

Total

9

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is an excellent skill description that thoroughly covers what the skill does and when to use it. It lists specific testing patterns and methodologies, includes a comprehensive 'Use when' clause with natural trigger terms spanning multiple testing scenarios, and names concrete frameworks. The description is well-structured, uses third person voice, and would be highly distinguishable from other skills in a large skill library.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions and patterns: Arrange-Act-Assert, Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, test doubles. Clearly describes what it does — helps write maintainable, reliable, and readable test suites using proven patterns.

3 / 3

Completeness

Clearly answers both 'what' (applies proven testing patterns to help write maintainable test suites) and 'when' (explicit 'Use when' clause covering six distinct trigger scenarios including writing tests, structuring test cases, applying TDD/BDD, working with test doubles, improving coverage, and test organization guidance).

3 / 3

Trigger Term Quality

Excellent coverage of natural terms users would say: 'unit tests', 'integration tests', 'end-to-end tests', 'TDD', 'BDD', 'mocks', 'stubs', 'spies', 'fakes', 'test coverage', 'flakiness', 'test organization', 'naming conventions', 'assertions', and specific frameworks like 'Jest', 'Vitest', 'pytest'. These are all terms users would naturally use.

3 / 3

Distinctiveness Conflict Risk

Clearly occupies a distinct niche around testing patterns and practices. The specific mention of testing methodologies (AAA, Given-When-Then), test doubles terminology, and testing frameworks makes it unlikely to conflict with general coding skills or other non-testing skills.

3 / 3

Total

12

/

12

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
rohitg00/skillkit
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.