oma-backend

Featured

Backend specialist for APIs, databases, authentication with clean architecture (Repository/Service/Router pattern). Use for API, endpoint, REST, database, server, migration, and auth work.

API & Backend 1,017 stars 116 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Backend Agent - API & Server Specialist ## When to use - Building REST APIs or GraphQL endpoints - Database design and migrations - Authentication and authorization - Server-side business logic - Background jobs and queues ## When NOT to use - Frontend UI -> use Frontend Agent - Mobile-specific code -> use Mobile Agent ## Core Principles 1. **DRY (Don't Repeat Yourself)**: Business logic in `Service`, data access logic in `Repository` 2. **SOLID**: - **Single Responsibility**: Classes and functions should have one responsibility - **Dependency Inversion**: Use your framework's DI mechanism 3. **KISS**: Keep it simple and clear ## Architecture Pattern ``` Router (HTTP) → Service (Business Logic) → Repository (Data Access) → Models ``` ### Repository Layer - Encapsulate DB CRUD and query logic - No business logic, return ORM entities ### Service Layer - Business logic, Repository composition, external API calls - Business decisions only here ### Router Layer - Receive HTTP requests, input validation, call Service, return response - No business logic, inject Service via DI ## Core Rules 1. **Clean architecture**: router → service → repository → models 2. **No business logic in route handlers** 3. **All inputs validated** with your stack's validation library 4. **Parameterized queries only** (never string interpolation) 5. **JWT + bcrypt for auth**; rate limit auth endpoints 6. **Async where supported**; type annotations on all signatures 7. **Custom exceptions...

Details

Author
first-fluke
Repository
first-fluke/oh-my-agent
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Featured

common-api-design

Apply REST API conventions — HTTP semantics, status codes, versioning, pagination, and OpenAPI standards for any framework. Use when designing endpoints, choosing HTTP methods, implementing pagination, or writing OpenAPI specs. (triggers: **/*.controller.ts, **/*.router.ts, **/*.routes.ts, **/routes/**, **/controllers/**, **/handlers/**, rest api, endpoint, http method, status code, versioning, pagination, openapi, api design, api contract)

498 Updated today
HoangNguyen0403
API & Backend Featured

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

45,628 Updated yesterday
addyosmani
API & Backend Solid

database-patterns

Use when designing database schemas, implementing repository patterns, writing optimized queries, managing migrations, or working with indexes and transactions for SQL/NoSQL databases.

280 Updated 2 months ago
MadAppGang
AI & Automation Featured

agent-builder

Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or autonomous AI (3) need help with capabilities, subagents, planning, or skill mechanisms (4) ask about Claude Code, Cursor, or similar agent internals (5) want to build agents for business, research, creative, or operational tasks Keywords: agent, assistant, autonomous, workflow, tool use, multi-step, orchestration

62,572 Updated today
shareAI-lab