CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

python-patterns

Pythonic イディオム、PEP 8標準、型ヒント、堅牢で効率的かつ保守可能なPythonアプリケーションを構築するためのベストプラクティス。

Quality

59%

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-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

46%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-written Python pattern catalog with concrete, mostly-executable examples and a useful tooling section, but it is a ~750-line monolith that re-teaches standard Python knowledge Claude already has. Its biggest structural flaws are the absence of any progressive disclosure (everything inlined in one file, no references) and the absence of an application workflow with verification steps tying patterns to the listed linters/type-checkers.

Suggestions

Split the monolith into one-level-deep reference files (e.g., references/type-hints.md, references/concurrency.md, references/tooling.md) and keep SKILL.md as a lean overview with clearly signaled links.

Cut or drastically compress sections covering knowledge Claude already has (comprehensions, decorators, context managers, common anti-patterns), keeping only project-specific conventions.

Add a short apply-and-verify workflow, e.g. 'write/fix code → run `ruff check .` and `mypy .` → fix findings → re-run', to give the pattern catalog checkpoints and a feedback loop.

DimensionReasoningScore

Conciseness

At ~750 lines, the body extensively documents concepts Claude already knows cold — list comprehensions, dataclasses, context managers, decorators, EAFP, mutable-default-argument pitfalls, `isinstance` vs `type`, string joins — each with Good/Bad example pairs that re-teach standard Python knowledge. This matches anchor 2 ('Noticeably verbose; several unnecessary explanations or padded sections'); not 1 because the content is code-dense rather than prose-padded, and not 3 because the proportion of already-known material is far more than 'some'.

2 / 5

Actionability

Nearly every section gives complete, executable code (typed function signatures, `@contextmanager` implementations, `concurrent.futures` usage) plus concrete tool commands (`black .`, `ruff check .`, `mypy .`, `pytest --cov=mypackage`) and a full `pyproject.toml` config. Fits anchor 4 ('Mostly executable guidance... with minor gaps'); not 5 because several examples depend on undefined names (User, Config, db, json/Any imports omitted in places), so they are illustrative rather than copy-paste runnable.

4 / 5

Workflow Clarity

The skill is a pattern catalog, not a process: the いつ有効化するか (when to activate) section lists triggers, but there is no guidance on how to sequence or apply the patterns (e.g., 'when writing new code: apply idioms → add type hints → run ruff/mypy to verify') and no validation checkpoints anywhere. It sits at anchor 3 ('sequence present in the examples but checkpoints missing'); not lower because sections individually read clearly, not higher because no verification loop ties the patterns to the listed tooling.

3 / 5

Progressive Disclosure

The skill is a single monolithic ~750-line SKILL.md with no references/, scripts/, or assets/ directories; content that clearly belongs in separate files (type hints, concurrency patterns, tool configuration) is entirely inlined. This matches anchor 2 ('content that clearly belongs in separate files is inlined'); not 3 because that anchor requires references to be present, and here there are none at all — only in-body section headers, which do not provide the 'clear overview pointing to detail' structure.

2 / 5

Total

11

/

20

Passed

Description

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

The description clearly identifies its Python domain and concrete topics (Pythonic idioms, PEP 8, type hints) but is framed as topic nouns plus generic 'best practices' language rather than concrete actions. Its main defect is the complete absence of a 'Use when...' trigger clause, which caps completeness at 3 and weakens trigger-term coverage. Distinctiveness within the Python niche is solid.

Suggestions

Add an explicit trigger clause, e.g. 'Use when writing, reviewing, or refactoring Python code, or when the user mentions PEP 8, type hints, or Pythonic style.'

Convert topic nouns into concrete actions (e.g., 'Apply Pythonic idioms, enforce PEP 8, add type hints') so the 'what' reads as capabilities rather than a subject list.

Include natural trigger variations users actually say — 'Python code', 'refactoring', 'code style', '.py' — to raise trigger-term coverage.

DimensionReasoningScore

Specificity

The description names the domain and several concrete topics — "Pythonic イディオム、PEP 8標準、型ヒント" — but these are subject-area nouns rather than actions, and the frame "堅牢で効率的かつ保守可能なPythonアプリケーションを構築するためのベストプラクティス" (best practices for building robust, efficient, maintainable apps) is generic padding. It matches anchor 3 ('names domain and 1-2 concrete actions, but not comprehensive'): below 4 because no executable actions (write/review/refactor) are stated, above 2 because the topics are concrete, not just 'works with Python'.

3 / 5

Completeness

There is a clear 'what' (Pythonic idioms, PEP 8, type hints, best practices for Python applications) but no 'when' — no 'Use when...' clause or equivalent trigger guidance anywhere in the description. Per the judging guidelines, a missing 'Use when...' clause caps completeness at 3, which is exactly the anchor ('Has a clear what but when is missing or only weakly implied').

3 / 5

Trigger Term Quality

Natural keywords a user would say are present — "Pythonic", "PEP 8", "型ヒント" (type hints), "Python" — but common variations and scenarios are missing: no 'write/review/refactor Python code', 'code style', 'lint', '.py', or 'Python 3'. Fits anchor 3 ('some relevant keywords but missing common variations or synonyms'); not 4 because the variation coverage is genuinely thin, not just a few terms missing.

3 / 5

Distinctiveness Conflict Risk

The Python + PEP 8 + type-hints niche is mostly distinct with clear triggers; only minor overlap risk with closely related skills (e.g., a general linting or code-review skill). Fits anchor 4 ('Mostly distinct; minor overlap risk with closely related skills'); not 5 because nothing in the description sharpens the boundary against adjacent code-quality skills.

4 / 5

Total

13

/

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

skill_md_line_count

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

Warning

Total

15

/

16

Passed

Repository

affaan-m/ECC

Path

docs/ja-JP/skills/python-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.