Python Design Patterns

Python design patterns including KISS, Separation of Concerns, Single Responsibility, and composition over inheritance. Use this skill when designing a new service or component from scratch and choosing how to layer responsibilities, when refactoring a God class or monolithic function that has grown too large, when deciding whether to add a new abstraction or live with duplication, when evaluating a pull request for structural issues like tight coupling or leaking internal types, when choosing between inheritance and composition for a new class hierarchy, or when a codebase is becoming hard to test because of entangled I/O and business logic. Use when this capability is needed.

tomevault-io 37880ad 2 files · 15.9 KB Updated

File contents

tomevault-io/skills-registry/tree/main/wshobson--agents--python-design-patterns commit 37880ad9ae

Frequently asked questions

npx skillmds@latest add tomevault-io/python-design-patterns