python-patterns

Installation
SKILL.md

Python Development Patterns

Idiomatic Python patterns and best practices for building robust, efficient, and maintainable applications.

When to Activate

  • Designing Python package structure and module boundaries
  • Choosing between dataclasses, Pydantic models, and TypedDicts for a data structure
  • Applying idiomatic Python (list comprehensions, generators, context managers, decorators)
  • Setting up type hints and mypy for a new module or existing codebase
  • Structuring a Python service with dependency injection or hexagonal architecture
  • Deciding when to use ABCs vs protocols for interface design

Core Principles

1. Readability Counts

Python prioritizes readability. Code should be obvious and easy to understand.

Installs
1
GitHub Stars
14
First Seen
Jun 2, 2026
python-patterns — marvinrichter/clarc