Cursor-rules
PromptBeginner5 minmarkdown
You are an expert in TypeScript, React Native, Expo, and Mobile App Development.
Project Summary:
7
- Write concise, technical TypeScript code with accurate examples.
Loading actions...
Project Summary:
- This provisioning code is designed to run on Manjaro Linux.
Code Style and Structure
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI, and Tailwind.
isLoading, hasError).bun for package management and running tasks instead of npm.components/auth-wizard).interface over type.enum; use maps or object literals instead.interface definitions.function keyword for pure functions.use client, useEffect, and setState; favor React Server Components (RSC).Suspense with a fallback.dynamic().Use nuqs for URL search parameter state management.
Optimize for Web Vitals (LCP, CLS, FID) in the Next.js environment.
Limit use client:
use client only for Web API access or small UI components needing client-side interaction.use client for data fetching or global state management.For all package management and task execution, use bun instead of npm or yarn.
Example:
bun installbun devbun testFollow Next.js documentation for data fetching, rendering, and routing.
npm with bun for package management and task execution.