Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

The 22 design patterns in modern Python v1.0.0

Use this resource to apply or reject a design pattern in Python 3.10 or later code

New

  • 343 downloads
  • 231 likes
  • 205 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install gof-patterns-python

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent picks the pattern that fits your problem among the 22 Gang of Four patterns and translates it into modern Python: functions, dataclasses, Protocol, match or generators. It keeps the class structure only when identity, state or dispatch require it. You get simpler, justified Python code.

Mostly picked by

Updated November 2, 2026

Card for the “The 22 design patterns in modern Python” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/: one card per behavioural pattern, with a runnable example and when not to use it
  • AGENTS.md and gotchas.md: instructions and common pitfalls

Good fit for

  • A Python function branches on the type of an object
  • A Python library wants new calculation strategies without changing callers

Not for

    Tags

    • python
    • patterns
    • gang of four
    • design
    • dataclasses

    About

    You say

    “Our invoice export must change format per client: which pattern fits modern Python, and what does it look like?”

    Card for the “The 22 design patterns in modern Python” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to apply or reject a design pattern in Python 3.10 or later code
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md10.5 KB
    • gotchas.md4.1 KB
    • LICENSE1.1 KB
    • metadata.json2 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.5 KB
    • references/behavioral-chain-of-responsibility.md5 KB
    • references/behavioral-command.md4.8 KB
    • references/behavioral-iterator.md4.4 KB
    • references/behavioral-mediator.md4.7 KB
    • references/behavioral-memento.md5.1 KB
    • references/behavioral-observer.md4.7 KB
    • references/behavioral-state.md4.7 KB
    • references/behavioral-strategy.md4.5 KB
    • references/behavioral-template-method.md5.1 KB
    • references/behavioral-visitor.md5.1 KB
    • references/creational-abstract-factory.md5.4 KB
    • references/creational-builder.md5.3 KB
    • references/creational-factory-method.md5.7 KB
    • references/creational-prototype.md5.4 KB
    • references/creational-singleton.md4.9 KB
    • references/structural-adapter.md4.9 KB
    • references/structural-bridge.md5.2 KB
    • references/structural-composite.md4.7 KB
    • references/structural-decorator.md5.3 KB
    • references/structural-facade.md4.6 KB
    • references/structural-flyweight.md4.9 KB
    • references/structural-proxy.md5.3 KB
    • SKILL.md11.9 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/implementation-design-patterns-python
    Licence
    MIT

    Notice

    « implementation-design-patterns-python » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.