backend-master

Coordinate backend architecture decisions for TypeScript projects.

13|2|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/petbrains/mvp-builder --skill backend-master
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-master
Source: https://github.com/petbrains/mvp-builder/tree/main/.claude/skills/backend-master
Command: npx skills add https://github.com/petbrains/mvp-builder --skill backend-master

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates architecture decision paralysis by providing a unified decision matrix that instantly routes you to the right tools (tRPC vs REST, Auth.js vs Passport, Prisma patterns) and provides complete implementation templates for any backend task.

Core Features & Use Cases

  • Architecture Decision Matrix: Clear guidelines for choosing between tRPC, REST, authentication strategies, and database patterns based on project requirements.
  • Complete Implementation Templates: Ready-to-use code for project structure, tRPC routers, authentication middleware, logging, and deployment.
  • Use Case: Imagine starting a new API project. This Skill helps you decide between tRPC for internal TypeScript clients vs REST for external APIs, provides the exact Prisma singleton pattern, and delivers complete Docker deployment configuration—saving days of research and setup.

Quick Start

Use the backend-master skill to architect a new user management API that needs type-safe queries, JWT authentication, structured logging, and Docker deployment.

Frequently Asked Questions about backend-master

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

FAQPage Schema
How do I choose between tRPC and REST for my TypeScript backend API?

tRPC vs REST depends on your client base: use tRPC for internal TypeScript clients to gain end-to-end type safety and automatic API inference, or REST for external APIs and cross-language consumers. Backend-master provides decision criteria and complete templates for both architectures.

What's the best way to structure a TypeScript backend project with Docker deployment?

Structure your project with clear separation of API layer, authentication middleware, database access, and logging, then containerize with Docker. Backend-master supplies ready-to-use project scaffolds, Prisma patterns, and complete Docker configurations to eliminate setup decisions.

How do I set up JWT authentication and logging in a TypeScript API?

Implement JWT authentication middleware in your API layer and integrate structured logging for debugging and monitoring. Backend-master provides complete implementation templates for both, with guidance on integrating Auth.js or Passport and Pino logging.

Can I use Prisma with tRPC for type-safe database queries?

Yes. Prisma and tRPC work together seamlessly for end-to-end type safety from database to API client. Backend-master routes you to specialized guidance on Prisma singleton patterns and tRPC router design that work in synergy.

What validation library should I use with my TypeScript backend?

Choose a validation library based on your needs: Zod provides type-safe schema validation that integrates naturally with TypeScript. Backend-master includes decision criteria and setup templates for schema validation in your API layer.

How do I avoid architecture decision paralysis when starting a new backend project?

Backend-master eliminates paralysis with a unified decision matrix covering API design, authentication, database patterns, logging, and testing. It routes you directly to the right tools and provides complete implementation templates for any choice.