python-patterns
Python development principles and decision-making. Framework selection, async patterns, type hints, project structure. Teaches thinking, not copying.
npx skills add sickn33/agentic-awesome-skills --skill python-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Patterns > Python development principles and decision-making for 2025. > **Learn to THINK, not memorize patterns.** ## When to Use Use this skill when making Python architecture decisions, choosing frameworks, designing async patterns, or structuring Python projects. --- ## ⚠️ 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) ### 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 extensi
- When to Use
- ⚠️ How to Use This Skill
- 1. Framework Selection (2025)
- Decision Tree
- Comparison Principles
- Selection Questions to Ask:
- 2. Async vs Sync Decision
- When to Use Async
- The Golden Rule
- Async Library Selection
- 3. Type Hints Strategy
- When to Type
- Common Type Patterns
- Pydantic for Validation
What does the python-patterns skill do?
Python development principles and decision-making. Framework selection, async patterns, type hints, project structure. Teaches thinking, not copying.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill python-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.