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.

90

Quality

88%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Discovery

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 hits all the marks. It provides specific concrete capabilities (named testing patterns), comprehensive trigger terms covering natural user language across multiple testing scenarios and frameworks, and a clear explicit 'Use when...' clause. The description is well-structured, uses third person voice, and is distinctive enough to avoid conflicts with other skills.

DimensionReasoningScore

Specificity

Lists multiple specific concrete patterns and actions: Arrange-Act-Assert, Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, test doubles, and describes the goal of writing maintainable, reliable, readable test suites.

3 / 3

Completeness

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

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.

3 / 3

Distinctiveness Conflict Risk

Occupies a clear niche focused specifically on testing patterns and practices. The detailed enumeration of testing-specific concepts (AAA, Given-When-Then, test doubles, TDD/BDD) and testing frameworks makes it highly distinguishable from general coding skills or other development skills.

3 / 3

Total

12

/

12

Passed

Implementation

77%

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 concrete code examples and a well-thought-out pattern selection guide and combination workflow section. Its main weakness is length — it's a comprehensive reference document rather than a lean skill file, and some content (naming conventions, test isolation basics, test organization) covers things Claude already knows. Splitting detailed pattern examples into a reference file would improve token efficiency.

Suggestions

Move detailed code examples for each pattern into a separate PATTERNS_REFERENCE.md file, keeping only the pattern selection guide, combination workflows, and one brief example in the main SKILL.md.

Remove or significantly trim the Naming Conventions, Test Isolation, and Test Organization sections — these cover basic testing knowledge Claude already possesses.

DimensionReasoningScore

Conciseness

The content is mostly efficient with good code examples, but includes some unnecessary explanation Claude already knows (e.g., 'These patterns help ensure tests are readable, focused, and trustworthy', the Test Isolation section listing basic principles, and the Naming Conventions section explaining what test names should describe). The pattern selection guide and combination workflows add value but could be tighter.

2 / 3

Actionability

Every pattern includes fully executable, copy-paste-ready code examples in realistic contexts. The code is concrete (not pseudocode), uses real framework APIs (Jest), and covers practical usage patterns including builders with overrides, parameterized tests with test.each, and spy assertions.

3 / 3

Workflow Clarity

The Pattern Combination Workflows section clearly sequences how patterns compose for different testing scenarios (unit, integration, BDD, high-variation). The verification checklist at the end provides explicit validation checkpoints. For a non-destructive instructional skill about test patterns, this level of workflow guidance is thorough and well-structured.

3 / 3

Progressive Disclosure

The content is well-organized with clear headers and a useful pattern selection guide at the top, but it's a long monolithic file (~180 lines of content) with no references to external files. Some sections like the detailed code examples for each pattern could be split into separate reference files, with the SKILL.md serving as a concise overview.

2 / 3

Total

10

/

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.