tsrpc-api

Community

Kickstart new TSRPC APIs quickly.

AuthorNoirJ0e
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you scaffold new TSRPC API endpoints and interfaces, accelerating backend development.

Core Features & Use Cases

  • Protocol-first development: Create and organize protocol definitions in shared/protocols/ with clear Req/Res interfaces.
  • API implementation guide: Implement API handlers in api/ following standard TSRPC patterns.
  • ServiceProto generation: Generate the service protocol via tsrpc-cli proto to keep client/server in sync.
  • Use Case: When starting a new feature like a product catalog, define PtProduct.ts, ApiProduct.ts, and run proto to update serviceProto.ts.

Quick Start

Create a Pt{ApiName}.ts protocol in shared/protocols, implement an Api{ApiName}.ts handler in api/, and run npm run proto in the backend to regenerate serviceProto.ts.

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

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.