Backend Architecture Design

Design backend architectures covering API design, data, infrastructure, security, and cost.

5|3|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/pauljbernard/headElf --skill backend-architecture-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Backend Architecture Design
Source: https://github.com/pauljbernard/headElf/tree/main/skills/fullstack/backend-architecture
Command: npx skills add https://github.com/pauljbernard/headElf --skill backend-architecture-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complex challenges of designing, implementing, and optimizing backend systems for enterprise-scale applications, ensuring scalability, security, performance, and cost-efficiency.

Core Features & Use Cases

  • Architecture Patterns: Guidance on Monolithic, Microservices, Serverless, and Event-Driven architectures.
  • API Design: Expertise in REST, GraphQL, and gRPC, including API Gateway patterns.
  • Data Management: Strategies for SQL, NoSQL databases, and various data modeling techniques.
  • Infrastructure & Security: Cloud patterns, containerization, IaC, authentication, authorization, and compliance.
  • Performance & Cost: Caching, scaling, monitoring, and financial optimization techniques.
  • Use Case: A startup needs to design a scalable backend for a new SaaS product. This Skill can provide a comprehensive blueprint covering microservices, a robust API design (RESTful), database selection (PostgreSQL with read replicas), cloud infrastructure (AWS with Kubernetes), and security best practices.

Quick Start

Design a scalable backend architecture for a new SaaS product using microservices, REST APIs, and PostgreSQL on AWS.

Frequently Asked Questions about Backend Architecture Design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a scalable backend architecture for a new SaaS product?

To design a scalable backend architecture, this guidance provides comprehensive blueprints covering microservices, REST API design, PostgreSQL database selection with read replicas, cloud infrastructure patterns, and security frameworks for production systems.

What is the best way to choose between REST, GraphQL, and gRPC for API design?

Choosing between REST, GraphQL, and gRPC for API design depends on your client needs. This expertise offers detailed strategies for each protocol, including API Gateway patterns, to ensure optimal communication and performance for your backend systems.

When should I use microservices instead of a monolithic backend architecture?

You should use microservices instead of a monolithic backend architecture when you need independent scaling and deployment. This guidance covers monolithic, microservices, serverless, and event-driven patterns to determine the right fit for your enterprise scale.

How do I implement security and compliance in cloud infrastructure?

To implement security and compliance in cloud infrastructure, this provides strategies for authentication, authorization, and infrastructure as code (IaC). It covers cloud patterns and containerization to ensure robust protection for your backend systems.

What are the best practices for database selection and data architecture in backend systems?

Best practices for database selection and data architecture involve evaluating SQL versus NoSQL strategies based on your data modeling needs. This provides detailed guidance on database selection and data modeling techniques for production environments.

How do I optimize backend performance and manage cloud infrastructure costs?

To optimize backend performance and manage cloud costs, this provides caching, scaling, and monitoring techniques alongside financial optimization strategies. These methods ensure your backend infrastructure remains cost-efficient under heavy production loads.