implementation-design-patterns-python
pproenca/dot-skillsImplementation guide for the 22 Gang of Four design patterns in idiomatic modern Python (3.10+), distilled from refactoring.guru. Use when writing,…
Scores out of 100 · grade B+
2026-08-22Works
40% of the score100/100
- Loads cleanly: valid frontmatter, required fields present, no dangling references.
Maintained
25% of the score100/100
- no commits in the last 12 weeks
Adopted
20% of the score31/100
- 196 stars on the source repo.
Documented
15% of the score64/100
- No usage example or code block.
- 1,404-word body.
- Ships 26 bundled files.
Install
npx skills add pproenca/dot-skills/implementation-design-patterns-pythonWhat it says it does
Implementation guide for the 22 Gang of Four design patterns in idiomatic modern Python (3.10+), distilled from refactoring.guru. Use when writing, refactoring, or reviewing Python with a pattern-shaped problem — class-explosion from inheritance, conditionals switching on type, tight coupling to concrete classes, tree-shaped models, runtime algorithm selection, undo/redo, state-dependent behavior, or hiding subsystem complexity. Each entry leads with the Pythonic form (functions, dataclasses, Protocol, singledispatch, match, generators, copy/replace) and falls back to the class-based GoF structure only when identity, state, or dispatch require it. Includes intent, applicability (when to use AND when NOT to), a runnable example, steps, pros/cons, and relations. Trigger even when no pattern is named — cues like "too many constructor params," "giant if/elif," "swap behavior at runtime," "need undo," or "walk a tree" are pattern-shaped. Covers all 5 Creational, 7 Structural, and 10 Behavioral GoF patterns.
Also in pproenca/dot-skills
| Artifact | Score | What the check found | Type | Reach | Last commit |
|---|---|---|---|---|---|
| bug-reviewpproenca/dot-skills | clean | Skill | 196 stars | 6 days ago | |
| ios-tastepproenca/dot-skills | clean | Skill | 196 stars | 6 days ago | |
| web-tastepproenca/dot-skills | clean | Skill | 196 stars | 6 days ago | |
| build-mcp-serverpproenca/dot-skills | clean | Skill | 196 stars | 6 days ago | |
| cli-review-runnerpproenca/dot-skills | clean | Skill | 196 stars | 6 days ago | |
| complexity-optimizerpproenca/dot-skills | clean | Skill | 196 stars | 6 days ago |
Other language-specific skills
Browse all| Artifact | Score | What the check found | Category | Reach | Last commit |
|---|---|---|---|---|---|
| turborepovercel/turborepo | clean | Language-specific | 64,154 installs | today | |
| programmingcode-yeongyu/oh-my-openagent | No license | Language-specific | 68k stars | today | |
| cadearthtojake/text-to-cad | clean | Language-specific | 8,940 installs | today | |
| dxfearthtojake/text-to-cad | clean | Language-specific | 4,838 installs | today | |
| modern-pythontrailofbits/skills | clean | Language-specific | 6,975 installs | today | |
| printing-press-polishmvanhorn/cli-printing-press | clean | Language-specific | 5,602 installs | today |
Put this measurement in your README
A badge carrying how many listings this index holds from the repository and how many pass every static structural check. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://skillworks.kynth.studio/?q=pproenca%2Fdot-skills)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.
