Python Patterns
Python development principles and decision-making.
by dokhacgiakhoa · MIT
The skill
Python development principles and decision-making.
Python Patterns
Python development principles and decision-making for 2025. Learn to THINK, not memorize patterns.
⚠️ How to Use This Skill
This skill teaches decision-making principles, not fixed code to copy.
- ASK user for framework preference when unclear
- Choose async vs sync based on CONTEXT
- Don't default to same framework every time
1. Framework Selection (2025)
🧠 Knowledge Modules (Fractal Skills)
1. Decision Tree
2. Comparison Principles
3. Selection Questions to Ask:
4. When to Use Async
5. The Golden Rule
6. Async Library Selection
7. When to Type
8. Common Type Patterns
9. Pydantic for Validation
10. Structure Selection
11. FastAPI Structure Principles
12. Django Async (Django 5.0+)
13. Django Best Practices
14. async def vs def in FastAPI
15. Dependency Injection
16. Pydantic v2 Integration
17. Selection Guide
18. When to Use Each
19. Exception Strategy
20. Error Response Philosophy
21. Testing Strategy
22. Async Testing
23. Fixtures Strategy
24. ❌ DON'T:
25. ✅ DO:
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: dokhacgiakhoa/python-patterns-33382250244.
Details
- Publisher
- dokhacgiakhoa
- Category
- Software Development › Languages & frameworks
- License
- MIT
- Updated
- 2026-06-11
References
More from dokhacgiakhoa
- 3D Web Experience Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and i…
- Ab Test Setup Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execu…
- Accessibility Compliance Accessibility Audit You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive…
- Active Directory Attacks This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerbero…