python-patterns

Guide Python projects in selecting frameworks, patterns, and architecture.

Updated Sep 2, 2025
One-click install
npx skills add https://github.com/rafaelminatto1/fisioflow-51658291 --skill python-patterns-rafaelminatto1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-patterns
Source: https://github.com/rafaelminatto1/fisioflow-51658291/tree/main/.agent/skills/python-patterns
Command: npx skills add https://github.com/rafaelminatto1/fisioflow-51658291 --skill python-patterns-rafaelminatto1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Develops a decision framework for Python projects to choose patterns, frameworks, and architecture instead of memorizing templates.

Core Features & Use Cases

  • Decision-making principles for selecting the right Python framework (FastAPI, Django, Flask) based on project context.
  • Async vs sync guidance and typing strategies (Pydantic, typing) to improve reliability and readability.
  • Guidelines for project structure, testing approaches, and maintainable code with concrete examples.
  • Use Case: Starting a new API service or data processing task, choose patterns and structure to reduce rework and accelerate delivery.

Quick Start

Describe your project goals and I will outline the optimal Python pattern and framework approach.

Frequently Asked Questions about python-patterns

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

FAQPage Schema
How do I choose between FastAPI, Django, and Flask for a new Python API service?

Choosing the right Python framework requires evaluating your project context: FastAPI suits async APIs, Django handles full-stack apps, and Flask fits lightweight services. Describe your project goals to receive a tailored decision framework for selecting the optimal architecture and patterns.

When should I use async versus sync code in my Python data processing project?

Use async Python code for I/O-bound tasks like concurrent API requests, and sync code for CPU-bound data processing. This Skill provides async vs sync guidance and typing strategies using Pydantic to improve reliability and readability.

What is the best way to structure a scalable Python project with type hints?

The best way to structure a scalable Python project is enforcing type hints and applying architectural decision patterns. This Skill provides project structure guidance and testing patterns to ensure maintainable, readable code with concrete examples.

Does this Python architecture guidance work for both API design and scripting contexts?

Yes, this Python architecture guidance applies to API design, data processing, scripting, and educational contexts. It helps you select appropriate patterns and frameworks to reduce rework and accelerate delivery across various project types.

How do I implement testing patterns and type hints for a maintainable Python codebase?

To implement testing patterns and type hints for maintainable Python code, apply decision-making principles for typing strategies like Pydantic. This Skill outlines testing approaches and project structure guidelines with concrete examples to enforce reliability.