trpc-type-safety

Community

Type-safe APIs for TypeScript

Authorbobmatnyc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the need for manual code generation and runtime errors in TypeScript APIs by providing end-to-end type safety between your client and server.

Core Features & Use Cases

  • End-to-End Type Safety: Define your API once and get automatic type inference across your entire stack.
  • Zero Code Generation: No need for separate schema compilation or generation steps.
  • React Query Integration: Seamlessly integrates with React Query for robust data fetching and state management.
  • Use Case: Build a full-stack application where your React frontend can call server-side functions with full confidence that the data shapes and function signatures match perfectly, preventing common runtime API errors.

Quick Start

Use the trpc skill to define a server router with a 'hello' query that accepts a name string and returns a greeting.

Dependency Matrix

Required Modules

@trpc/server@trpc/client@trpc/react-queryzod@tanstack/react-query

Components

scriptsreferences

💻 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: trpc-type-safety
Download link: https://github.com/bobmatnyc/claude-mpm-skills/archive/main.zip#trpc-type-safety

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.