trpc-patterns
Installation
SKILL.md
TRPC Patterns
Overview
Implement TRPC routers using established blogic-template-ts patterns for input schemas, procedure selection, middleware composition, and error handling.
When to Use This Skill
Use this skill when implementing or refactoring TRPC routers and procedures, especially when selecting base procedures, adding authorization middleware, or standardizing error handling.
Core Rules
1) Keep simple schemas inline
Define simple input schemas directly in the procedure.
Use project enums and shared types instead of hardcoded string literals.