# 050101 Elysia Framework

> Elysia API framework patterns — plugin pipeline, controller conventions, auto-routing, auth macro, TypeBox models, and multi-tier API keys.

- Skill: `natuleadan/050101-elysia-framework` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx skillmds@latest add natuleadan/050101-elysia-framework`
- Raw SKILL.md: https://api.skillmd.com/api/skills/natuleadan/050101-elysia-framework/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- License: MIT
- Author: natuleadan (https://skillmd.com/u/natuleadan)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/natuleadan/050101-elysia-framework

---


# Elysia API Patterns

Elysia API framework patterns: plugin pipeline, controller conventions, auto-routing, auth macro, TypeBox models, CORS, and multi-tier API key configuration.

## References

| Topic | File |
|---|---|
| Plugin pipeline, controller pattern, auth identity flow, CORS config | [references/elysia-plugins.md](references/elysia-plugins.md) |
| Multi-tier API key scopes, validation, rotation | [references/api-key-tiers.md](references/api-key-tiers.md) |
| Auto-router: controller scanning and registration | [references/auto-router.md](references/auto-router.md) |
| Standard response envelope format | [references/response-format.md](references/response-format.md) |
| Auth macro: identity resolution order | [references/auth-macro.md](references/auth-macro.md) |
| TypeBox schema models for validation and OpenAPI | [references/typebox-models.md](references/typebox-models.md) |
| MPP payment middleware: charge, session, payer identity | [references/elysia-payment-middleware.md](references/elysia-payment-middleware.md) |

