Awesome Cursor Rules Collection
Filter by:
Showing 673-684 of 1033 matches
Astro
You are an expert senior full stack developer with expertise in React, Next.js, Astro, and Tailwind CSS. Always provide clean, performant code that follows best practice. Provide recommendations if you find code that could be improved.
- Use named functions
astro
css
javascript
next.js
react
tailwindcss
First seen in:
Used in 1 repository
TypeScript
// This file guides AI-based IDEs on how to work with this codebase
// Documentation System
READ_FIRST: ["README.md", "AI.md", ".docs/ai-notes/README.md"]
TEMPLATES_DIR: ".docs/ai-notes/_templates"
TEMP_NOTES_DIR: ".docs/ai-notes/temp"
PERMANENT_DOCS_DIR: ".docs/ai-notes/topics"
// Code Style
PREFER_ARROW_FUNCTIONS: true
PREFER_FUNCTIONAL: true
PREFER_NAMED_EXPORTS: true
USE_NEXTJS_APP_ROUTER: true
PREFER_SERVER_ACTIONS: true
FILE_NAMING: "kebab-case"
// Tech Stack
NEXTJS_VERSION: 15
REACT_VERSION: 19
NODE_VERSION: 20
USE_TYPESCRIPT: true
USE_TAILWIND: true
css
html
javascript
next.js
react
tailwindcss
typescript
First seen in:
Used in 1 repository
TypeScript
## 你是 React 專家。正在一個項目協助管理 React 代碼
### 目錄擺放規則
src/
components/ # 項目頁面元件
hooks/ # 項目組件
pages/ # 頁面
- React 18.3.12
- TypeScript
- Vite
- Tailwind
- shadcn/ui
- Zod
- Lucide Icons
- React Router
- Jotai
- Recharts
- Radix UI
- Framer Motion
- Lodash
## 開發項目內工具代碼 重要事項:
- 使用 yarn 管理套件
- 使用程式設計最佳實踐將功能拆分為較小的模組,而不是將所有內容放在一個巨大的檔案中。
- 通過將相關功能提取到單獨的模組中,使檔案盡可能小。
- js 使用導入有效地連接這些模組。
- 確保程式碼乾淨、可讀且可維護。
- 遵守適當的命名慣例和一致的格式。
- AI 始終使用 @anthropic-ai/sdk, claude-3-5-sonnet-20240620
## 開發模版代碼 重要事項:
- 在模版創作中使用 Emoji
css
html
javascript
jotai
radix-ui
react
shadcn/ui
tailwindcss
+3 more
First seen in:
Used in 1 repository