CtrlK
BlogDocsLog inGet started
Tessl Logo

mocking-test-generator

Generates tests that mock external dependencies — HTTP, databases, filesystems, clocks — isolating the unit under test while still exercising realistic interactions. Use when the code has side effects you can't run in a test, when external services are slow or unavailable, or when testing error paths that are hard to trigger for real.

Install with Tessl CLI

npx tessl i github:santosomar/general-secure-coding-agent-skills --skill mocking-test-generator
What are skills?

90

Quality

88%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SKILL.md
Review
Evals

Discovery

85%

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 a strong skill description that clearly articulates its purpose (generating tests with mocked dependencies) and provides explicit guidance on when to use it. The description uses proper third-person voice and includes concrete examples of what gets mocked. The main weakness is trigger term coverage—it could benefit from additional natural language variations users might employ when requesting this functionality.

Suggestions

Add common user phrases like 'unit tests', 'test doubles', 'stub', 'fake API', or 'mock service' to improve trigger term coverage

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: 'mock external dependencies — HTTP, databases, filesystems, clocks — isolating the unit under test while still exercising realistic interactions.' This clearly describes what the skill does with concrete examples.

3 / 3

Completeness

Clearly answers both what ('Generates tests that mock external dependencies...isolating the unit under test') AND when ('Use when the code has side effects you can't run in a test, when external services are slow or unavailable, or when testing error paths that are hard to trigger'). Explicit 'Use when' clause with multiple trigger scenarios.

3 / 3

Trigger Term Quality

Includes some relevant technical terms like 'mock', 'HTTP', 'databases', 'filesystems', but misses common user phrases like 'unit tests', 'test doubles', 'stub', 'fake', or 'mocking library'. Users might say 'mock API calls' or 'stub database' which aren't explicitly covered.

2 / 3

Distinctiveness Conflict Risk

Clear niche focused specifically on mocking external dependencies in tests. The specific mention of HTTP, databases, filesystems, clocks, and the focus on isolation distinguishes it from general testing skills or integration testing skills.

3 / 3

Total

11

/

12

Passed

Implementation

92%

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

This is a high-quality skill that efficiently teaches mocking best practices with concrete, executable examples. The decision tables for when to mock and mock types are particularly effective. The only weakness is that all content is inline rather than using progressive disclosure to separate the output template or link to advanced topics.

DimensionReasoningScore

Conciseness

The content is lean and efficient, using tables for quick reference and avoiding explanations of concepts Claude already knows. Every section adds value without padding or unnecessary context.

3 / 3

Actionability

Provides fully executable Python code examples with pytest-mock, concrete scenarios (happy path, retry, error), and copy-paste ready test implementations. The worked example is complete and runnable.

3 / 3

Workflow Clarity

Clear decision tables guide when to mock and what type to use. The worked example demonstrates a logical progression through test scenarios, and the 'Do not' section provides explicit validation checkpoints for avoiding common mistakes.

3 / 3

Progressive Disclosure

Content is well-organized with clear sections and tables, but it's a moderately long single file. The output format template at the end could potentially be a separate reference, and there are no links to external resources for deeper topics like contract testing.

2 / 3

Total

11

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

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.