Pythonic イディオム、PEP 8標準、型ヒント、堅牢で効率的かつ保守可能なPythonアプリケーションを構築するためのベストプラクティス。
57
37%
Does it follow best practices?
Impact
90%
1.13xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./docs/ja-JP/skills/python-patterns/SKILL.mdError handling patterns and type hints
EAFP over LBYL
60%
100%
No bare except
100%
100%
Exception chaining
100%
100%
Custom exception base class
100%
100%
Custom exception subclasses
100%
100%
Modern type hints
100%
100%
Return type annotations
100%
100%
Context manager for files
100%
100%
No mutable default args
100%
100%
isinstance usage
100%
100%
None comparison
100%
100%
No wildcard imports
100%
100%
Package structure, memory efficiency, and tooling config
src/ layout
100%
100%
tests/ directory
100%
100%
__init__.py with __all__
100%
100%
__slots__ usage
0%
0%
Generator function
100%
100%
Generator expression over list
0%
75%
No loop string concatenation
100%
100%
Import order
100%
100%
No wildcard imports
100%
100%
pyproject.toml black config
0%
100%
pyproject.toml ruff config
77%
100%
pyproject.toml mypy config
66%
100%
pyproject.toml pytest config
100%
100%
Dataclasses, decorators, and concurrent I/O
@dataclass with field()
0%
0%
__post_init__ validation
100%
100%
NamedTuple usage
0%
100%
functools.wraps in decorator
100%
100%
ThreadPoolExecutor for I/O
100%
100%
as_completed or map usage
100%
100%
Custom context manager
100%
100%
List comprehension
100%
100%
Generator expression for aggregation
0%
0%
Type hints on all functions
50%
75%
f-strings for formatting
100%
100%
No bare except
100%
100%
5df943e
Table of Contents
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.