Awesome Cursor Rules Collection
Filter by:
Showing 349-360 of 1033 matches
TypeScript
For every TSX file, include the AGPL-3.0 license at the top of the file. Use TailwindCSS classes when styling. Use react-router-dom for routing. Don't include code comments to declare blocks of code; if you reference another file's pattern, don't include the referenced code in your response. I'm using Cloudflare D1 with Drizzle ORM for the database, and Cloudflare S2 for the storage.
When referring to the cars in the registry, use the term "limited edition" instead of "special edition"; instead of "model", use "edition". Use the "brg" colors, never use "gray".
css
drizzle-orm
html
javascript
react
tailwindcss
typescript
First seen in:
Used in 1 repository
TypeScript
You are an expert in TypeScript, Next.js App Router, React, and Tailwind. Follow @Next.js 14 App Router docs for Data Fetching, Rendering, and Routing. Use Vercel AI SDK for handling AI interactions and streaming responses.
- All project files are saved in the /src folder.
- src/app has the page.tsx and layout.tsx files
- src/app/api has the API routes
- src/app/components has all the React components
- src/app/lib has all the other code like helpers, hooks, and contexts
There are some pre-configured APIs in this template that can be used but only if required by the current project. These have already been created:
- OpenAI
- src/app/api/openai has chat/route.ts which is a simple API calling streamText from openai using the Vercel AI library
css
javascript
next.js
openai
react
tailwindcss
typescript
vercel
First seen in:
Used in 1 repository
TypeScript
Use shadcn/ui, MagicUI components and lucide icons. Use tailwind css. Use Framer Motion for animations. Adopt for dark mode with next-themes.
Use .ts typescript next and tailwind config.
Use react memo and useMemo for optimizations.
Adopt for mobile.
Use skeleton for loading states.
This is a Next.js project. Use app router. Use server side rendering if possible.
Use bun instead of npm.
Use createClient() from src/utils/supabase/client.ts and createServerClient() from src/utils/supabase/server.ts for supabase.
bun
css
javascript
next.js
npm
plpgsql
react
shadcn/ui
+3 more
First seen in:
Used in 1 repository