python-design-patterns
Skill4 starsChanged 7 months agoNo licenceView 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.
We split this skill into the rules it gives an agent
8 rules. 4 are common, 4 are distinctive, and 0 are very specific to this project.
4
Common
Most of the 12 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Other versions14 projects use a version of this.
Word for word · 1
- drzioner/gitwise★ 1100% same
Edited · 11
- delorenj/skills★ 1899% same
- GPTtang/skill-atlas★ 499% same
- scwf/feishuai-skills★ 499% same
- Aver005/agent-skills★ 299% same
- CodeWithBehnam/cc-docs★ 299% same
- NorkzYT/claude-code-autopilot★ 299% same
- roshankodi/agent-skills★ 296% same
- anton-karlovskiy/deal-hunter-agents★ 196% same
- squarerf/claude-skills★ 196% same
- enes9103/my-claude-agents-skills★ 093% same
1 more not listed
Wrote their own version · 2
- 2867203296/hermes-agent★ 0same name
- nledford/engineering-review-board★ 0same name
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.
Used alongsideProjects with it also use python-type-safety, python-observability and 3 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.
CodeWithBehnamSkillpython-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
CodeWithBehnamSkillpython-observability
Python observability patterns including structured logging, metrics, and distributed tracing. Use when adding logging, implementing metrics collection, setting up tracing, or debugging production systems.
Also in 3 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 xfstudio
In this repository107 other files it gives its agents.
- .github/skills/composition-patterns/AGENTS.mdAGENTS.md
- .github/skills/react-best-practices/AGENTS.mdAGENTS.md
- .github/skills/react-native-skills/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- debug-fixSkill
- pr-reviewSkill
- refactorSkill
- shipSkill
- tddSkill
- test-writerSkill
- agent-browserSkill
- algorithmic-artSkill
- async-python-patternsSkill
- audit-flowSkill
- auth-bypassSkill
- writing-antipatternsSkill
- blog-writing-guideSkill
- brand-guidelinesSkill
- cachingSkill
- canvas-designSkill
- claude-apiSkill
- cloud-enumSkill
- code-reviewSkill
- vercel-composition-patternsSkill
- context-gatheringSkill
- cors-checkSkill
- ctf-crypto-attack-templatesSkill
- ctf-encoding-chainsSkill
- ctf-forensics-extractionSkill
- ctf-pwntools-boilerplateSkill
- ctf-service-interactionSkill
- ctf-solverSkill
- cve-advisorySkill
- database-patternsSkill
- dataverse-python-advanced-patternsSkill
- dataverse-python-production-codeSkill
- delegation-protocolSkill
- dependency-auditSkill
- deploy-to-vercelSkill
- devops-cicdSkill
- dns-reconSkill
- doc-coauthoringSkill
- docxSkill
- endpoint-discoverySkill
- error-monitoringSkill
- fastapi-pythonSkill
- ffuf-fuzzSkill
- frontend-designSkill
- github-reconSkill
- git-workflowSkill
- hackerone-reportSkill
- header-analysisSkill
- idor-pocSkill
- internal-commsSkill
- intigriti-reportSkill
- js-analysisSkill
- lfi-pocSkill
- markdown-reportSkill
- mcp-builderSkill
- The first 60 shown.
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.

