python-design-patterns
Skill2 starsChanged 3 months agoMITView on GitHub
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.
17 other projects use a version of this, 5 of them edited.
Adopted by
Most recently taken up by
- sirdavidhuang/claude-code-skillstheir own version, first seen Nov 29, 2026
- zebbern/pocmapedited, first seen Nov 8, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
- nledford/engineering-review-boardtheir own version, first seen Nov 3, 2026
- NorkzYT/claude-code-autopilottheir own version, first seen Oct 25, 2026
- scwf/feishuai-skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use python-type-safety, python-error-handling and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
sirdavidhuangSkillpython-type-safety
Python type safety with type hints, generics, protocols, and strict type checking. Use when adding type annotations, implementing generic classes, defining structural interfaces, or configuring mypy/pyright.
Also in 5 projects that use this
justanestaSkillpython-error-handling
Python error handling and debugging. Use this skill when implementing error handling, designing exception hierarchies, debugging issues, or adding logging. Covers exception patterns, custom exceptions, logging with structlog, debugging tools, and error recovery.
Also in 4 projects that use this
sirdavidhuangSkillpython-anti-patterns
Common Python anti-patterns to avoid. Use as a checklist when reviewing code, before finalizing implementations, or when debugging issues that might stem from known bad practices.
Also in 4 projects that use this
nilecuiSkillasync-python-patterns
Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
Also in 4 projects that use this
xfstudioSkilljavascript-testing-patterns
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.
Also in 3 projects that use this
xfstudioSkillnodejs-backend-patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.
Also in 3 projects that use this
- +1 more from sirdavidhuang
- +1 more from xfstudio
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 5
- zebbern/pocmap★ 716% same
- roshankodi/agent-skills★ 216% same
- anton-karlovskiy/deal-hunter-agents★ 116% same
- squarerf/claude-skills★ 116% same
- enes9103/my-claude-agents-skills★ 016% same
Wrote their own version · 12
- delorenj/skills★ 17same name
- nledford/engineering-review-board★ 11same name
- GPTtang/skill-atlas★ 4same name
- scwf/feishuai-skills★ 4same name
- zebbern/termstack★ 4same name
- Aver005/agent-skills★ 2same name
- CodeWithBehnam/cc-docs★ 2same name
- drzioner/gitwise★ 1same name
- NorkzYT/claude-code-autopilot★ 1same name
- 2867203296/hermes-agent★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- site/llms.txtllms.txt
- adrSkill
- autopilot-async-monitoringSkill
- changelog-automationSkill
- ci-temporary-bypassSkill
- codebase-designSkill
- create-architectural-decision-recordSkill
- create-specificationSkill
- documentation-writerSkill
- gha-watch-ci-prSkill
- grill-with-docsSkill
- hardenSkill
- i-have-an-issueSkill
- improve-codebase-architectureSkill
- issue-implementSkill
- issue-selectSkill
- issue-to-planSkill
- next-milestoneSkill
- process-error-postmortemSkill
- pycc-feedbackSkill
- pyccSkill
- python-performance-optimizationSkill
- python-testing-patternsSkill
- review-findingsSkill
- rust-async-patternsSkill
- sessionsSkill
- tddSkill
- testing-strategySkill
- todoSkill
- ultra-reviewSkill
- adrSkill
- autopilot-async-monitoringSkill
- changelog-automationSkill
- ci-temporary-bypassSkill
- codebase-designSkill
- create-architectural-decision-recordSkill
- create-specificationSkill
- documentation-writerSkill
- gha-watch-ci-prSkill
- grill-with-docsSkill
- hardenSkill
- i-have-an-issueSkill
- improve-codebase-architectureSkill
- issue-implementSkill
- issue-selectSkill
- issue-to-planSkill
- next-milestoneSkill
- process-error-postmortemSkill
- pycc-feedbackSkill
- pyccSkill
- python-design-patternsSkill
- python-performance-optimizationSkill
- python-testing-patternsSkill
- review-findingsSkill
- rust-async-patternsSkill
- sessionsSkill
- tddSkill
- testing-strategySkill
- The first 60 shown.
The file
Files
Python Design Patterns
Resolve the current repository root. Before applying this skill, read
.claude/skills/python-design-patterns/SKILL.md from that repository completely and
follow it as the canonical workflow. If the file is missing, stop and report the
missing project instruction instead of substituting a cached copy.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

