This one gives you solid patterns for building maintainable APIs and backend services. It covers the repository pattern for clean data access, service layers for business logic, and proper middleware setup for auth and validation. The caching strategies are practical, showing Redis implementation and cache-aside patterns that actually work in production. Error handling is thoughtful with centralized handlers and retry logic. Most useful when you're moving beyond quick prototypes and need structure that won't become technical debt. The database optimization examples alone will save you from common N+1 query mistakes.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
8
skills.sh installs
8.7K
GitHub stars
229.1K
last updated
Jul 14, 2026

Install

$ npx -y skills add affaan-m/everything-claude-code --skill backend-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Backend Development Patterns

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

When to Activate

  • Designing REST or GraphQL API endpoints
  • Implementing repository, service, or controller layers
  • Optimizing database queries (N+1, indexing, connection pooling)
  • Adding caching (Redis, in-memory, HTTP cache headers)
  • Setting up background jobs or async processing
  • Structuring error handling and validation for APIs
  • Building middleware (auth, logging, rate limiting)

API Design Patterns

RESTful API Structure

// PASS: Resource-based URLs
GET    /api/markets                 # List resources
GET    /api/markets/:id             # Get single resource
POST   /api/markets                 # Create resource
PUT    /api/markets/:id             # Replace resource
PATCH  /api/markets/:id             # Update resource
DELETE /api/markets/:id             # Delete resource

// PASS: Query parameters for filtering, sorting, pagination
GET /api/markets?status=active&sort=volume&limit=20&offset=0

Repository Pattern

Sponsors

Details

Repository
github.com/affaan-m/everything-claude-code
Category
Backend & APIs

More from affaan-m/everything-claude-code

All 256
1github avatarmcp-copilot-studio-server-generatorgithub/awesome-copilotGenerate a complete MCP server implementation optimized for Copilot Studio integration with proper schema constraints and streamable HTTP support8.7Kskills.sh installs
2sickn33 avatarapi-security-best-practicessickn33/antigravity-awesome-skillsapi security best practices7.9Kskills.sh installs
3okx avatarokx-cex-authokx/agent-skillsUse this skill when the user wants to 'login/log in/sign in', 'authenticate', 'authorize', 'connect OKX account', 'set up credentials', 'first time setup', 'con6.1Kskills.sh installs
4affaan-m avatardatabase-migrationsaffaan-m/everything-claude-codedatabase migrations5.9Kskills.sh installs
5recoupable avatarrecoup-platform-api-accessrecoupable/skillsCall the Recoup API and external connectors directly — fetch any platform resource (artists, socials, organizations, research, documents) and run connector acti5.3Kskills.sh installs
6firebase avatarfirebase-local-env-setupfirebase/agent-skillsBare minimum INITIAL setup for getting started with Firebase (Node.js, CLI installation, first-time login). Use ONLY for first-time setup. For updating, trouble5.1Kskills.sh installs