python-patterns

Installation
Summary

Framework selection, async patterns, type hints, and project structure decisions for Python development.

  • Covers framework selection (FastAPI, Django, Flask) with decision trees based on project type, async requirements, and team context
  • Teaches async vs sync decision-making for I/O-bound and CPU-bound workloads, with library recommendations for common async operations
  • Includes type hint strategy, Pydantic validation patterns, and project structure templates from simple scripts to large applications
  • Provides FastAPI and Django-specific principles including dependency injection, async views, ORM optimization, and background task selection
  • Emphasizes context-driven decision-making over pattern memorization, with anti-patterns and a pre-implementation checklist
SKILL.md

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

Related skills
Installs
819
GitHub Stars
37.3K
First Seen
Jan 20, 2026