tRPC Full-Stack Guide
Zero-codegen end-to-end type safety:
- Group procedures into modular sub-routers.
- Chain middleware for authentication and rate limiting on protected procedures.
- Leverage TanStack Query hooks generated by tRPC client.
Eliminate API schema drift with tRPC procedures, input validation with Zod, and full-stack TypeScript safety.
Andromity loads skills from folders you trust. Install with andromity skill install trpc-type-safety — autonomy and approval limits stay configurable per session.
# Install the "tRPC End-to-End Type Safety" skill You are installing an AgenticMarket skill into this workspace. Follow these steps exactly. ## 1. Detect your environment and choose the destination file - Andromity: `.andromity/skills/trpc-type-safety/SKILL.md` (or user scope `~/.andromity/skills/trpc-type-safety/SKILL.md`) - Antigravity / Gemini CLI: `.agent/skills/trpc-type-safety/SKILL.md` - Cursor: `.cursor/rules/trpc-type-safety.mdc` - Claude Code: append to `CLAUDE.md` (or `.claude/skills/trpc-type-safety.md`) - Windsurf: append to `.windsurfrules` - Cline / Roo Code: `.clinerules/trpc-type-safety.md` - GitHub Copilot: append to `.github/copilot-instructions.md` - ChatGPT / web only: paste the content into Custom Instructions - Any other agent: save to `.agent/skills/trpc-type-safety/SKILL.md` ## 2. Create the destination file - Preserve every existing file and configuration entry. - Create parent folders as needed. - Never overwrite unrelated content. ## 3. Write exactly this content ```markdown --- name: trpc-type-safety description: "Eliminate API schema drift with tRPC procedures, input validation with Zod, and full-stack TypeScript safety." author: community license: mit version: 1.0.0 --- # tRPC Full-Stack Guide Zero-codegen end-to-end type safety: - Group procedures into modular sub-routers. - Chain middleware for authentication and rate limiting on protected procedures. - Leverage TanStack Query hooks generated by tRPC client. ``` ## 4. Verify - Confirm the file exists and is readable. - Report the destination path and confirm the "tRPC End-to-End Type Safety" skill is installed and active. Skill metadata: - Slug: trpc-type-safety - Category: development - License: mit - Source: AgenticMarket
Zero-codegen end-to-end type safety:
Eliminate API schema drift with tRPC procedures, input validation with Zod, and full-stack TypeScript safety.
tRPC End-to-End Type Safety works seamlessly with Cursor (.cursor/rules), Claude Code (CLAUDE.md & .claude/skills), Windsurf (.windsurfrules), Google Antigravity (.agent/skills), Andromity (.andromity/skills), and Cline.
Click '1-Click Prompt Install' in the right sidebar or copy the prompt into your agent chat (Cursor Composer, Claude Code, or Andromity). The agent automatically configures the skill instruction file into your workspace.
Yes, tRPC End-to-End Type Safety is 100% free and open-source under the mit license on AgenticMarket with no per-call fees or paywalls.
Master React Server Components, Server Actions, parallel routes, streaming, ISR, and cache revalidation.
Implement Stripe Checkout sessions, webhook verification, customer portals, idempotency keys, and subscription billing.
Design type-safe database schemas, execute optimized relational queries, and manage migrations across SQLite, Postgres, and D1.