add-trpc-endpoint

Community

Scaffold complete tRPC endpoints quickly.

Authorbetterbrand
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Accelerates the creation of new tRPC endpoints with validated inputs, standardized error handling, and router integration.

Core Features & Use Cases

  • Zod Validation: Input schemas ensure typed, validated inputs.
  • Procedure Scaffolding: Create public/protected/admin endpoints with TRPCError-based errors.
  • Router Integration: Add to appRouter and provide client usage patterns.

Quick Start

Add a new endpoint following the template, update server/routers.ts, and test with client hooks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-trpc-endpoint
Download link: https://github.com/betterbrand/dealflow-network/archive/main.zip#add-trpc-endpoint

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository