Backend Patterns
Backend architecture patterns covering API design, repositories, caching, and error handling for Node.js, Express, and Next.js routes.
- CCM score
- 66 of 100
- skills.sh installs
- 17.8K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers REST endpoint structure, repository and service layers, middleware pipelines, and database query optimization
- Includes code patterns for N+1 prevention with batch fetching, transactions via Supabase RPC, and cache-aside with Redis
- Provides a centralized error handler mapping custom API errors and Zod validation failures to consistent JSON responses
- Designed for teams building or reviewing server-side API routes and their data access layers
Install
$ npx -y skills add affaan-m/ecc --skill backend-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Backend & APIs, Databases
- First seen
- Jul 14, 2026
Questions
What does the backend-patterns skill cover?
The backend-patterns skill covers backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes. It guides repository and service layers, query optimization, caching, error handling, and middleware.
Who is the backend-patterns skill for?
It is for developers building or reviewing Node.js, Express, or Next.js API routes and their data access. It fits work on REST or GraphQL endpoints, background jobs, and API validation.
How do I install the backend-patterns skill?
Run npx -y skills add affaan-m/ecc --skill backend-patterns -y in your project. The skill then lets the agent apply these backend patterns when you build or review API routes.
Where does backend-patterns rank in its category?
It sits in the Backend & APIs category on Claude Marketplaces, where it ranks in the top 100. Other skills in that category include neon and firebase-basics.
More from affaan-m/ecc
All 257- Coding Standards17.6K
- Frontend Patterns17.6K
- Docker Patterns16.8K
- Golang Testing16.5K
- Python Patterns15.6K
- Springboot Patterns15.5K
- Api Design15.3K
- Market Research15.3K
- Postgres Patterns15.2K
- Frontend Slides15.2K
- Django Patterns15.2K
- Tdd Workflow15K
- Rust Testing14.8K
- Prompt Optimizer14.5K
- Java Coding Standards14.5K
- Django Security14.4K
- Python Testing14.3K
- Laravel Security14.3K
- Android Clean Architecture14.3K
- Article Writing14.3K
- Cpp Coding Standards14.3K
- Springboot Security14.2K
- Liquid Glass Design14.2K
- Database Migrations14.1K
Similar to Backend Patterns
More Backend & APIsnodejs-backend-patternswshobson/agents51.1K installsProduction-ready Node.js backend patterns for Express or Fastify services, REST, GraphQL, and microservices.
cc-skill-backend-patternssickn33/agentic-awesome-skills421 installsBackend architecture patterns for Node.js, Express, and Next.js API routes with scalability and database guidance.
nodejs-backendalinaqi/maggy447 installsNode.js backend patterns for Express or Fastify covering routes, middleware, repositories, and error handling.
backend-dev-guidelinesdavila7/claude-code-templates492 installsBackend guide for Node.js/Express/TypeScript services that enforces layered architecture, BaseController, unifiedConfig, and Zod validation.
express-rest-apipluginagentmarketplace/custom-plugin-nodejs905 installsProduction-ready Express.js REST API patterns covering routing, middleware, validation, and centralized error handling.