Skip to content

/elite-backend

Skill 02

Domain layers, DTO boundaries, Result errors, and data flow. Stack-agnostic — Python and Hono bindings included.

What It Covers

  • Layered domains with a DTO boundary
  • Persistence stays in the repository
  • Result for expected failure
  • CreateBody, UpdateBody, Detail, ListItem catalog
  • Python and Hono bindings

Install This Skill

npx skills add https://eliteskills.ai --skill elite-backend

Or install all skills:

npx skills add https://eliteskills.ai

Skill Structure

tree
.claude/skills/elite-backend/
├── SKILL.md
├── layered-architecture.md
├── data-modeling.md
├── repository-pattern.md
├── result-pattern.md
├── route-handlers.md
├── middleware-security.md
├── templates/
└── feature.md
├── bindings/
├── python.md
└── hono.md
├── examples/
├── python-notes.md
└── hono-notes.md

Example Prompts

CRUD feature
> /elite-backend Notes domain with create, list, update, and delete
New domain module
> /elite-backend Bookmarks domain with tags and search
Repository function
> /elite-backend Add a filtered list with pagination to the articles repository

Best Practices

  • Define the four DTOs before writing queries or handlers
  • Persistence objects stay in the repository — only DTOs cross a boundary
  • Return Result at layer boundaries
  • Scaffold from the feature template

Compatible Tools