CtrlK
BlogDocsLog inGet started
Tessl Logo

python-testing-patterns

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

55

Quality

62%

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

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/python-testing-patterns/SKILL.md

The canonical home for this skill is python-testing-patterns in rmyndharis/antigravity-skills

SKILL.md
Quality
Evals
Security

Quality

Content

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

The body is concise and section-organized but provides almost no actionable, executable guidance and relies on a reference file that does not exist in the bundle. It reads as generic boilerplate rather than a skill-specific playbook.

Suggestions

Replace abstract instructions with concrete, copy-paste-ready pytest examples (fixture definition, mocking with monkeypatch/pytest-mock, parametrize) covering the common cases.

Create the referenced resources/implementation-playbook.md (and the resources/ directory) or remove the dangling reference so progressive disclosure actually resolves.

Add an explicit workflow with validation checkpoints — e.g., run pytest, read failures, fix, re-run until green — instead of the generic 'apply best practices and validate outcomes'.

DimensionReasoningScore

Conciseness

The body is lean and does not explain concepts Claude already knows, but the boilerplate instruction bullets ('Apply relevant best practices', 'Provide actionable steps and verification') add little signal and could be trimmed.

4 / 5

Actionability

The instructions are entirely abstract — 'Clarify goals, constraints, and required inputs', 'Apply relevant best practices and validate outcomes' — with no concrete code, commands, or specific pytest patterns; it describes rather than instructs.

1 / 5

Workflow Clarity

A rough generic sequence exists (clarify goals → apply best practices → verify) but it has many gaps and no concrete validation checkpoints; 'validate outcomes' is unspecified.

2 / 5

Progressive Disclosure

The body points to 'resources/implementation-playbook.md' for detailed patterns, but no resources/ directory or file exists in the bundle, so the one-level-deep reference is broken and navigation fails.

2 / 5

Total

9

/

20

Passed

Description

92%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, well-scoped description that clearly states capabilities and explicit use-when triggers with natural language. Minor synonym coverage gaps in trigger terms prevent a perfect trigger_term_quality score.

DimensionReasoningScore

Specificity

The description enumerates multiple concrete actions and tools — 'pytest, fixtures, mocking, and test-driven development' — giving comprehensive coverage rather than vague abstraction.

5 / 5

Completeness

It explicitly states both the 'what' (implement testing strategies with pytest, fixtures, mocking, TDD) and the 'when' (Use when writing Python tests, setting up test suites, or implementing testing best practices) with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural phrases like 'writing Python tests', 'setting up test suites', and 'testing best practices' are present, but common synonyms such as 'unit tests', 'integration tests', or 'pytest' as a trigger keyword are missing.

4 / 5

Distinctiveness Conflict Risk

The Python-testing niche with pytest/fixtures/mocking/TDD triggers is clearly distinct from other skills and unlikely to fire for unrelated tasks.

5 / 5

Total

19

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.