Cli
AgentLink CLI usage — project scaffolding, updates/upgrades, migration management, environments, deploy-to-prod, backups, and credentials. Use when the task involves running `agentlink-sh` / `agentlink` commands, managing migrations, managing environments (link, secrets, `env deploy` to prod), running or restoring backups, handling project credentials/keys, troubleshooting db apply / db migrate i…
Database
Schema files, migrations, and type generation for Supabase Postgres. Use when the task involves creating or modifying tables, columns, indexes, triggers, RLS policies, grants, or database functions, or the imperative cron/storage/rbac/config folders (cron jobs, storage buckets, RBAC reference data, role-level settings like db_pre_request). Activate whenever the task touches supabase/database/, su…
Rpc
RPC-first data access for Supabase. Use when the task involves creating, modifying, or debugging database functions (RPCs), writing CRUD operations, implementing pagination, search, filtering, batch operations, or any data access logic. Also use when the task mentions business logic functions, input validation in functions, error handling in RPCs, or returning data from the database. Activate whe…
Frontend
Frontend integration for the scaffolded React + TanStack Start (SPA) app on Supabase — client setup, RPC calls, TanStack Query and TanStack Router, TanStack Form + Zod forms, shadcn/ui primitives, the PageShell/PageHeader page anatomy, route guards and permission gating, workspace switching, the account section, SSR-later config, and client-side auth. Activate whenever the task touches the fronte…
Edge Functions
Supabase Edge Functions. Use when the task involves creating, modifying, or debugging edge functions, webhooks, external API integrations, service-to-service calls, or anything that runs in the Deno edge runtime. Also use for the native MCP server — exposing app functionality over MCP, adding an MCP tool, or connecting Claude/Cursor/an MCP client to the app (supabase/functions/mcp/, withMCP, work…
Auth
Authentication, authorization, and tenant isolation for Supabase. Use when the task involves auth setup, sign up/sign in flows, RLS policies, row-level security, access control, permissions, roles, RBAC, multi-tenancy, tenant isolation, workspace context, the x-workspace-id header, session_context, user profiles, OAuth, JWT claims, invitation flows, or membership management. Also use when someone…
Notifications
Transactional and notification emails (welcome, "your export is ready", "payment failed", receipts, alerts) on Supabase — everything that is NOT a Supabase Auth email. Use when the task involves sending an app-driven email, adding a new email template, firing email from a database event or trigger, or debugging delivery of a non-auth email. Activate whenever the task touches api._admin_send_email…