python-design-patterns

Installation
SKILL.md

In this repository

  • Layers: Handlers = backend/app/api/v1/endpoints/, business logic = backend/app/services/, data access = backend/app/repositories/. Dependency injection in FastAPI is via Depends(); constructor injection still applies for services that receive repositories. See .cursor/rules/project.md.
  • CQRS: This project separates commands (writes) and queries (reads): command services + write repositories for create/update/delete; query services + read repositories for list/get. When designing or refactoring features, use the CQRS split. See .cursor/rules/cqrs.md and .cursor/skills/cqrs-pattern/SKILL.md.
  • After edits run make format and make lint from repo root. Full context: .cursor/skills/README.md and .cursor/rules/.

Python Design Patterns

Write maintainable Python code using fundamental design principles. These patterns help you build systems that are easy to understand, test, and modify.

When to Use This Skill

Installs
1
First Seen
Mar 4, 2026
python-design-patterns — vimalkodoth/fastapi-cursor-starterkit