tsrpc-guide

Community

Master TSRPC: type-safe full-stack RPC in TS.

AuthorNoirJ0e
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TSRPC provides a clear, type-safe blueprint for building full-stack TypeScript RPC applications, reducing boilerplate and runtime errors by enforcing strict contracts between client and server.

Core Features & Use Cases

  • Protocol definitions: Define Req*.ts and Res*.ts to describe request/response shapes that are validated at runtime.
  • API implementation: Implement Api*.ts handlers that receive typed requests and respond with succ/error semantics.
  • ServiceProto workflow: Generate and synchronize serviceProto.ts to keep client and server in sync.
  • Client-Server patterns: HTTP and WebSocket clients and servers with typed APIs and safe coding practices.
  • Best practices: Emphasizes strict TypeScript, validation beyond types, and structured middleware flows.

Quick Start

Explain how to scaffold a minimal TSRPC project and implement a simple ApiHello.ts with PtHello.ts to illustrate the protocol-server-client flow.

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: tsrpc-guide
Download link: https://github.com/NoirJ0e/tsrpc-ecommerce-admin-example/archive/main.zip#tsrpc-guide

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.