start-server-core

Orchestrate TanStack Start server functions, routes, and SSR via createStartHandler.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/redacharf/fin-punk --skill start-server-core-redacharf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: start-server-core
Source: https://github.com/redacharf/fin-punk/tree/main/.agents/skills/start-server-core
Command: npx skills add https://github.com/redacharf/fin-punk --skill start-server-core-redacharf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Server-side runtime for TanStack Start to centralize request handling, server functions, and SSR in a single cohesive layer.

Core Features & Use Cases

  • Server-side request orchestration via createStartHandler, handling server functions, routes, and app SSR.
  • Request/response utilities such as getRequest, setResponseHeader, setCookie, getCookie, and useSession.
  • AsyncLocalStorage-based context that makes utilities accessible during the full request lifecycle.
  • Works across framework bindings and server environments as a foundational runtime.

Quick Start

Install and wire up createStartHandler in your server entry point and begin handling requests with the server utilities.

Frequently Asked Questions about start-server-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle server-side requests and SSR in a TanStack Start application?

TanStack Start handles server-side requests and SSR by orchestrating a three-phase request flow using a core server runtime. You wire up createStartHandler in your server entry point to centralize routing, server functions, and app rendering across Node-based servers.

How does AsyncLocalStorage context work during the TanStack Start request lifecycle?

AsyncLocalStorage-based context maintains utility accessibility throughout the full TanStack Start request lifecycle. This mechanism ensures that request-scoped data remains available during server-side rendering and server function execution without manual prop passing.

Can I manage cookies and session data directly within TanStack Start server functions?

Yes, you can manage cookies and session data directly in TanStack Start server functions. The runtime provides built-in request utilities like setCookie, getCookie, and useSession, which are accessible during the request lifecycle via AsyncLocalStorage context.

What is the best way to structure server routes and server functions in TanStack Start?

The best way to structure server routes and server functions in TanStack Start is by centralizing them using createStartHandler. This foundational runtime applies a cohesive three-phase request flow to handle routing, execute server functions, and process SSR responses.

Does the TanStack Start server runtime work across different Node-based server environments?

Yes, the TanStack Start server runtime works across different Node-based server environments and framework bindings. It functions as a foundational layer, applying its three-phase request flow and utilities consistently regardless of the specific server setup.