python-patterns

Guide Python architecture and framework selection based on project goals.

1|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/barbosakjn/finance-app --skill python-patterns-barbosakjn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-patterns
Source: https://github.com/barbosakjn/finance-app/tree/main/.agent/workflows/.agent/skills/python-patterns
Command: npx skills add https://github.com/barbosakjn/finance-app --skill python-patterns-barbosakjn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps developers avoid rote memorization by guiding thoughtful Python project decisions, covering architecture, patterns, and best practices.

Core Features & Use Cases

  • Framework selection guidance for API services, web apps, and scripts based on project requirements.
  • Async vs. sync decision guidance with considerations for IO, concurrency, and CPU-bound tasks.
  • Typing strategy and project-structure recommendations that scale from small scripts to large apps.
  • Use Case: When starting a new Python project, decide between FastAPI and Django, choose a typing strategy, and outline a maintainable layout.

Quick Start

Provide a concise framework and structure recommendation for my Python project based on its goals and constraints.

Frequently Asked Questions about python-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right Python framework for my API service or web app?

Selecting a Python framework depends on specific project goals and constraints like async requirements or scale. This guidance provides criteria and practical examples to evaluate frameworks for API services, web apps, and scripts.

When should I use async versus sync Python for IO and CPU-bound tasks?

Deciding between async and sync Python depends on whether your workload is IO-bound or CPU-bound. This guidance offers decision-making criteria and guardrails to handle concurrency effectively and avoid common pitfalls.

What is the best way to structure a Python project to scale from a small script to a large app?

Structuring a Python project for scale requires a typing strategy and layout that evolves with application size. This guidance provides project-structure recommendations that scale from small scripts to large apps while maintaining maintainability.

Does implementing a typing strategy in Python help with architecture decision-making?

Implementing a typing strategy in Python directly supports architecture decision-making by enforcing constraints and improving code clarity. This guidance helps you choose a typing strategy based on project scope and constraints to avoid common pitfalls.

What are the limitations of rote memorization when choosing Python architecture and patterns?

Relying on rote memorization limits your ability to adapt Python architecture to unique project constraints. This guidance replaces memorization with thoughtful decision-making criteria, providing guardrails to avoid common pitfalls in framework and pattern selection.