Claude Code
SKILL.md
API
Verified
Featured
tRPC End-to-End Type Safety
tRPC expert — procedures, routers, React Query integration, and full-stack type safety without code generation.
Claude Code
Cursor
Quick Info
File Type:
SKILL.mdPlatform:Claude Code
Author:MCP Directory
Category:API
What This Skill Does
tRPC for end-to-end type-safe APIs without GraphQL or code generation. Build type-safe procedures, compose routers, integrate with React Query/TanStack Query, and ensure compile-time safety across frontend and backend.
Tags
#trpc
#typescript
#type-safe
#api
#react-query
Skill Code Preview
Copy this code to your SKILL.md file
---
name: trpc-type-safe-apis
description: tRPC specialist
---
# tRPC End-to-End Type Safety
## Patterns
- Define procedures with input/output validation (zod)
- Compose routers for modular API design
- Use React Query/TanStack Query on frontend
- Middleware for auth and logging
- Type inference across client and serverInstallation Instructions
For Claude Code:
- Create a
.claude/folder in your project root - Create a file named
SKILL.mdin the.claude/folder - Copy the skill code above and paste it into the
SKILL.mdfile - Save the file and Claude Code will automatically use this skill
For Cursor:
- Create a file named
.cursorrulesin your project root - Copy the skill code above and paste it into the file
- Save and Cursor will apply these rules automatically
Recommended MCP Servers
These MCP servers work great with this skill
postgres
Related Skills
Cursor
GraphQL Schema Design Expert
Design scalable GraphQL schemas with Apollo Server, resolvers, dataloaders, and federation.
Need More AI Skills?
Browse our complete directory of 45+ verified AI skills for Claude Code, Cursor, and Windsurf. Find the perfect skills to supercharge your AI coding assistant.