Python architecture

From HoangNguyen0403/agent-skills-standard · View interactive version

Python architecture is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Structure Python backends with explicit dependency direction, ports/adapters, and runtime boundaries. Use when shaping project layout, clean architecture, service boundaries, dependency injection, report rendering boundaries, or transport separation in Python.

How to use this skill

Skill file

Python Architecture

**Priority: P0 (CRITICAL)**

Rules

Recipe

  1. Place pure contracts and policy in domain/application modules.
  2. Keep adapters thin: DB, HTTP, bot, MCP, subprocess, storage.
  3. Push workflow orchestration into services that call contracts and ports.
  4. Separate report formatting from fact gathering.
  5. Add focused regression tests before moving boundary code.

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.