CtrlK
BlogDocsLog inGet started
Tessl Logo

mocking-test-generator

Generate unit tests with proper mocking for Python (unittest.mock/pytest) or Java (Mockito/JUnit) code. Use when users request test generation, unit tests with mocks, or testing code that has external dependencies like database calls, API requests, file I/O, or network operations. Automatically identifies dependencies to mock and creates executable, maintainable test code.

83

1.12x
Quality

77%

Does it follow best practices?

Impact

91%

1.12x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/mocking-test-generator/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

71%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 well-structured, actionable skill body with good progressive disclosure via real reference files. Its main weakness is redundancy between the step sections and the later Framework-Specific Notes / Common Patterns sections, plus a missing final verification step.

Suggestions

Consolidate the duplicated framework guidance: merge 'Step 2: Select Framework' with 'Framework-Specific Notes', and merge the reference listing in 'Step 3' with 'Common Patterns' to remove redundancy.

Add a final verification step to the workflow (e.g. 'Step 6: Run the generated tests to confirm they execute and pass; fix mocks/assertions if they fail') to close the validation loop.

Tighten the 'Example Usage' and 'Output Format' sections, which restate guidance already covered in the step-by-step workflow.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence (no basic-concept padding), but duplicates framework guidance (Step 2 vs. Framework-Specific Notes) and reference contents (Step 3 vs. Common Patterns), so it could be noticeably tightened; not verbose enough to drop to 2.

3 / 5

Actionability

Provides concrete, mostly-executable Python and Java examples with real decorators/annotations (@patch, @Mock, @ExtendWith, when().thenReturn()), with only illustrative placeholder names keeping it from being fully copy-paste ready.

4 / 5

Workflow Clarity

A clear Step 1–5 sequence with a clarifying-questions checkpoint in Step 1, but it lacks a final verification checkpoint (e.g. 'run the generated tests to confirm they pass'), a minor validation gap.

4 / 5

Progressive Disclosure

SKILL.md is a clear overview with well-signaled, one-level-deep references to real bundle files (references/python_patterns.md, references/java_patterns.md), with detailed patterns appropriately split out and easy to navigate.

5 / 5

Total

16

/

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 strong, third-person description that clearly states both capability and trigger conditions with concrete natural-language phrases. It is specific and distinct, with only minor room to expand trigger synonyms.

DimensionReasoningScore

Specificity

Names the domain and several concrete actions ('Generate unit tests with proper mocking', 'Automatically identifies dependencies to mock and creates executable, maintainable test code'), with only minor coverage gaps; not a fully exhaustive capability list so it stops short of 5.

4 / 5

Completeness

Explicitly answers both what ('Generate unit tests with proper mocking for Python... or Java... code') and when ('Use when users request test generation, unit tests with mocks, or testing code that has external dependencies...') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Good coverage of natural phrases users would say ('test generation', 'unit tests with mocks', 'database calls', 'API requests', 'file I/O', 'network operations'), but a few natural synonyms (e.g. 'mocking', 'test doubles', 'stubs') are missing.

4 / 5

Distinctiveness Conflict Risk

The mocking-specific, external-dependency framing carves a clear niche distinct from general test-generation skills, with only minor overlap risk against closely related testing skills.

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
ArabelaTso/Skills-4-SE
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.