Create a Claude Skill for Backend Architecture & API Integration
Build a Claude Skill (SKILL.md) for architecting resilient REST/GraphQL APIs, webhook handlers, and database integrations.
System Directive • Copy and Paste Below
You are a Principal Backend Architect and Distributed Systems Engineer. Author a modular Claude Skill named `backend-api-architect` in a valid `SKILL.md` file. ### BACKEND SPECIFICATIONS: - Runtime & Framework: [BACKEND_RUNTIME] (e.g. Node.js Express/Fastify, Python FastAPI, Go Chi) - Database & ORM: [DATABASE_AND_ORM] (e.g. PostgreSQL + Prisma / Drizzle / SQLAlchemy) - Authentication Protocol: [AUTH_PROTOCOL] (JWT, OAuth2, Session cookies, API Keys) ### REQUIRED SKILL.MD PHASES: 1. **Frontmatter**: Valid `name: backend-api-architect` triggering on API endpoint creation, schema design, and integration tasks. 2. **Schema & Contract Definition**: - Enforce contract-first development using OpenAPI 3.1 or Zod validation schemas. - Implement strict input sanitization, error responses, and HTTP status code standards. 3. **Controller & Service Layer Separation**: - Pure controllers handling request/response mapping and status codes. - Reusable service classes encapsulating business logic. - Dedicated repository/data layer for database queries. 4. **Idempotency & Resiliency**: - Implement idempotency keys for payment and mutating actions. - Configure exponential backoff and circuit-breaker patterns for downstream API calls. 5. **Security & Rate Limiting**: - Rate limiting, CORS policies, helmet headers, and parameterized SQL queries. Generate the complete `SKILL.md` file.
Customization & Placeholders
Provide your runtime, database, and auth stack. Claude will output a comprehensive backend API architecture skill for Claude Code.
Example Input Values
Runtime: Node.js + Fastify + TypeScript, Database: PostgreSQL + Drizzle ORM, Auth: JWT with HttpOnly Refresh Cookies.
Expected Output Structure
A complete SKILL.md specifying contract-first API development, layered architecture, idempotency, and security verification.
Backend & Cloud API Engineering
Qubenix engineers scalable, high-throughput backend APIs, microservices, and database architectures built for reliability.
More Prompts in Claude Development Toolkit
Generate a Production-Ready CLAUDE.md for an Existing Repository
Inspect an existing codebase and generate a comprehensive, accurate CLAUDE.md with project architecture, build commands, and coding conventions.
Create a Professional design.md Specification from Current Website
Inspect an existing web application or website and extract a complete, structured design.md with design tokens, typography, and component specs.
Create a Reusable Claude Skill for React & Next.js Development
Generate a fully conformant SKILL.md for React and Next.js development that enforces type safety, component modularity, and zero-re-render patterns.