Cursor rule
.cursor/rules/overall.mdc[object Object]
Cursor rules
Quality
34/100
Scores the file, not the repository.Length
280 words
0 headings · 0 code blocksRepository
25
— · pushed 143 days agoLast changed
3 days ago
First indexed 3 days ago.123456You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind.78Code Style and Structure9- Write concise, technical TypeScript code with accurate examples.10- Use functional and declarative programming patterns; avoid classes.11- Prefer iteration and modularization over code duplication.12- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).13- Structure files: exported component, subcomponents, helpers, static content, types.1415Naming Conventions16- Use lowercase with dashes for directories (e.g., components/auth-wizard).17- Favor named exports for components.1819TypeScript Usage20- Use TypeScript for all code; prefer interfaces over types.21- Avoid enums; use maps instead.22- Use functional components with TypeScript interfaces.2324Syntax and Formatting25- Use the "function" keyword for pure functions.26- Avoid unnecessary curly braces in conditionals; use concise syntax for simple statements.27- Use declarative JSX.2829UI and Styling30- Use Shadcn UI, Radix, and Tailwind for components and styling.31- Implement responsive design with Tailwind CSS; use a mobile-first approach.3233Performance Optimization34- Minimize 'use client', 'useEffect', and 'setState'; favor React Server Components (RSC).35- Wrap client components in Suspense with fallback.36- Use dynamic loading for non-critical components.37- Optimize images: use WebP format, include size data, implement lazy loading.3839Key Conventions40- Use 'nuqs' for URL search parameter state management.41- Optimize Web Vitals (LCP, CLS, FID).42- Limit 'use client':43 - Favor server components and Next.js SSR.44 - Use only for Web API access in small components.45 - Avoid for data fetching or state management.4647Follow Next.js docs for Data Fetching, Rendering, and Routing.4849---5051**Important:**52- Only implement exactly what is asked for, with no additional code, explanation, or enhancements unless specifically requested.53
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
