Server-side API endpoints using the server property on createFileRoute, HTTP method handlers (GET, POST, PUT, DELETE), createHandlers for per-handler middleware, handler context (request, params, context), request body parsing, response helpers, file naming for API routes.
$npx -y skills add tanstack/router --skill server-routesInstalls into the current project.
Run `npx skills use "https://github.com/tanstack/router" --skill "tanstack/router/server-routes"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/tanstack/router" that are relevant to the current task. Run `npx skills add "https://github.com/tanstack/router"` and select the relevant skills, then follow their instructions.