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.
Use when running an annual SaaS audit, doing category-level spend review, or rationalizing the supplier base — when the user needs a spend audit, spend categorization (UNSPSC-aligned with Pareto breakdown and industry profiles), purchasing-cycle analysis (bottleneck categories per Goldratt's Theory of Constraints), or risk-balanced supplier consolidation that refuses single-source recommendations for tier-1 categories without a documented break-glass plan. Triggers on "spend audit", "SaaS audit", "spend categorization", "supplier rationalization", "supplier consolidation", "category strategy", "duplicate SaaS", "renewal cluster".
Implement Stripe Checkout sessions, webhook verification, customer portals, idempotency keys, and subscription billing.
Architect blazingly fast, memory-safe web services using Rust, Axum, Tokio async runtime, and Tower middleware.