CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

python-testing

Estrategias de pruebas Python usando pytest, metodología TDD, fixtures, mocking, parametrización y requisitos de cobertura.

Quality

67%

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 ./docs/es/skills/python-testing/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

56%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-organized, actionable pytest reference that is nonetheless a monolithic tutorial: much of it re-teaches basic pytest that Claude already knows, and all reference material sits inline in one large file with no progressive disclosure. Its strongest parts are the explicit TDD workflow, coverage policy, and concrete config/command examples.

Suggestions

Cut the fundamentals Claude already knows (basic asserts, first fixture example, basic parametrize) and keep only the project-specific conventions: coverage thresholds, marker policy, directory layout, pytest.ini.

Move the assertion catalog, mocking patterns, and full command reference into references/ files (e.g. references/mocking.md, references/commands.md) linked from a lean SKILL.md overview.

Add a feedback loop for the TDD/coverage workflow: what to do when a test stays red, or when coverage is below the 80% target (e.g. 'run pytest --cov-report=term-missing and add tests for uncovered lines before proceeding').

DimensionReasoningScore

Conciseness

The ~560-line body extensively demonstrates concepts Claude already knows — basic asserts ('assert 2 + 2 == 4', 'text.upper() == "HELLO"'), elementary fixtures, basic parametrize, simple mock patches — textbook pytest material with several padded sections. It is not a 1 because it is code-centric rather than prose-explanatory and contains genuinely opinionated guidance (coverage thresholds, marker policies, --strict-markers config).

2 / 5

Actionability

Guidance is mostly executable: concrete pytest.ini blocks, ready-to-use commands ('pytest --cov=mypackage --cov-report=term-missing', 'pytest -m "not slow"', '-k', '--lf', '--pdb'), and complete fixture/mocking patterns. It falls short of 5 because many snippets reference undefined helpers (add, my_function, read_file, is_valid_email, Database, Config) and no command sequence shows a full run-validate loop.

4 / 5

Workflow Clarity

The TDD cycle is clearly sequenced (1. ROJO escribir prueba fallida, 2. VERDE implementación mínima, 3. REFACTORIZAR) with a worked example, plus explicit coverage checkpoints ('Objetivo: 80%+', 'rutas críticas: 100%', 'pytest --cov' to measure). Minor gap: no feedback loop instructing what to do when coverage falls short or a test stays red.

4 / 5

Progressive Disclosure

Section headers and a logical structure exist ('Cuándo Activar', 'Filosofía', per-topic sections, 'HACER/NO HACER'), but the entire reference-grade material — full assertion catalog, mocking guide, pytest.ini reference, directory layout — is inlined into one ~560-line SKILL.md with no references/ bundle at all. Not a 2 because the structure is real and navigable; not a 4 because none of the bulk content is split out for on-demand loading.

3 / 5

Total

13

/

20

Passed

Description

66%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, specific description that names the domain and its concrete capability areas, but it omits any 'when to use' trigger guidance, capping completeness at 3. Adding a 'Usar cuando...' clause with natural trigger situations would lift it into the top tier.

Suggestions

Append an explicit trigger clause, e.g. 'Usar cuando se escriban pruebas Python, se aplique TDD, o se revise la cobertura de pruebas de un proyecto pytest.'

Include natural synonyms users actually say — 'pruebas unitarias', 'tests de integración', 'unit tests' — to broaden trigger matching.

Reframe topic nouns as actions (e.g. 'Escribe y ejecuta pruebas... configura fixtures y mocks') to sharpen the 'what' further.

DimensionReasoningScore

Specificity

The description lists several concrete capabilities — 'pytest, metodología TDD, fixtures, mocking, parametrización y requisitos de cobertura' — which mirror the body's actual scope. It falls short of a 5 because these are topic labels rather than action verbs (no 'write', 'run', 'configure' style actions) and coverage of what it does with them is implicit.

4 / 5

Completeness

The 'what' is clear (Python testing strategies via pytest, TDD, fixtures, mocking, parametrization, coverage), but there is no 'Use when...' clause or equivalent explicit trigger guidance — per the judging guidelines this caps completeness at 3. It is not a 2 because the 'what' half is specific and multi-faceted.

3 / 5

Trigger Term Quality

Good natural keyword coverage: users would say 'pruebas Python', 'pytest', 'TDD', 'mocking', 'cobertura'. A few natural variations are missing ('pruebas unitarias', 'unit tests', 'test coverage' synonyms), keeping it below the comprehensive synonym/extension coverage of the top anchor.

4 / 5

Distinctiveness Conflict Risk

The pytest/TDD/fixtures/mocking niche is mostly distinct with clear Python-testing triggers, risking only minor overlap with general code-review or language-agnostic testing skills. It lacks the explicit trigger phrases of the top anchor, so it is not a 5.

4 / 5

Total

15

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (563 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

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

Warning

Total

14

/

16

Passed

Repository

affaan-m/ECC

Path

docs/es/skills/python-testing/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.