server-setup
About server-setup
Initialize tRPC with initTRPC.create(), define routers with t.router(), create procedures with .query()/.mutation()/.subscription(), configure context with createContext(), export AppRouter type, merge routers with t.mergeRouters(), lazy-load routers with lazy().
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill server-setupAfter installing, type/server-setupin Claude Code to confirm it loaded.
Comments
Markdown supported