Skip to main content
Scaffold a spa feature inside a spa module: a route, its page layout, the route’s skeleton, error, and not-found boundaries, and example TanStack Query read and write hooks. The @tanstack/react-query dependency is installed if it is not already present.

Usage

Examples

Options

AI Skill

This command ships a matching spa:feature:create skill. It generates the route, layouts, boundaries, and TanStack Query hooks, then guides your AI agent through completing a feature in a spa module built on @tanstack/react-router and @tanstack/react-query.