effective-python
Installation
SKILL.md
Effective Python
Write idiomatic, type-safe Python 3.14+ code following established best practices.
Core Principles
- Strict typing by default - All code uses type annotations
- Explicit over implicit - Clear, readable code
- Composition over inheritance - Prefer simple, composable designs
- Fail fast - Raise exceptions early, use assertions
Typing (Always Apply)
from __future__ import annotations # Always include for forward references
from typing import TypeVar, Generic, Protocol, Self, override
from collections.abc import Callable, Iterator, Sequence, Mapping