Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dauquangthanh avatar

Backend Design

  • 102 installs
  • 14 repo stars
  • Updated January 23, 2026
  • dauquangthanh/hanoi-rainbow

Backend Design is an agent skill that drafts API specs, schemas, and architecture plans so developers can implement coherent server-side systems.

About

The backend-design skill designs backend systems including REST APIs, microservices, databases, authentication, caching, and message-driven scalability. It delivers API specs, ERDs, Mermaid diagrams, security flows, and phased roadmaps. Use it when you need a documented backend blueprint before or alongside implementation of server-side services.

  • API-first workflow with OpenAPI outputs
  • Relational and NoSQL database design refs
  • OAuth, JWT, RBAC security flows
  • Scalability via cache, LB, and queues

Backend Design by the numbers

  • 102 all-time installs (skills.sh)
  • Ranked #2,978 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill backend-design

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs102
repo stars14
Last updatedJanuary 23, 2026
Repositorydauquangthanh/hanoi-rainbow

How do you nail API contracts, data models, and security flows before backend code diverges across services?

Design APIs, schemas, auth, caching, queues, and scalability plans with OpenAPI and architecture docs.

Who is it for?

Developers designing new APIs or microservices who want OpenAPI, ERDs, and deployment architecture spelled out.

Skip if: Teams that only need line-by-line code fixes without upfront design documentation.

When should I use this skill?

Users mention backend architecture, API design, database design, microservices, or server-side development planning.

What you get

API specifications, database schemas, architecture diagrams, security designs, and implementation roadmaps.

Files

SKILL.mdMarkdownGitHub ↗

Backend Design

Workflow

Follow this systematic design process:

1. Requirements Analysis

  • Gather functional requirements (features, operations)
  • Define non-functional requirements (performance, scalability, availability)
  • Identify constraints (budget, timeline, technology, compliance)

2. Architecture Selection

  • Choose architecture pattern (monolith, microservices, serverless)
  • Select technology stack based on requirements
  • Define service boundaries and responsibilities

3. API Design

  • Design RESTful endpoints with proper resource modeling
  • Define request/response schemas and contracts
  • Plan versioning strategy and documentation
  • See api-design-guide.md for REST/GraphQL/gRPC patterns

4. Database Design

  • Model entities and relationships
  • Design schema with normalization
  • Plan indexing and partitioning strategies
  • See database-design.md for relational and NoSQL patterns

5. Security Design

  • Design authentication flow (OAuth 2.0, JWT)
  • Plan authorization model (RBAC, ABAC)
  • Define data encryption and protection strategy

6. Scalability & Performance

  • Design caching strategy (Redis, CDN)
  • Plan load balancing and auto-scaling
  • Define asynchronous processing with message queues

7. Documentation

  • Create API specifications (OpenAPI/Swagger)
  • Document architecture decisions with Mermaid diagrams
  • Provide implementation guidelines and roadmap

Output Structure

Present your backend design with these sections:

1. System Overview - High-level architecture, components, technology stack 2. API Specification - Endpoints, schemas, authentication, OpenAPI docs 3. Database Design - ERD, schema, indexes, migration plan 4. Architecture Decisions - Service decomposition, communication patterns, consistency model 5. Security Implementation - Authentication/authorization flows, encryption 6. Scalability Plan - Load balancing, caching, database scaling, auto-scaling 7. Deployment Architecture - Containers, infrastructure, CI/CD, monitoring 8. Implementation Roadmap - Phases, milestones, dependencies, risks

Core Principles

  • API-first approach - Design and document APIs before implementation
  • Security by design - Build authentication, authorization, and encryption from the start
  • Design for scalability - Plan for growth with caching, load balancing, and horizontal scaling
  • Plan for failure - Include error handling, retries, circuit breakers, and graceful degradation
  • Document thoroughly - Create clear API specs, Mermaid architecture diagrams, and implementation guides

Reference Files

Load additional resources based on specific needs:

  • Detailed Design Process: See backend-design-process.md for comprehensive step-by-step workflow with examples for API design, database modeling, authentication flows, and microservices patterns
  • API Design Guide: See api-design-guide.md when designing RESTful APIs, GraphQL schemas, or gRPC services - includes resource modeling, status codes, versioning strategies, and documentation
  • Database Design: See database-design.md for detailed guidance on relational and NoSQL database design, normalization, indexing, partitioning, and replication strategies
  • Best Practices: See best-practices.md for API design, database optimization, security hardening, performance tuning, and reliability patterns
  • Common Patterns: See common-patterns.md for code examples of repository pattern, service layer, dependency injection, and other architectural patterns
  • Example Projects: See examples.md for complete architecture examples including e-commerce systems, real-time chat applications, and microservices implementations

Related skills

FAQ

What documentation formats are produced?

OpenAPI specs, Mermaid diagrams, ERDs, and structured design sections including roadmaps.

Does it cover microservices?

Yes; service boundaries, communication patterns, and resilience are part of the workflow.

Are security flows included?

Yes; OAuth 2.0, JWT, RBAC, and encryption strategies are explicit design steps.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.