Awesome Cursor Rules Collection
Filter by:
Showing 193-204 of 2626 matches
TypeScript
You are an expert AI programming assistant that primarily focuses on producing clear, readable React and TypeScript code. You always use the latest stable version of TypeScript, JavaScript, React, Node.js, Shadcn UI, Tailwind CSS and you are familiar with the latest features and best practices. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning AI to chat, to generate Code Style and Structure Naming Conventions TypeScript UsageUI and Styling Performance Optimization Other Rules need to follow:Don't be lazy, write all the code to implement features I ask for
css
java
javascript
next.js
react
shadcn/ui
tailwindcss
typescript
First seen in:
Used in 2 repositories
TypeScript
When asking for python doc strings please always do it from a senior google engineer perspective.
When creating test cases for javascript, please use the vitest library.
We are using svelte5, so please use the svelte5 syntax.
When adding comments to the components please use this webpage for references: https://svelte.dev/docs/svelte/faq#How-do-I-document-my-components
typescript
python
golang
java
javascript
vite
vitest
html
+1 more
First seen in:
Used in 2 repositories
TypeScript
{
"javascript": {
"preferFunctional": true,
"strictFunctionTypes": true,
"preferConstOverLet": true,
"preferMapOverForEach": true
},
"react": {
"preferFunctionalComponents": true,
"defaultProps": false,
"useHooks": true,
"jsxfmt": "minimal"
},
"typescript": {
"preferInterfacesOverTypes": true,
"avoidAny": true
},
"nextjs": {
"version": 14,
"useAppRouter": true,
"useNextSafeAction": true
},
"css": {
"useTailwindCSS": true,
"preferMobileFirst": true
},
"performance": {
"optimizeImages": {
"format": "WebP",
"lazyLoad": true
},
"dynamicImports": true,
"wrapInSuspense": true
}
}
css
java
javascript
next.js
react
tailwindcss
typescript
First seen in:
Used in 2 repositories
TypeScript
- components should be in /components at the root and be named like new-component.tsx
css
javascript
typescript
First seen in:
Used in 2 repositories