backend-design

Enforce backend design patterns for scalable systems with vertical slice architecture.

230|34|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/xenitV1/claude-code-maestro --skill backend-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-design
Source: https://github.com/xenitV1/claude-code-maestro/tree/main/skills/backend-design
Command: npx skills add https://github.com/xenitV1/claude-code-maestro --skill backend-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies backend design best practices to ensure scalable, secure, and maintainable systems across teams, reducing architecture drift and rework.

Core Features & Use Cases

  • Vertical Slice Architecture: organize feature code by business capability, containing controller, domain logic, validation, and data access within a single module.
  • Zero Trust Security Protocols: enforce strict input validation, token-based auth, and safe data handling across services.
  • Reliability and Performance Patterns: outbox pattern for guaranteed delivery, cursor pagination, optimistic locking, and standard API responses.
  • Use Case Example: A team building a new user-management feature can scaffold an entire feature slice with all necessary components in one module and enforce end-to-end security, validation, and data access rules.

Quick Start

Create a new feature slice folder containing handler.ts, logic.ts, schema.ts, and db.ts, then wire up an outbox-based event flow.

Frequently Asked Questions about backend-design

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

FAQPage Schema
What is vertical slice architecture in a modular monolith?

Vertical slice architecture organizes feature code by business capability, containing controller, domain logic, validation, and data access within a single module. This feature-first approach for modular monoliths reduces architecture drift and ensures maintainable systems across teams.

How do I implement the outbox pattern for reliable event delivery?

Implement the outbox pattern by creating a feature slice folder with handler, logic, schema, and db files, then wiring up an outbox-based event flow. This guarantees reliable message delivery alongside your primary database transactions for scalable backend systems.

Why do I need zero-trust security for backend API design?

Zero-trust security for backend API design enforces strict input validation, token-based authentication, and safe data handling across all services. This prevents unauthorized access and ensures robust protection across feature teams and product domains.

Does this backend design approach work for scalable systems across multiple teams?

Yes, this backend design approach works for scalable systems by codifying best practices across feature teams. It standardizes vertical slice architecture, zero-trust security, and reliability patterns to reduce architecture drift and rework in growing organizations.

What's the best way to handle pagination and guaranteed delivery in backend APIs?

The best way to handle pagination and guaranteed delivery is combining cursor-based pagination with the outbox pattern. Cursor pagination ensures high-performance data retrieval, while the outbox pattern provides guaranteed event delivery for reliable backend architectures.

When should I not use a feature-first modular monolith architecture?

You should reconsider a feature-first modular monolith if your system does not require strict input validation, outbox-based reliability, or cursor-based pagination. This architecture enforces fortress-grade patterns that may be excessive for simple, small-scale applications without multi-team coordination needs.