CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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.

Quality

60%

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 ./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

28%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 a well-sectioned but hollow shell: generic template instructions, no domain-specific content, no code or commands, and a dangling reference to a playbook file that does not exist in the bundle. Almost all substantive guidance is missing, and what remains is boilerplate filler.

Suggestions

Replace the generic Instructions bullets with concrete, domain-specific guidance: example pytest commands, fixture patterns, and mocking snippets that are copy-paste ready.

Fix the dangling reference: either create 'resources/implementation-playbook.md' with the promised detailed patterns and examples, or remove the reference since no resources directory exists in the bundle.

Define an actual testing workflow with sequenced steps and validation checkpoints (e.g., write failing test → run pytest → implement → re-run until green), and cut the vacuous 'Do not use' bullet and description-restating intro.

DimensionReasoningScore

Conciseness

The body is short and does not explain concepts Claude already knows, but it contains padded filler: an intro that restates the description, a vacuous 'Do not use' bullet ('You need a different domain or tool outside this scope'), and generic template instructions ('Clarify goals, constraints, and required inputs') that add no domain value. Not level 2 because the total volume is small and there is no concept over-explanation; not level 4/5 because a meaningful fraction of the tokens are boilerplate that earns no place.

3 / 5

Actionability

The Instructions section is entirely generic template text — 'Apply relevant best practices and validate outcomes', 'Provide actionable steps and verification' — with no code, commands, pytest specifics, or concrete steps anywhere. This matches anchor 1 ('entirely vague or abstract; only describes rather than instructs'); it is not level 2 because even high-level domain-specific hints are absent, and the one pointer to concrete material ('open resources/implementation-playbook.md') targets a file that does not exist in the bundle.

1 / 5

Workflow Clarity

The three instruction bullets imply a rough sequence (clarify goals → apply practices → validate outcomes), matching anchor 2's 'rough sequence present but many gaps; steps poorly defined; validation absent'. It is not level 1 because some sequenced structure exists, and not level 3 because the steps are vacuous templates with no domain-specific checkpoints (e.g., run pytest, interpret failures, achieve green suite).

2 / 5

Progressive Disclosure

Sections are well-organized (Use when / Do not use / Instructions / Resources) and the single reference is clearly signaled and one level deep, but the referenced file 'resources/implementation-playbook.md' does not exist — the bundle contains no resources directory at all — so the promised navigation dead-ends. Not level 4/5 because progressive disclosure fails against the actual (empty) bundle structure; not level 2 because the body itself is not a monolith and the reference is not buried.

3 / 5

Total

9

/

20

Passed

Description

75%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 solid description that answers both what and when with an explicit 'Use when...' clause and specific tool names (pytest, fixtures, mocking, TDD). Its main weaknesses are overlapping, somewhat circular trigger phrases and missing common synonyms like 'unit tests' or 'TDD'.

DimensionReasoningScore

Specificity

Enumerates several specific techniques — 'pytest, fixtures, mocking, and test-driven development' — which is comparable to the anchor-4 example listing several specific actions. It is not level 5 because coverage has gaps (no parametrization, coverage tooling, CI integration, or async testing), and not level 3 because more than 1-2 concrete specifics are named.

4 / 5

Completeness

Both parts are present: a clear what ('Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development') and an explicit when ('Use when writing Python tests, setting up test suites, or implementing testing best practices'). Not level 5 because the when-triggers overlap and 'implementing testing best practices' is circular rather than a concrete, diverse trigger phrase as in the anchor-5 example.

4 / 5

Trigger Term Quality

Includes natural phrases users would say such as 'writing Python tests', 'setting up test suites', 'pytest', and 'mocking', giving good keyword coverage. Not level 5 because common variations are missing ('unit tests', 'TDD' abbreviation, 'unittest', 'test coverage', 'integration tests'); not level 3 because coverage goes beyond 'some relevant keywords'.

4 / 5

Distinctiveness Conflict Risk

The pytest/Python-testing niche with named tools is mostly distinct with only minor overlap risk against closely related skills (general Python development, CI/CD, or mocking-specific skills). It is not level 5 because the boundary is not sharply drawn against adjacent tooling skills, and not level 3 because the named tools anchor it to a clear niche.

4 / 5

Total

16

/

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.

Validation — 15 / 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

Path

skills/python-testing-patterns/SKILL.md

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.