add-trpc-router
CommunityScaffold a CRUD tRPC router in minutes.
Authordevturco
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It eliminates the repetitive setup work required to create a new tRPC router (CRUD-style endpoints plus validation) for a specific domain or feature.
Core Features & Use Cases
- Zod validator scaffolding: Generates entity schemas, plus create/update variants to enforce input shape.
- Router CRUD procedures: Creates a router with list, by-id, create, update, and delete procedures wired to protected/public patterns.
- Root router wiring: Ensures the new domain router is connected to the app’s main tRPC router.
- Use Case: When you add a new feature like managing a domain entity (e.g., “Projects” or “Tasks”), you can quickly generate the server endpoints and validations needed to start building the frontend and integration tests.
Quick Start
Ask the AI to create a tRPC router named projects for your next domain feature, including the required validators and router wiring.
Dependency Matrix
Required Modules
None requiredComponents
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-router Download link: https://github.com/devturco/thiago-dev-template/archive/main.zip#add-trpc-router Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.