
backend-patterns
Backend architecture patterns, API design, database optimization
by affaan-mFree
Description
backend-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It teaches a coding agent the usual shape of server-side code: repository, service and controller layers, RESTful or GraphQL endpoint design, and error handling and validation for APIs. It also covers database query work such as avoiding N+1 queries, adding indexes and pooling connections, plus caching with Redis, in-memory stores or HTTP cache headers. Background jobs, async processing and middleware for auth, logging and rate limiting are in scope. The examples target Node.js, Express and Next.js API routes. A skill is a SKILL.md file of instructions that an AI agent loads only when a task calls for it, so the agent follows the same steps each time. It is free and open source.…
Highlights
- Repository, service and controller layering
- REST and GraphQL endpoint design
- Query tuning for N+1, indexing and connection pools
- Caching with Redis, in-memory or HTTP headers
- Middleware for auth, logging and rate limiting
Ratings & Reviews
No ratings yet
Be the first to rate backend-patterns.
People also visit

senior-backend
Designs and implements backend systems including REST APIs, microservices
backend-patterns FAQ
What does the backend-patterns skill do?
It gives an AI coding agent established backend architecture patterns for API design, database work, caching, background jobs and middleware, so the code it writes follows a consistent server-side structure.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill backend-patterns
Which frameworks does it cover?
The guidance is written for Node.js, Express and Next.js API routes, though the layering and database advice applies more widely.
Is it free?
Yes. The skill is free and open source.
Is it safe to install?
The skills.sh listing shows passing results from Gen Agent Trust Hub, Socket and Snyk security audits.
What are the best backend-patterns alternatives?
Popular alternatives to backend-patterns include senior-backend, backend-architect and senior-backend. See all backend-patterns alternatives











