skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Coding / Python Design Patterns Skill by @wshobson
The skill is the plugins/python-development/skills/python-design-patterns folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
Covers KISS, separation of concerns, single responsibility, composition over inheritance and the rule of three for maintainable Python.
A compact guide to deciding how to layer responsibilities, when an abstraction is justified and how to untangle a god class, with a troubleshooting section.
Written and maintained by @wshobson. It is published under the MIT license, which allows reuse with attribution. See the author profile. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
(Excerpt. Full file: https://github.com/wshobson/agents/blob/main/plugins/python-development/skills/python-design-patterns/SKILL.md)
Excerpt only, quoted from the author's repository. Open the repository for the complete file.