CtrlK
BlogDocsLog inGet started
Tessl Logo

python-patterns

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

57

1.13x
Quality

37%

Does it follow best practices?

Impact

90%

1.13x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./docs/ja-JP/skills/python-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

4%

Configuration Loader and User Record Validator

Error handling patterns and type hints

Criteria
Without context
With context

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%

89%

19%

Log Processing Library

Package structure, memory efficiency, and tooling config

Criteria
Without context
With context

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%

81%

10%

Concurrent Exchange Rate Fetcher

Dataclasses, decorators, and concurrent I/O

Criteria
Without context
With context

@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%

Repository
affaan-m/everything-claude-code
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

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.