start-server-core

Provide a server-side runtime for TanStack Start request handling.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/abereghici/skills --skill start-server-core-abereghici
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: start-server-core
Source: https://github.com/abereghici/skills/tree/main/vendor/tanstack-router/packages/start-server-core/skills/start-server-core
Command: npx skills add https://github.com/abereghici/skills --skill start-server-core-abereghici

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TanStack Start server runtime consolidates request handling, utilities, and session management into a single, server-side runtime, enabling consistent server behavior across frameworks.

Core Features & Use Cases

  • Server Function Dispatch: routing and execution of server functions with middleware integration.
  • Server Route Handling and SSR: route matching, middleware, and app SSR for production-grade rendering.
  • Session & Cookie Management: encrypted sessions and cookies with a simple API for managing user state.
  • Use Case: Build a robust API layer and SSR workflow for an app that relies on server-side logic.

Quick Start

Install and wire createStartHandler into your framework's server entry point to start handling requests.

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 rendering and server functions in TanStack Start?

Server-side rendering and server functions in TanStack Start are handled by a unified server runtime that orchestrates route matching, middleware, and app SSR into a single entry point.

What is the best way to manage encrypted sessions and cookies in a TanStack Start app?

Managing encrypted sessions and cookies in a TanStack Start app is best done through the server runtime's built-in session management, which provides a simple API for handling user state dehydration.

How does server context work with AsyncLocalStorage during TanStack Start request handling?

Server context during request handling works by requiring AsyncLocalStorage to maintain state, enabling consistent middleware integration and server function dispatch across the SSR workflow.

Do I need createStartHandler to wire up server routes for production-grade rendering?

You need createStartHandler to wire server routes for production-grade rendering, as it connects your framework's server entry point to the runtime handling SSR and server function dispatch.

Can I use TanStack Start middleware for server function dispatch and state dehydration?

You can use TanStack Start middleware for server function dispatch and state dehydration, as the server runtime integrates routing execution with consistent state management across frameworks.

Why does TanStack Start consolidate server utilities and request handling into a single runtime?

TanStack Start consolidates server utilities and request handling into a single runtime to enable consistent server behavior across frameworks, ensuring unified middleware and session management.