# AGENTS.md — findyourpilot

Project context for AI coding agents. This file defines which skill files to load
depending on the task at hand.

<!-- intent-skills:start -->
# Skill mappings - when working in these areas, load the linked skill file into context.
skills:
  - task: "Building or modifying routes, loaders, search params, or navigation with TanStack Router"
    load: "node_modules/.pnpm/@tanstack+router-core@1.167.5/node_modules/@tanstack/router-core/skills/router-core/SKILL.md"

  - task: "Working with route search params, type-safe URL state, or Zod-validated search params"
    load: "node_modules/.pnpm/@tanstack+router-core@1.167.5/node_modules/@tanstack/router-core/skills/router-core/search-params/SKILL.md"

  - task: "Implementing route guards, authentication redirects, or protected routes"
    load: "node_modules/.pnpm/@tanstack+router-core@1.167.5/node_modules/@tanstack/router-core/skills/router-core/auth-and-guards/SKILL.md"

  - task: "Loading data in routes, using loaders, or integrating with TanStack Query"
    load: "node_modules/.pnpm/@tanstack+router-core@1.167.5/node_modules/@tanstack/router-core/skills/router-core/data-loading/SKILL.md"

  - task: "Creating server functions, SSR patterns, full-stack logic, or the TanStack Start execution model"
    load: "node_modules/.pnpm/@tanstack+start-client-core@1.166.13/node_modules/@tanstack/start-client-core/skills/start-core/SKILL.md"

  - task: "Creating or modifying createServerFn, input validation on server functions, or handling server errors"
    load: "node_modules/.pnpm/@tanstack+start-client-core@1.166.13/node_modules/@tanstack/start-client-core/skills/start-core/server-functions/SKILL.md"

  - task: "Creating middleware, request middleware, or passing context between server functions"
    load: "node_modules/.pnpm/@tanstack+start-client-core@1.166.13/node_modules/@tanstack/start-client-core/skills/start-core/middleware/SKILL.md"

  - task: "Creating API endpoints or server-only routes (server property on createFileRoute)"
    load: "node_modules/.pnpm/@tanstack+start-client-core@1.166.13/node_modules/@tanstack/start-client-core/skills/start-core/server-routes/SKILL.md"

  - task: "Deploying the app to Cloudflare, Vercel, Netlify, Node.js/Docker, or configuring SSR/SPA/prerendering"
    load: "node_modules/.pnpm/@tanstack+start-client-core@1.166.13/node_modules/@tanstack/start-client-core/skills/start-core/deployment/SKILL.md"

  - task: "Writing, reviewing, or optimising Supabase/Postgres queries, schema design, RLS policies, or migrations"
    load: ".agents/skills/supabase-postgres-best-practices/SKILL.md"

  - task: "Designing or improving UI layouts, dashboards, component composition, or interactive product interfaces with HeroUI"
    load: ".agents/skills/interface-design/SKILL.md"
<!-- intent-skills:end -->
