A client-side web application for generating customized cursor rules based on your project preferences and tech stack.
- Interactive Wizard: Step-by-step interface to configure your cursor rules
- Tech Stack Support: Support for React, Next.js, Vue, Node.js, and more
- Project Structure Options: Monorepo, microservices, or single application
- Code Quality Rules: Customizable linting and quality standards
- Documentation Templates: Generate appropriate documentation requirements
- Export Functionality: Download generated rules as
.mdc
files
- Node.js (v18 or higher)
- pnpm (v8 or higher)
- Clone the repository:
git clone <repository-url>
cd cursor-rules-generator
- Install dependencies:
pnpm install
- Start the development server:
pnpm dev
- Open your browser and navigate to
http://localhost:5173
pnpm build
The built files will be in the dist
directory.
pnpm preview
cursor-rules-generator/
├── src/ # Source code
│ ├── components/ # React components
│ │ ├── ui/ # Reusable UI components
│ │ └── wizard/ # Wizard step components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions and rule generation logic
│ ├── pages/ # Page components
│ └── types/ # TypeScript type definitions
├── index.html # Main HTML template
├── pnpm-lock.yaml # pnpm lockfile
└── package.json
- Tech Stack Selection: Choose your primary framework and tools
- Project Structure: Configure how your project is organized
- Code Style: Set preferences for naming conventions and imports
- Task Types: Select what kinds of tasks you'll be working on
- Documentation: Configure documentation requirements
- Review & Export: Review your settings and download the generated rules
The application generates multiple .mdc
(Markdown Cursor) files based on your selections, which can be used directly with Cursor IDE.
- React 18 - Frontend framework
- TypeScript - Type safety
- Vite - Build tool and dev server
- Tailwind CSS - Styling
- Radix UI - UI component primitives
- React Hook Form - Form management
- Wouter - Lightweight routing
- Lucide React - Icons
- pnpm - Package manager
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License.