AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Backend Development Patterns

A reference set of API design, database optimization, caching, and auth patterns for Node.js, Express, and Next.js API routes.

Dev & CodingIntermediate★ 316,622⑂ 46,367AI score 8/10Last updated: Dec 1, 2026

What it does

Acts as a canonical pattern library that Claude consults when writing or reviewing backend code.

  • RESTful endpoint structure (resource URLs, filter/sort/pagination query params)
  • Repository / Service / Middleware layer separation
  • Database optimization: select only needed columns, kill N+1 queries, transactions via RPC
  • Redis caching layer and cache-aside pattern
  • Centralized error handler and retry with exponential backoff
  • JWT verification, role-based access control, rate limiting
  • Simple job queue and structured logging

Who it's for

  • TypeScript developers building Next.js API Routes or Express services
  • Teams wanting consistent backend conventions during code review
  • Teams on Supabase/Postgres looking to tighten query performance

Examples

  1. "Refactor /api/orders into repository + service layers" → produces an interface plus concrete implementation
  2. "This list endpoint is slow" → spots the N+1 loop and rewrites it as a batch fetch with a Map lookup
  3. "Only admins may delete" → generates requireAuth + requirePermission('delete') higher-order middleware

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/affaan-m/ECC/HEAD/.agents/skills/backend-patterns/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the .agents/skills/backend-patterns folder from the GitHub repo affaan-m/ECC into my ~/.claude/skills/backend-patterns/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/affaan-m/ECC.git /tmp/ECC && mkdir -p ~/.claude/skills && cp -r /tmp/ECC/.agents/skills/backend-patterns ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open your terminal.
  2. Clone the repo: git clone https://github.com/affaan-m/ECC.git /tmp/ECC
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/ECC/.agents/skills/backend-patterns ~/.claude/skills/
  5. Verify that ~/.claude/skills/backend-patterns/SKILL.md exists.
  6. Restart Claude Code and ask something like "review this API route" to trigger the skill.