
Python Patterns
This teaches you Python decision-making rather than dumping boilerplate. It walks through framework selection (FastAPI vs Django vs Flask based on actual requirements), when to go async vs sync, type hint strategies, and project structure patterns. The approach is deliberately principle-based: it gives you decision trees and asks questions like "is this API-only or full-stack?" instead of prescribing one solution. Covers FastAPI async patterns, Django 5.0+ async support, background task options (Celery vs ARQ vs simple BackgroundTasks), and testing strategies. Most useful when you're starting a new Python project or refactoring and need to justify architectural choices beyond "this is what I always use."
- skills.sh installs
- 119
- GitHub stars
- 7.6K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add vudovn/antigravity-kit --skill python-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Python Patterns
Python development principles and decision-making. 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
Decision Tree
What are you building?
│
├── API-first / Microservices
│ └── FastAPI (async, modern, fast)
│
├── Full-stack web / CMS / Admin
│ └── Django (batteries-included)
│
├── Simple / Script / Learning
│ └── Flask (minimal, flexible)
│
├── AI/ML API serving
│ └── FastAPI (Pydantic, async, uvicorn)
│
└── Background workers
└── Celery + any framework
Comparison Principles
| Factor | FastAPI | Django | Flask |
|---|---|---|---|
| Best for | APIs, microservices | Full-stack, CMS | Simple, learning |
| Async | Native | Django 5.0+ | Via extensions |
| Admin | Manual | Built-in | Via extensions |
| ORM | Choose your own | Django ORM | Choose your own |
| Learning curve | Low | Medium | Low |
Sponsors
Details
- Repository
- github.com/vudovn/antigravity-kit
- Category
- Python
- First seen
- Jun 3, 2026
More from vudovn/antigravity-kit
All 30- Red Team Tactics119
- Performance Profiling118
- Bash Linux116
- Behavioral Modes115
- Documentation Templates115
- Seo Fundamentals115
- Frontend Design320
- Code Review Checklist252
- Mobile Design239
- Webapp Testing212
- Clean Code197
- Systematic Debugging186
- Mcp Builder159
- Intelligent Routing157
- Architecture143
- Game Development141
- Database Design139
- Nodejs Best Practices138
- Testing Patterns138
- Brainstorming137
- Api Patterns131
- App Builder128
- Vulnerability Scanner127
- Deployment Procedures126