RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/.cursorrules/paulpham157/paul-s-cursor-rules

.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 blocks

Repository

28

— · pushed 478 days ago

Last changed

3 days ago

First indexed 3 days ago.
paulpham157/paul-s-cursor-rules/1/framework_rules/rules/tailwind-css-nextjs-guide-cursorrules-prompt-file/.cursorrulesRawGitHub
1Prompt Generation Rules:
2 
3- Analyze the component requirements thoroughly
4- Include specific DaisyUI component suggestions
5- Specify desired Tailwind CSS classes for styling
6- Mention any required TypeScript types or interfaces
7- Include instructions for responsive design
8- Suggest appropriate Next.js features if applicable
9- Specify any necessary state management or hooks
10- Include accessibility considerations
11- Mention any required icons or assets
12- Suggest error handling and loading states
13- Include instructions for animations or transitions if needed
14- Specify any required API integrations or data fetching
15- Mention performance optimization techniques if applicable
16- Include instructions for testing the component
17- Suggest documentation requirements for the component
18 
19General Component Creation Guidelines:
20 
21- Prioritize reusability and modularity
22- Ensure consistent naming conventions
23- Follow React best practices and patterns
24- Implement proper prop validation
25- Consider internationalization requirements
26- Optimize for SEO when applicable
27- Ensure compatibility with different browsers and devices
28 
29General Rules:
30 
31- Enable strict TypeScript (strict: true in tsconfig.json)
32- Avoid 'any', prefer 'unknown' with runtime checks
33- Explicitly type function inputs and outputs
34- Use advanced TypeScript features (type guards, mapped types, conditional types)
35- Organize project structure: components, pages, hooks, utils, styles, contracts, services
36- Separate concerns: presentational components, business logic, side effects
37- Use Biome for code formatting and linting
38- Configure Biome as a pre-commit hook
39 
40Next.js Rules:
41 
42- Use dynamic routes with bracket notation ([id].tsx)
43- Validate and sanitize route parameters
44- Prefer flat, descriptive routes
45- Use getServerSideProps for dynamic data, getStaticProps/getStaticPaths for static
46- Implement Incremental Static Regeneration (ISR) where appropriate
47- Use next/image for optimized images
48- Configure image layout, priority, sizes, and srcSet attributes
49 
50TypeScript Rules:
51 
52- Enable all strict mode options in tsconfig.json
53- Explicitly type all variables, parameters, and return values
54- Use utility types, mapped types, and conditional types
55- Prefer 'interface' for extendable object shapes
56- Use 'type' for unions, intersections, and primitive compositions
57- Document complex types with JSDoc
58- Avoid ambiguous union types, use discriminated unions when necessary
59 
60TailwindCSS and DaisyUI Rules:
61 
62- Use TailwindCSS utility classes for styling
63- Avoid custom CSS unless absolutely necessary
64- Maintain consistent order of utility classes
65- Use Tailwind's responsive variants for adaptive designs
66- Leverage DaisyUI components for rapid development
67- Customize DaisyUI components only when necessary
68- Define and use design tokens in tailwind.config.js
69 
70Starknet React Rules:
71 
72- Centralize blockchain connection management
73- Implement automatic reconnection and error handling
74- Use React hooks for transaction status management
75- Provide clear UI feedback for blockchain interactions
76- Implement comprehensive error handling for blockchain operations
77 
78Cairo Rules:
79 
80- Design modular and maintainable contract structures
81- Optimize for gas efficiency
82- Minimize state changes and storage access
83- Document all contracts and functions thoroughly
84- Explain complex logic and implementation choices
85 
86Development Process:
87 
88- Conduct thorough code reviews via Pull Requests
89- Include clear PR descriptions with context and screenshots
90- Implement comprehensive automated testing (unit, integration, e2e)
91- Prioritize meaningful tests over high coverage numbers
92- Use Conventional Commits for commit messages (feat:, fix:, docs:, chore:)
93- Make small, incremental commits for easier review and debugging
94 
95Biome Rules:
96 
97- Use Biome for code formatting and linting
98- Configure Biome as a pre-commit hook
99- Follow Biome's recommended rules
100- Customize Biome configuration in biome.json as needed
101- Ensure consistent code style across the project
102- Run Biome checks before committing changes
103- Address all Biome warnings and errors promptly
104- Use Biome's organize imports feature to maintain clean import statements
105- Leverage Biome's advanced linting capabilities for TypeScript
106- Integrate Biome into the CI/CD pipeline for automated checks
107- Keep Biome updated to the latest stable version
108- Use Biome's ignore patterns to exclude specific files or directories when necessary
109 
110 

