Reference docMembers

python-design-patterns - detailed patterns and worked examples

python-design-patterns - detailed patterns and worked examples is a reference document for Claude Code, from the wshobson agents and plugins collection by wshobson. The full text is about 1,086 words in 10 sections, with 10 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Design who use Claude Code.

What it covers

  • Fundamental Patterns
  • Pattern 1: KISS - Keep It Simple
  • Pattern 2: Single Responsibility Principle
  • Pattern 3: Separation of Concerns
  • Pattern 4: Composition Over Inheritance
  • Advanced Patterns
  • Pattern 5: Rule of Three
  • Pattern 6: Function Size Guidelines
  • Pattern 7: Dependency Injection
  • Pattern 8: Avoiding Common Anti-Patterns

The full text is in the members library

Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.

Source: https://github.com/wshobson/agents/blob/main/plugins/python-development/skills/python-design-patterns/references/details.md

Author: wshobson, wshobson agents and plugins. License: MIT.

Related entries