# Created a Project Rules that will best Help when building with the Cursor Agent

**URL:** <https://forum.cursor.com/t/created-a-project-rules-that-will-best-help-when-building-with-the-cursor-agent/64941>\
**Category:** Built for Cursor\
**Created:** [March 16, 2025, 10:22am UTC](https://forum.cursor.com/t/created-a-project-rules-that-will-best-help-when-building-with-the-cursor-agent/64941 "2025-03-16T10:22:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krittyz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/krittyz/32/36932_2.png) [@Krittyz](https://forum.cursor.com/u/Krittyz)\
**Post date:** [March 16, 2025, 10:22am UTC](https://forum.cursor.com/t/created-a-project-rules-that-will-best-help-when-building-with-the-cursor-agent/64941/1 "2025-03-16T10:22:29Z")

</div>

# Cursor Project Rules

## 📚 About

**Cursor Project Rules** is a collection of local documentation that instructs the Cursor AI on how to work efficiently with modern frameworks and libraries. Unlike web-scraped documentation that might be outdated or incomplete, these rules provide Cursor’s AI with accurate, comprehensive, and immediately accessible information.

### Why Local Documentation?

- **Performance** : No need to wait for web scraping or API calls
- **Accuracy** : Carefully curated information without HTML parsing errors
- **Completeness** : Full documentation coverage without token limitations
- **Reliability** : Works even without internet connection

## ✨ Available Rules

This repository includes documentation for:

| Rule | Description |
| --- | --- |
| AI SDK | Complete guides for using the Vercel AI SDK with various LLM providers |
| OpenAI | Comprehensive documentation for the OpenAI API integration |
| Google Generative AI | Full guides for Google’s Generative AI models and API |
| Clerk | Authentication and user management best practices |
| Schematic | Payment API integration and implementation |
| Shadcn/UI | Component installation and usage patterns |
| TailwindCSS v4 | Latest Tailwind CSS client-side implementation |

## 🚀 Getting Started

### Prerequisites

- [Cursor Editor]installed on your machine
- A project where you want to use the AI assistance

### Installation

1. Clone this repository to your local machine:

```bash
git clone https://github.com/VidAIze/cursor-project-rules.git

```

1. Copy the `.cursor` folder to your project:

```bash
cp -r cursor-project-rules/.cursor /path/to/your/project/

```

1. Restart Cursor or reload your project

## 🔍 Usage

Once installed, the Cursor AI will automatically have access to these rules. You can:

1. Ask the AI to implement features using specific frameworks
2. Request the AI to follow best practices from the documentation
3. Get guidance on implementation details without relying on web lookups

### Example Commands

```auto
"Create a login form using Clerk authentication"
"Set up an AI chat interface using the AI SDK with OpenAI provider"
"Implement a payment form with Schematic"
"Add a shadcn/ui dropdown component"

```

## 🤝 Contributing

We welcome contributions to improve and expand these documentation rules! See CONTRIBUTING.md for details on how to add or update rules.

## 📋 License

This project is licensed under the MIT License - see the LICENSE file for details.

## 🙏 Acknowledgments

- [Cursor]for creating an amazing AI-powered editor
- The developers of all the documented libraries and frameworks
- Contributors who help maintain and expand this documentation

* * *

Made with ❤️ for the Cursor community

---

<div class="post-metadata">

**Author:** ![Krittyz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/krittyz/32/36932_2.png) [@Krittyz](https://forum.cursor.com/u/Krittyz)\
**Post date:** [March 16, 2025, 12:51pm UTC](https://forum.cursor.com/t/created-a-project-rules-that-will-best-help-when-building-with-the-cursor-agent/64941/2 "2025-03-16T12:51:44Z")

</div>

I have added more documentations and more to come.

Here is the Github Repo

[https://github.com/VidAIze/best-cursor-project-rules.git](https://github.com/VidAIze/best-cursor-project-rules.git)

Added Documentations are:

1. Convex
2. Polar

Soon more to be added.

Happy AI Codding.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:33am UTC](https://forum.cursor.com/t/created-a-project-rules-that-will-best-help-when-building-with-the-cursor-agent/64941/3 "2026-06-18T10:33:37Z")

</div>


