python-patterns

Guide Python architecture and framework decisions with structured rules and examples.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Postalocity/template-microsite --skill python-patterns-postalocity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-patterns
Source: https://github.com/Postalocity/template-microsite/tree/main/.opencode/integrations/python-patterns
Command: npx skills add https://github.com/Postalocity/template-microsite --skill python-patterns-postalocity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides engineers to think through Python architecture decisions and framework choices rather than copying templates.

Core Features & Use Cases

  • Decision frameworks for framework selection, async vs sync patterns, typing strategies, and project structure.
  • Practical guidance for real-world Python projects (APIs, data processing, scripting) to align teams.
  • Emphasis on reasoning, not rote copying, with structured prompts and examples.

Quick Start

Design a Python project architecture for a new API with FastAPI, including async patterns and typing strategy.

Frequently Asked Questions about python-patterns

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

FAQPage Schema
How do I decide between async and sync patterns for a Python project?

To decide between async and sync patterns, evaluate your Python project's I/O requirements and concurrency needs. This Skill provides structured decision frameworks for choosing async vs sync patterns, ensuring your architecture selection aligns with real-world performance needs.

What is the best way to structure a Python API project architecture?

The best way to structure a Python API project is to apply principled guidance for framework selection and project structure. This Skill enforces structured decision-making with clear rules and best-practice patterns, aligning your team on architecture without copying templates.

How do I choose a typing strategy for my Python application?

Choosing a typing strategy involves determining the appropriate level of type enforcement for your Python application. This Skill guides you through typing strategies using structured decision frameworks, helping you enforce consistency and reliability across your project.

Does this Python architecture guidance apply to data processing and scripting?

Yes, this Python architecture guidance applies to data processing and scripting. It offers practical decision frameworks for selecting frameworks, async patterns, and typing strategies across APIs, data processing, and scripting to align teams on real-world projects.

Why should I use structured decision-making for Python framework selection instead of copying templates?

Using structured decision-making for Python framework selection encourages engineers to think through architecture choices rather than copying templates. It provides principled guidance, clear rules, and best-practice patterns to ensure frameworks and async patterns fit your specific project context.