Skip to content

Small repo with some guidelines to create a .cursorrules file

Notifications You must be signed in to change notification settings

blodyle/cursorrules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CursorRules

Project rules structure for Cursor AI. Visit our landing page for a detailed guide.

Quick Start

  1. Create the rules directory structure:
mkdir -p .cursor/rules/
  1. Add the required files:
.cursor/rules/
├── overview.mdc     # Project overview and architecture
├── tech-stack.mdc   # Technologies and dependencies
├── design-rules.mdc # UI/UX and styling standards
├── areas.mdc        # Features and components
└── development-guidelines.mdc # Code standards
  1. Configure file-specific rules using globs:
---
description: React component guidelines
globs: 
  - src/components/**/*.tsx
  - src/components/**/*.jsx
---

## Component Rules
- Use functional components
- Follow project naming conventions
- Implement proper prop types

Examples

Check the examples/ directory for complete rule setups:

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-rules)
  3. Commit your changes (git commit -m 'Add some amazing rules')
  4. Push to the branch (git push origin feature/amazing-rules)
  5. Open a Pull Request

License

MIT

About

Small repo with some guidelines to create a .cursorrules file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages