Tanstack Start Best Practices

TanStack Start best practices for full-stack React applications. Server functions, middleware, SSR, authentication, and deployment patterns. Activate when building full-stack apps with TanStack Start.

230 stars 19 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add DeckardGer/tanstack-agent-skills --skill tanstack-start-best-practices
Manual install
git clone --depth 1 https://github.com/DeckardGer/tanstack-agent-skills.git /tmp/tanstack-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/tanstack-agent-skills/skills/tanstack-start ~/.claude/skills/tanstack-start-best-practices

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# TanStack Start Best Practices

Comprehensive guidelines for implementing TanStack Start patterns in full-stack React applications. These rules cover server functions, middleware, SSR, authentication, and deployment.

## When to Apply

- Creating server functions for data mutations
- Setting up middleware for auth/logging
- Configuring SSR and hydration
- Implementing authentication flows
- Handling errors across client/server boundary
- Organizing full-stack code
- Deploying to various platforms

## Rule Categories by Priority

| Priority | Category | Rules | Impact |
|----------|----------|-------|--------|
| CRITICAL | Server Functions | 5 rules | Core data mutation patterns |
| CRITICAL | Security | 4 rules | Prevents vulnerabilities |
| HIGH | Middleware | 4 rules | Request/response handling |
| HIGH | Authentication | 4 rules | Secure user sessions |
| MEDIUM | API Routes | 1 rule | External endpoint patterns |
| MEDIUM | SSR | 5 rules | Server rendering patterns |
| MEDIUM | Error Handling | 3 rules | Graceful failure handling |
| MEDIUM | Environment | 1 rule | Configuration management |
| LOW | File Organization | 3 rules | Maintainable code structure |
| LOW | Deployment | 2 rules | Production readiness |

## Quick Reference

### Server Functions (Prefix: `sf-`)

- `sf-create-server-fn` — Use createServerFn for server-side logic
- `sf-input-validation` — Always validate server function inputs
- `sf-method-selection` — Choose appropriate HTTP method
Read the full skill on GitHub

Details

Skill name
tanstack-start-best-practices
Path
skills/tanstack-start/SKILL.md
License
MIT
Repo updated
9 September 2026

FAQ

What does the Tanstack Start Best Practices skill do?

TanStack Start best practices for full-stack React applications. Server functions, middleware, SSR, authentication, and deployment patterns. Activate when building full-stack apps with TanStack Start.

How do I install the Tanstack Start Best Practices skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add DeckardGer/tanstack-agent-skills --skill tanstack-start-best-practices. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Tanstack Start Best Practices popular?

It lives in DeckardGer/tanstack-agent-skills, which has 230 GitHub stars and 19 forks.

Related skills

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.