What it covers

lint-formatcode-styletypesgit-prdocs

Stack — with the evidence

github-actions

(0.60)

Format

.cursorrules

Cursor's original single-file format, superseded by .cursor/rules/*.mdc. Tracked here precisely because it is dead: how much of the ecosystem is still shipping a deprecated file is a measurable answer, and a large share of the "best cursor rules" pages on the web still teach this format.

What the corpus says about it

Repository

Owner
paulpham157
Language
—
License
—
Archived
no

All configs in this repo

Also in paulpham157/paul-s-cursor-rules

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
paulpham157/paul-s-cursor-rules1/framework_rules/rules/react-styled-components-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsstyle42/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/react-typescript-nextjs-nodejs-cursorrules-prompt-/.cursorrules · 28.cursorrulesgithub-actionsstyle44/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/.cursorrules · 28.cursorrulesgithub-actionsdocs34/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/android-jetpack-compose-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionstesting-strategy38/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/angular-novo-elements-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionstestlint-formatstylearch+370/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/angular-typescript-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsteststyledocs38/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/ascii-simulation-game-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsno sections34/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/aspnet-abp-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionstestlint-formatstylearch+570/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/astro-typescript-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsgit30/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/chrome-extension-dev-js-typescript-cursorrules-pro/.cursorrules · 28.cursorrulesgithub-actionsstyle38/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/cpp-programming-guidelines-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsteststylearchperformance68/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p/.cursorrules · 28.cursorrulesgithub-actionsno sections16/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursorrules-cursor-ai-nextjs-14-tailwind-seo-setup/.cursorrules · 28.cursorrulesgithub-actionsstyletypesuido-not65/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursorrules-cursor-ai-wordpress-draft-macos-prompt/.cursorrules · 28.cursorrulesgithub-actionsno sections16/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/cursorrules-file-cursor-ai-python-fastapi-api/.cursorrules · 28.cursorrulesgithub-actionsstyletypes38/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/deno-integration-techniques-cursorrules-prompt-fil/.cursorrules · 28.cursorrulesgithub-actionsno sections16/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/dragonruby-best-practices-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsstyle34/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/drupal-11-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsstyle46/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/elixir-engineer-guidelines-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsno sections16/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/elixir-phoenix-docker-setup-cursorrules-prompt-fil/.cursorrules · 28.cursorrulesgithub-actionsgit30/1003 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.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
SkeneTechnologies/skene-cookbook.cursorrules · 51.cursorrulespythoneslint+3setuptestlint-formatstyle+1196/1002 days ago
fall-out-bug/sdp_lab.cursorrules · 0.cursorrulesgodocker+3setupbuildtestlint-format+386/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/python-llm-ml-workflow-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionstestlint-formatstyletypes+480/1003 days ago
storybookjs/storybook.cursorrules · 91k.cursorrulestypescriptjavascript+6teststylearchdo-not+178/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/flutter-riverpod-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsstylearchdo-notagent-behaviour71/1003 days ago
forem/forem.cursorrules · 23k.cursorrulesrubyrails+9teststyletypesdatabase+471/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/angular-novo-elements-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionstestlint-formatstylearch+370/1003 days ago
paulpham157/paul-s-cursor-rules1/framework_rules/rules/nextjs-supabase-shadcn-pwa-cursorrules-prompt-file/.cursorrules · 28.cursorrulesgithub-actionsbuildstylearchdo-not70/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack