Skip to content

/elite-python

Skill 02

API design, database queries, auth flows, server architecture. Battle-tested patterns from production systems.

What It Covers

  • Layered architecture with strict DTO boundaries
  • Repository pattern with SQLModel → DTO conversion
  • Result pattern for explicit error handling
  • Copy-paste feature template for new domains
  • Typed errors (NotFound, AlreadyExists, Forbidden, etc.)

Install This Skill

npx skills add jackmcpickle/eliteskills --skill elite-python

Or install all skills: npx skills add jackmcpickle/eliteskills

Install

Terminal
$ npx skills add jackmcpickle/eliteskills --skill python

Skill Structure

tree
.claude/skills/python/
├── SKILL.md
├── layered-architecture.md
├── data-modeling.md
├── repository-pattern.md
├── result-pattern.md
├── templates/
└── feature.md
├── examples/
└── notes.md

Example Prompts

CRUD feature
> /elite-python Build a complete notes feature with models, DTOs, repository, service, and routes
New domain module
> /elite-python Create a bookmarks domain with create, list, update, and delete endpoints
Repository function
> /elite-python Add a filtered list endpoint with pagination to the articles repository

Best Practices

  • Define SQLModel tables and DTOs before writing repository functions
  • Keep SQLModel objects inside repositories — only DTOs cross layer boundaries
  • Use Result types at layer boundaries for explicit error handling
  • Start from the feature template for new domain modules

Compatible Tools