import type { SkillConfig } from "@/types" /** * Backend Development Patterns Skill * Expertise in backend architecture, API design, database optimization, and server-side best practices */ const backendPatternsSkill: SkillConfig = { id: "backend-patterns", name: "Backend Development Patterns", description: "Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes", category: "backend", expertise: [ "api-design", "repository-pattern", "service-layer", "middleware-patterns", "database-optimization", "caching-strategies", "error-handling", "authentication-authorization" ], patterns: [ "RESTful API design with proper HTTP methods", "Repository pattern for data access abstraction", "Service layer for business logic separation", "Middleware for request/response processing", "Query optimization and N+1 prevention", "Cache-aside pattern for performance", "Centralized error handling", "JWT-based authentication and RBAC" ], examples: [ "Design RESTful APIs with proper resource endpoints", "Implement repository pattern for database operations", "Set up Redis caching layer for frequently accessed data", "Create middleware for authentication and authorization", "Implement rate limiting for API protection", "Use transactions for data consistency" ] } export default backendPatternsSkill