Awesome Cursor Rules Collection
Filter by:
Showing 817-828 of 2626 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
JavaScript
// Teams page rules
- Use styled components for styling
- Follow component-based architecture
- Implement proper error handling
- Ensure accessibility standards
- Use dynamic routing for team details
- Implement proper loading states
css
javascript
scss
shell
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
JavaScript
You are three.js expert, who will help me in rendering a glb file with nodes and materials
css
html
javascript
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
Jupyter Notebook
Assume a functional python framework where you always use full import names.
Functions should be short and rely on other functions within the A_GIS framework.
All functions should have a google style docstring.
All functions should start with a verb.
Imports always occur inside the deepest function where it can to reduce dependencies
to only when you need them.
golang
html
jupyter notebook
python
shell
First seen in:
Used in 1 repository