CtrlK
BlogDocsLog inGet started
Tessl Logo

python-testing

pytest、TDD手法、フィクスチャ、モック、パラメータ化、カバレッジ要件を使用したPythonテスト戦略。

44

Quality

44%

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

Quality

Content

42%Scale 1-3

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

This skill is a comprehensive pytest reference manual but suffers severely from verbosity—it explains many concepts Claude already knows (basic assertions, what TDD means, trivial test examples) and dumps everything into a single monolithic file. The actionability is excellent with fully executable code throughout, but the sheer volume of content (much of it redundant with Claude's training data) makes it an inefficient use of context window. It reads more like a tutorial for a junior developer than a skill file for an AI assistant.

Suggestions

Reduce content by 60%+: Remove basic assertions reference, trivial examples (test 2+2==4), and concepts Claude already knows. Focus only on project-specific conventions, non-obvious patterns, and decision rules.

Split into multiple files: Move detailed sections (mocking patterns, async testing, configuration) into separate referenced files, keeping SKILL.md as a concise overview with navigation links.

Add validation checkpoints to the TDD workflow: Include explicit steps like 'run pytest --cov after each feature to verify coverage threshold' and 'if coverage drops below 80%, identify untested paths before proceeding'.

Remove the best practices do/don't lists and the quick reference table—these are generic pytest knowledge that Claude already has internalized.

DimensionReasoningScore

Conciseness

Extremely verbose at ~600+ lines. Explains basic pytest concepts Claude already knows (assertions, basic test structure, what TDD is). The assertions section lists every comparison operator, the basic test examples are trivial (test 2+2==4), and best practices like 'don't use print statements' are obvious. This could be reduced by 60-70% without losing actionable value.

1 / 3

Actionability

All code examples are fully executable and copy-paste ready. Concrete commands for running tests, configuration files, and real patterns for API testing, database testing, mocking, and async testing are all provided with complete, runnable code.

3 / 3

Workflow Clarity

The TDD cycle (red-green-refactor) is clearly sequenced, and test organization structure is well-defined. However, there are no validation checkpoints or feedback loops for the testing workflow itself—e.g., no guidance on what to do when coverage drops below threshold, no explicit 'verify tests pass before committing' steps, and no error recovery guidance for common test failures.

2 / 3

Progressive Disclosure

Monolithic wall of text with no references to external files and no bundle files to support it. Everything from basic assertions to async testing to configuration is inlined in a single massive document. Content like the full assertions reference, configuration examples, and common patterns could easily be split into separate files.

1 / 3

Total

7

/

12

Passed

Description

47%Scale 1-3

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description effectively lists relevant testing keywords and concepts that would help with keyword matching, but it reads more like a tag list than a functional description. It lacks concrete actions (what the skill actually does) and has no 'Use when...' clause to guide skill selection. Converting the topic list into action-oriented language and adding explicit trigger conditions would significantly improve it.

Suggestions

Add a 'Use when...' clause specifying trigger conditions, e.g., 'Use when the user asks to write Python tests, set up pytest configurations, create test fixtures, or improve test coverage.'

Rewrite as action-oriented statements instead of a topic list, e.g., 'Writes and structures Python tests using pytest, implements TDD workflows, creates fixtures and mocks, configures parameterized tests, and sets up coverage requirements.'

Include file extension triggers like '.py test files', 'conftest.py', 'pytest.ini' to improve distinctiveness and matching precision.

DimensionReasoningScore

Specificity

Names the domain (Python testing) and lists several relevant concepts (pytest, TDD, fixtures, mocks, parameterization, coverage requirements), but these are more like topic keywords than concrete actions. It doesn't describe what actions the skill performs (e.g., 'writes tests', 'generates fixtures', 'configures coverage').

2 / 3

Completeness

Describes 'what' at a high level (Python testing strategy) but completely lacks a 'Use when...' clause or any explicit trigger guidance for when Claude should select this skill. Per the rubric, a missing 'Use when...' clause caps completeness at 2, and since the 'what' is also weak (listing topics rather than actions), this scores a 1.

1 / 3

Trigger Term Quality

Contains strong natural trigger terms that users would actually use: pytest, TDD, フィクスチャ (fixtures), モック (mocks), パラメータ化 (parameterization), カバレッジ (coverage). These cover a good range of terms a user working with Python testing would mention.

3 / 3

Distinctiveness Conflict Risk

The mention of pytest and specific testing concepts like TDD, fixtures, and mocks provides some distinctiveness, but 'Pythonテスト戦略' (Python testing strategy) is broad enough to potentially overlap with general Python development skills or other testing-related skills.

2 / 3

Total

8

/

12

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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

Warning

Total

10

/

11

Passed

Repository
affaan-m/everything-claude-code
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.