CtrlK
BlogDocsLog inGet started
Tessl Logo

python-testing

使用 pytest、TDD 方法论、固件(Fixtures)、模拟(Mocking)、参数化及覆盖率要求的 Python 测试策略。

54

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

Quality

Content

65%

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

A thorough, highly actionable pytest reference with executable code throughout, but it is verbose and monolithic — explaining basics Claude knows and inlining content that would benefit from being split into referenced files.

Suggestions

Trim explanations of basic concepts (basic assertions, list append) that Claude already knows to improve token efficiency.

Split the long reference into one-level-deep files (e.g., fixtures.md, mocking.md, async.md) linked from a concise overview to improve progressive disclosure.

Add explicit validation/feedback steps (e.g., run pytest, fix failures, re-run) for the workflow-oriented sections to raise workflow clarity.

DimensionReasoningScore

Conciseness

Mostly efficient with extensive executable examples, but it also explains basic concepts Claude already knows (e.g., simple assert forms, list append) and runs ~810 lines that could be tightened.

2 / 3

Actionability

Provides fully executable, copy-paste-ready code, concrete pytest commands, and complete pytest.ini/pyproject.toml configuration blocks.

3 / 3

Workflow Clarity

The TDD red/green/refactor sequence is present, but the bulk is a pattern catalog without explicit validation checkpoints or feedback loops for multi-step tasks.

2 / 3

Progressive Disclosure

It is a monolithic single-file reference with no bundle files; reference-style content (assertions, markers, config) that could be split into separate files is all inline.

2 / 3

Total

9

/

12

Passed

Description

60%

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 names concrete Python-testing capabilities clearly but omits any 'Use when...' trigger clause, leaving the activation context implicit. Adding explicit trigger conditions would lift completeness and distinctiveness.

Suggestions

Append an explicit trigger clause, e.g. 'Use when writing Python tests, applying TDD, or setting up pytest fixtures/mocking/parametrization.'

Add natural user phrasings (e.g. 'unit tests', 'test coverage', 'mocking dependencies') to broaden trigger-term coverage.

State the trigger conditions in third person to match the existing voice and improve distinctiveness from generic testing skills.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — pytest, TDD, fixtures, mocking, parametrization, and coverage requirements — rather than vague language.

3 / 3

Completeness

Clearly states what the skill does, but lacks any 'Use when...' or equivalent explicit trigger guidance, capping completeness at 2 per the rubric.

2 / 3

Trigger Term Quality

Includes relevant terms (pytest, TDD, fixtures, mocking) but as a flat enumeration with no common phrasing variations a user would naturally say.

2 / 3

Distinctiveness Conflict Risk

The pytest/Python-testing niche is fairly distinct, but without explicit triggers it could still overlap with generic coding or testing skills.

2 / 3

Total

9

/

12

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.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (817 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
xu-xiang/everything-claude-code-zh
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.