python-design
CommunityClear Python design patterns for clean code.
Authormattstruble
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Python design patterns and idioms for writing clean, well-structured Python code. Use this skill when writing or reviewing Python code, designing Python APIs, or refactoring Python modules. It also covers choosing between Python-specific abstractions (Protocol vs ABC, TypedDict vs dataclass, Enum vs string), and when to use advanced typing patterns.
Core Features & Use Cases
- Guidance on data containers and interface contracts (Protocol, ABC, Mixin).
- Selection of appropriate data representations (frozen dataclass, TypedDict, Enum, NamedTuple).
- Practical module hygiene, error handling, and composition guidance with actionable patterns.
Quick Start
Analyze a small Python module and outline the recommended design choices for its domain model.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: python-design Download link: https://github.com/mattstruble/skills/archive/main.zip#python-design Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.