# Agent Backend Patterns

> Master backend logic, APIs, and microservices architectures.

Master backend logic, APIs, and microservices architectures. Covers REST, GraphQL, caching, and database transactions.

- Page: https://ss33.ai/skills/dokhacgiakhoa/agent-backend-patterns-76966988861
- Publisher: dokhacgiakhoa
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [APIs & backend](https://ss33.ai/skills/category/software-development-t44z8z/apis-and-backend-t0x840)
- License: MIT
- Source: https://github.com/dokhacgiakhoa/agent-skills-4-vibe-coding-cli/blob/c4a059bbf7a8d6b2162071f0fbfe74053faa6d20/.agent/skills/agent-backend-patterns/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/dokhacgiakhoa/agent-backend-patterns-76966988861

Backend architecture patterns and best practices for scalable server-side applications.

## API Design Patterns

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [RESTful API Structure](./sub-skills/restful-api-structure.md)
### 2. [Repository Pattern](./sub-skills/repository-pattern.md)
### 3. [Service Layer Pattern](./sub-skills/service-layer-pattern.md)
### 4. [Middleware Pattern](./sub-skills/middleware-pattern.md)
### 5. [Query Optimization](./sub-skills/query-optimization.md)
### 6. [N+1 Query Prevention](./sub-skills/n1-query-prevention.md)
### 7. [Transaction Pattern](./sub-skills/transaction-pattern.md)
### 8. [Redis Caching Layer](./sub-skills/redis-caching-layer.md)
### 9. [Cache-Aside Pattern](./sub-skills/cache-aside-pattern.md)
### 10. [Centralized Error Handler](./sub-skills/centralized-error-handler.md)
### 11. [Retry with Exponential Backoff](./sub-skills/retry-with-exponential-backoff.md)
### 12. [JWT Token Validation](./sub-skills/jwt-token-validation.md)
### 13. [Role-Based Access Control](./sub-skills/role-based-access-control.md)
### 14. [Simple In-Memory Rate Limiter](./sub-skills/simple-in-memory-rate-limiter.md)
### 15. [Simple Queue Pattern](./sub-skills/simple-queue-pattern.md)
### 16. [Structured Logging](./sub-skills/structured-logging.md)
