client-setup
About client-setup
Create a vanilla tRPC client with createTRPCClient<AppRouter>(), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill client-setupAfter installing, type/client-setupin Claude Code to confirm it loaded.
Comments
Markdown supported