agentsclimarketplace

Tanstack start server functions

Skill MakFly/superpowers-tanstack-start/skills/tanstack-start-server-functions

Open-source Claude Code plugin and Agent Skills for TanStack Start: type-safe routing, server functions, SSR, middleware, authentication, testing, and deployment.

Install
npx -y skills add MakFly/superpowers-tanstack-start --skill tanstack-start-server-functions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Implement, secure, review, or debug TanStack Start server functions. Use for createServerFn handlers, input validation, request context, redirects, not-found results, raw responses, progressive enhancement, streaming, static functions, cancellation, serialization, or server-only data access.

SKILL.md

1.7 KB, as published. Nobody here has run it

TanStack Start Server Functions

Confirm the boundary

Read ../../docs/server-functions.md and ../../docs/execution-boundaries.md. Use a server function for application RPC. Use a server route when an external caller needs an ordinary HTTP contract.

Build the request pipeline

  1. Define one explicit serializable input object.
  2. Validate it before domain work.
  3. Resolve request context and session per request.
  4. Authenticate and authorize access to the concrete resource or tenant.
  5. Call server-only domain or data modules.
  6. Return an explicit serializable result, framework redirect/not-found value, or intentional raw Response.

Preserve Start's same-origin protection. Never move secrets or trusted authorization decisions into client-callable code.

Keep code focused

Keep handlers thin and put reusable domain logic in server-only modules. Use middleware only for repeated cross-cutting context. Do not add generic error swallowing, hidden defaults, or a fallback value that masks a failed dependency.

Verify

Test malformed input, anonymous access, unauthorized resource access, success, domain failure, redirect, and not-found behavior. Inspect client output when a server-only import or secret could leak. Run a production build to exercise function ID generation and import protection.

Report the endpoint contract, security checks, serialization choices, and tests run.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.