api
01Cursor rule Cursor
USE WHEN: Defining HTTP requests, endpoints, and handling API responses.
Cursor rule Cursor
USE WHEN: Defining HTTP requests, endpoints, and handling API responses.
Cursor rule Cursor
USE WHEN: Applying core principles and enforcing global project constraints.
Cursor rule Cursor
USE WHEN: Constructing forms, validating inputs, and managing form state with Zod schemas.
Cursor rule Cursor
USE WHEN: Managing translation files (JSON), localization keys, or implementing multi-language logic.
Cursor rule Cursor
USE WHEN: Optimizing Core Web Vitals, managing assets, and ensuring high Lighthouse/A11y scores.
Cursor rule Cursor
USE WHEN: Designing React components, implementing hooks, and managing component lifecycles.
Cursor rule Cursor
USE WHEN: Managing global client state with Zustand and handling client-side state logic.
Cursor rule Cursor
USE WHEN: Managing server state, fetching data, and handling mutations with TanStack Query.
Cursor rule Cursor
USE WHEN: Writing unit, integration, or component tests. Mandatory for logic in features.
Cursor rule Cursor
USE WHEN: Defining TypeScript types, Zod schemas, and generic constraints for type safety.
Cursor rule Cursor
USE WHEN: Building UI components, structuring layouts, and applying styles using Tailwind CSS.
Cursor rule Cursor
Next.js 16 App Router Standards & Constraints.
Cursor rule Cursor
TanStack Start Routing, Loaders, and Server Functions Standards.