backend-api
Create Express.js API endpoints for IntelliFill following established patterns (Prisma, Supabase auth, Joi validation, Bull queues). Use when creating new API routes, services, or middleware.
npx skills add majiayu000/claude-skill-registry --skill backend-api-intellifill-intellifill --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Backend API Development Skill This skill provides comprehensive guidance for creating Express.js API endpoints in the IntelliFill backend (`quikadmin/`). ## Table of Contents 1. [Route Factory Pattern](#route-factory-pattern) 2. [Validation with Joi](#validation-with-joi) 3. [Service Layer](#service-layer) 4. [Authentication Middleware](#authentication-middleware) 5. [Error Handling](#error-handling) 6. [Rate Limiting](#rate-limiting) 7. [Background Jobs with Bull](#background-jobs-with-bull) 8. [Testing Patterns](#testing-patterns) ## Route Factory Pattern IntelliFill uses a modular route pattern where each domain has its own route file. ### File Structure ``` quikadmin/src/api/ ├── routes.ts # Main route registry ├── auth.routes.ts # Authentication routes ├── documents.routes.ts # Document management ├── templates.routes.ts # Template CRUD ├── knowledge.routes.ts # Knowledge base └── users.routes.ts # User profile ``` ### Route File Template ```typescript // quikadmin/src/api/[domain].routes.ts import { Router, Request, Response, NextFunction } from 'express'; import { validateRequest } from '../middleware/validation'; import { authMiddleware } from '../middleware/supabaseAuth'
- Table of Contents
- Route Factory Pattern
- File Structure
- Route File Template
- Registering Routes
- Validation with Joi
- Schema Location
- Validation Schema Pattern
- Using Validation Middleware
- Service Layer
- Service Location
- Service Pattern
- Authentication Middleware
- Auth Middleware Usage
What does the backend-api skill do?
Create Express.js API endpoints for IntelliFill following established patterns (Prisma, Supabase auth, Joi validation, Bull queues). Use when creating new API routes, services, or middleware.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill backend-api-intellifill-intellifill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
