.cursorrules (deprecated)
1/framework_rules/rules/tailwind-css-nextjs-guide-cursorrules-prompt-file/.cursorrules.cursorrules
Quality
42/100
Scores the file, not the repository.Length
626 words
0 headings · 0 code blocksRepository
28
— · pushed 478 days agoLast changed
3 days ago
First indexed 3 days ago.1Prompt Generation Rules:23- Analyze the component requirements thoroughly4- Include specific DaisyUI component suggestions5- Specify desired Tailwind CSS classes for styling6- Mention any required TypeScript types or interfaces7- Include instructions for responsive design8- Suggest appropriate Next.js features if applicable9- Specify any necessary state management or hooks10- Include accessibility considerations11- Mention any required icons or assets12- Suggest error handling and loading states13- Include instructions for animations or transitions if needed14- Specify any required API integrations or data fetching15- Mention performance optimization techniques if applicable16- Include instructions for testing the component17- Suggest documentation requirements for the component1819General Component Creation Guidelines:2021- Prioritize reusability and modularity22- Ensure consistent naming conventions23- Follow React best practices and patterns24- Implement proper prop validation25- Consider internationalization requirements26- Optimize for SEO when applicable27- Ensure compatibility with different browsers and devices2829General Rules:3031- Enable strict TypeScript (strict: true in tsconfig.json)32- Avoid 'any', prefer 'unknown' with runtime checks33- Explicitly type function inputs and outputs34- Use advanced TypeScript features (type guards, mapped types, conditional types)35- Organize project structure: components, pages, hooks, utils, styles, contracts, services36- Separate concerns: presentational components, business logic, side effects37- Use Biome for code formatting and linting38- Configure Biome as a pre-commit hook3940Next.js Rules:4142- Use dynamic routes with bracket notation ([id].tsx)43- Validate and sanitize route parameters44- Prefer flat, descriptive routes45- Use getServerSideProps for dynamic data, getStaticProps/getStaticPaths for static46- Implement Incremental Static Regeneration (ISR) where appropriate47- Use next/image for optimized images48- Configure image layout, priority, sizes, and srcSet attributes4950TypeScript Rules:5152- Enable all strict mode options in tsconfig.json53- Explicitly type all variables, parameters, and return values54- Use utility types, mapped types, and conditional types55- Prefer 'interface' for extendable object shapes56- Use 'type' for unions, intersections, and primitive compositions57- Document complex types with JSDoc58- Avoid ambiguous union types, use discriminated unions when necessary5960TailwindCSS and DaisyUI Rules:6162- Use TailwindCSS utility classes for styling63- Avoid custom CSS unless absolutely necessary64- Maintain consistent order of utility classes65- Use Tailwind's responsive variants for adaptive designs66- Leverage DaisyUI components for rapid development67- Customize DaisyUI components only when necessary68- Define and use design tokens in tailwind.config.js6970Starknet React Rules:7172- Centralize blockchain connection management73- Implement automatic reconnection and error handling74- Use React hooks for transaction status management75- Provide clear UI feedback for blockchain interactions76- Implement comprehensive error handling for blockchain operations7778Cairo Rules:7980- Design modular and maintainable contract structures81- Optimize for gas efficiency82- Minimize state changes and storage access83- Document all contracts and functions thoroughly84- Explain complex logic and implementation choices8586Development Process:8788- Conduct thorough code reviews via Pull Requests89- Include clear PR descriptions with context and screenshots90- Implement comprehensive automated testing (unit, integration, e2e)91- Prioritize meaningful tests over high coverage numbers92- Use Conventional Commits for commit messages (feat:, fix:, docs:, chore:)93- Make small, incremental commits for easier review and debugging9495Biome Rules:9697- Use Biome for code formatting and linting98- Configure Biome as a pre-commit hook99- Follow Biome's recommended rules100- Customize Biome configuration in biome.json as needed101- Ensure consistent code style across the project102- Run Biome checks before committing changes103- Address all Biome warnings and errors promptly104- Use Biome's organize imports feature to maintain clean import statements105- Leverage Biome's advanced linting capabilities for TypeScript106- Integrate Biome into the CI/CD pipeline for automated checks107- Keep Biome updated to the latest stable version108- Use Biome's ignore patterns to exclude specific files or directories when necessary109110
Also in paulpham157/paul-s-cursor-rules
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/react-styled-components-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | style | 42/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/react-typescript-nextjs-nodejs-cursorrules-prompt-/.cursorrules · 28 | .cursorrules | style | 44/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/.cursorrules · 28 | .cursorrules | docs | 34/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/android-jetpack-compose-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | testing-strategy | 38/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/angular-novo-elements-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | testlint-formatstylearch+3 | 70/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/angular-typescript-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | teststyledocs | 38/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/ascii-simulation-game-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | no sections | 34/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/aspnet-abp-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | testlint-formatstylearch+5 | 70/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/astro-typescript-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | git | 30/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/chrome-extension-dev-js-typescript-cursorrules-pro/.cursorrules · 28 | .cursorrules | style | 38/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/cpp-programming-guidelines-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | teststylearchperformance | 68/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p/.cursorrules · 28 | .cursorrules | no sections | 16/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursorrules-cursor-ai-nextjs-14-tailwind-seo-setup/.cursorrules · 28 | .cursorrules | styletypesuido-not | 65/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt/.cursorrules · 28 | .cursorrules | no sections | 16/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursorrules-file-cursor-ai-python-fastapi-api/.cursorrules · 28 | .cursorrules | styletypes | 38/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/deno-integration-techniques-cursorrules-prompt-fil/.cursorrules · 28 | .cursorrules | no sections | 16/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/dragonruby-best-practices-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | style | 34/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/drupal-11-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | style | 46/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/elixir-engineer-guidelines-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | no sections | 16/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/elixir-phoenix-docker-setup-cursorrules-prompt-fil/.cursorrules · 28 | .cursorrules | git | 30/100 | 3 days ago |
Diff against 1/framework_rules/rules/react-styled-components-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/react-typescript-nextjs-nodejs-cursorrules-prompt-/.cursorrules Diff against 1/framework_rules/.cursorrules Diff against 1/framework_rules/rules/android-jetpack-compose-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/angular-novo-elements-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/angular-typescript-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/ascii-simulation-game-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/aspnet-abp-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/astro-typescript-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/chrome-extension-dev-js-typescript-cursorrules-pro/.cursorrules Diff against 1/framework_rules/rules/cpp-programming-guidelines-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p/.cursorrules Diff against 1/framework_rules/rules/cursorrules-cursor-ai-nextjs-14-tailwind-seo-setup/.cursorrules Diff against 1/framework_rules/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt/.cursorrules Diff against 1/framework_rules/rules/cursorrules-file-cursor-ai-python-fastapi-api/.cursorrules Diff against 1/framework_rules/rules/deno-integration-techniques-cursorrules-prompt-fil/.cursorrules Diff against 1/framework_rules/rules/dragonruby-best-practices-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/drupal-11-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/elixir-engineer-guidelines-cursorrules-prompt-file/.cursorrules Diff against 1/framework_rules/rules/elixir-phoenix-docker-setup-cursorrules-prompt-fil/.cursorrules
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| SkeneTechnologies/skene-cookbook.cursorrules · 51 | .cursorrules | setuptestlint-formatstyle+11 | 96/100 | 2 days ago | |
| fall-out-bug/sdp_lab.cursorrules · 0 | .cursorrules | setupbuildtestlint-format+3 | 86/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/python-llm-ml-workflow-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | testlint-formatstyletypes+4 | 80/100 | 3 days ago | |
| storybookjs/storybook.cursorrules · 91k | .cursorrules | teststylearchdo-not+1 | 78/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/flutter-riverpod-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | stylearchdo-notagent-behaviour | 71/100 | 3 days ago | |
| forem/forem.cursorrules · 23k | .cursorrules | teststyletypesdatabase+4 | 71/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/angular-novo-elements-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | testlint-formatstylearch+3 | 70/100 | 3 days ago | |
| paulpham157/paul-s-cursor-rules1/framework_rules/rules/nextjs-supabase-shadcn-pwa-cursorrules-prompt-file/.cursorrules · 28 | .cursorrules | buildstylearchdo-not | 70/100 | 3 days ago |
