skills/smithery.ai/effective-python

effective-python

Installation
SKILL.md

Effective Python

Write idiomatic, type-safe Python 3.14+ code following established best practices.

Core Principles

  1. Strict typing by default - All code uses type annotations
  2. Explicit over implicit - Clear, readable code
  3. Composition over inheritance - Prefer simple, composable designs
  4. 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
Installs
1
First Seen
Apr 26, 2026
effective-python from smithery.ai