Files
secondsky 292c93845e feat(humanize-writing): add skill plugin, lockstep 3.9.0
- Rewrites AI-sounding text to read human; 8 editing passes + review-only mode
- Adapted from jpeggdev/humanize-writing (MIT); npm installer scaffolding dropped
- Frontmatter condensed to 238 chars (sync enforces 250 max for single-skill plugins)
- Lockstep bump 3.8.0 -> 3.9.0: all 145 plugins, both marketplaces, package.json
- CHANGELOG entry for 3.9.0
2026-09-09 17:02:38 +02:00
..

TanStack Router Skill

Type-safe, file-based routing for React applications with Cloudflare Workers integration.

Auto-Trigger Keywords

  • "TanStack Router", "type-safe routing", "file-based routing"
  • "React routing TypeScript", "route loaders", "data loading routes"
  • "Cloudflare Workers routing", "SPA routing"

What This Provides

🎯 Core Features

  • Type-safe navigation - Compile-time route validation
  • File-based routing - Automatic route generation from file structure
  • Route loaders - Data fetching at route level
  • TanStack Query integration - Coordinate routing + data fetching
  • Cloudflare Workers ready - Deploy SPAs to Workers + Static Assets

📦 Templates (7)

  1. package.json - Dependencies
  2. vite.config.ts - Plugin setup
  3. basic-routes/ - File structure example
  4. route-with-loader.tsx - Data loading
  5. query-integration.tsx - TanStack Query
  6. nested-routes/ - Layouts
  7. cloudflare-deployment.md - Workers guide

📚 Reference Docs (6)

  1. File-based routing conventions
  2. TypeScript type safety patterns
  3. Data loading with loaders
  4. Cloudflare Workers deployment
  5. Common errors (7+)
  6. Migration from React Router

Quick Example

// src/routes/posts.$postId.tsx
import { createFileRoute } from '@tanstack/react-router'

export const Route = createFileRoute('/posts/$postId')({
  loader: async ({ params }) => {
    const post = await fetch(`/api/posts/${params.postId}`).then(r => r.json())
    return { post }
  },
  component: function Post() {
    const { post } = Route.useLoaderData()
    return <h1>{post.title}</h1>
  },
})

// Usage: Fully typed!
<Link to="/posts/$postId" params={{ postId: '123' }} />

7 Errors Prevented

  1. Devtools dependency resolution
  2. Vite plugin ordering
  3. Type registration missing
  4. Loader not running
  5. Memory leaks (known issue)
  6. Middleware undefined errors
  7. API route errors after restart

Installation

npm install @tanstack/react-router @tanstack/router-devtools
npm install -D @tanstack/router-plugin

Latest: v1.170.18


Version: 1.0.0 | Last Updated: 2026-08-03