원클릭으로
backend-design
// Elite Tier Backend standards, including Vertical Slice Architecture, Zero Trust Security, and High-Performance API protocols.
// Elite Tier Backend standards, including Vertical Slice Architecture, Zero Trust Security, and High-Performance API protocols.
Use when you need to act as an Elite Software Architect (Maestro) to manage complex repositories. It enforces a "Why over How" philosophy, maintains a persistent project memory (Brain), and orchestrates specialized sub-skills through a Plan-Act-Verify lifecycle.
Design-first methodology. Explore user intent, requirements and design before implementation. Turn ideas into fully formed specs through collaborative dialogue.
Master specialized skill for building 2025/2026-grade browser extensions. Deep expertise in Manifest v3, Service Worker persistence (Alarms, Offscreen API), Side Panel API, and Cross-Browser compatibility.
The Foundation Skill. LLM Firewall + 2025 Security + Cross-Skill Coordination. Use for ALL code output - prevents hallucinations, enforces security, ensures quality.
Systematic debugging methodology with 4-phase process, root cause tracing, and elite observability standards. No fixes without investigation.
Elite Tier Web UI standards, including pixel-perfect retro aesthetics, immersive layouts, and UX psychology protocols.
| name | backend-design |
| description | Elite Tier Backend standards, including Vertical Slice Architecture, Zero Trust Security, and High-Performance API protocols. |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash |
<domain_overview>
Philosophy: The Backend is the Fortress. Logic is Law. Latency is the Enemy. Core Principle: ISOLATE features. TRUST no one. SCALE linearly.
ANTI-HAPPY PATH MANDATE (CRITICAL): Never assume the ideal scenario. AI-generated code often fails by ignoring edge cases and failure modes. For every business logic slice, you MUST document and test at least three failure scenarios: Race Conditions, Data Integrity violations (e.g., unique constraint overlaps), and Boundary failures. Reject any implementation that only covers the 'Happy Path'. Engineering is the art of handling what shouldn't happen. </domain_overview>
<architectural_protocols>
CRITICAL: You are FORBIDDEN from creating "Horizontal Layers" (Controllers, Services, Repositories) as primary folders.
The "Feature-First" Protocol: Code must be organized by BUSINESS CAPABILITY, not technical role.
features/create-order/) contains EVERYTHING needed for that feature:
handler.ts (Controller)logic.ts (Domain/Service)schema.ts (DTO/Validation)db.ts (Data Access)shared/.outbox table in the SAME transaction as the data change.outbox entries to the Message Bus (RabbitMQ/Kafka).Detailed protocols: See security-protocols.md
Quick Rules:
<reliability_contracts>
UUIDv4 (Random) for Primary Keys. It fragments B-Tree indexes.DataLoader pattern or explicit JOIN loading.{ "error": "Something went wrong" }.{
"type": "https://api.myapp.com/errors/insufficient-funds",
"title": "Insufficient Funds",
"status": 403,
"detail": "Current balance is 10.00, required is 15.00",
"instance": "/transactions/12345"
}
POST/PATCH (Money, State Change) must accept an Idempotency-Key header.<database_integrity>
OFFSET / LIMIT on large tables (O(N) performance degradation).WHERE created_at < cursor LIMIT 20).version (int) column.id = X AND version = Y. If 0 rows affected, throw StaleObjectException.console.log("User updated"). String logs are useless for machines.{ "level": "info", "event": "user_updated", "user_id": "u7-...", "trace_id": "..." }.traceparent header./health/live): "Am I running?" (Instant, no checks)./health/ready): "Can I take traffic?" (Check DB/Redis connection).
<workflow_rules>
process.env variables at startup using a schema (e.g., t3-env or envalid). If a key is missing, crash immediately. Do not start the server in an undefined state.
Before writing a single handler:<audit_and_reference>
Before committing code:
EXPLAIN ANALYZE).| Skill | Backend Adds... |
|---|---|
@frontend-design | API contracts, CORS config, error responses |
@clean-code | Input validation, no raw SQL, dependency security |
@tdd-mastery | Integration tests with Testcontainers |
@planning-mastery | API endpoint task breakdown |
@debug-mastery | Structured logging, distributed tracing |
Command: Use these skills to architect "Fortress-Level" backend systems. </audit_and_reference>