Skip to content

Curated AI Prompts for Cursor AI, Cline, Windsurf and Github Copilot

License

Notifications You must be signed in to change notification settings

instructa/ai-prompts

Repository files navigation

Instructa AI Prompts Banner

AI Prompts & Rules

Repo Size Build Status License Stars

Instructa AI Prompts is an open-source repository dedicated to collecting and sharing AI prompts, best practices, and curated rules for developers. From project scaffolding to coding standards, our goal is to help you quickly set up and refine your workflow with ready-to-use prompts.

Try it out here or use these prompts directly in your favorite AI coding environment.

Table of Contents


Usage

To dynamically include prompts in AI-assisted coding tools like Cursor, GitHub Copilot, Zed, Windsurf, and Cline, you can utilize their respective configuration features. This approach ensures that your AI assistant adheres to project-specific coding standards, best practices, and automation workflows.

Need a Guide? Read the blog post: How to use Cursor Rules | X Post

How to Use AI Prompts in Different Tools

AI Tool How to Include Prompts
Cursor Add prompts as project rules inside the .cursor/rules/ directory (e.g., .cursor/rules/cursorrules.mdc). Cursor will automatically detect and apply them. For detailed guidance, refer to the official Cursor rule guide.
GitHub Copilot Create a .github/copilot-instructions.md file in your repository's root directory and add natural language instructions in Markdown format. These instructions will guide Copilot's behavior across your project. More information is available in the GitHub Copilot documentation.
Zed Store prompts in the .zed/ directory within your project. You can configure project-specific settings by creating a .zed/settings.json file, allowing Zed to apply these configurations accordingly. Consult the Zed documentation for further details.
Windsurf Add a .windsurfrules file into the project root. Windsurf Getting Started Guide.
Cline 1. Click Cline extension settings 2. Find "Custom Instructions" field 3. Add your instructions Cline GitHub repository.

By configuring these settings, you can ensure that your AI tools operate in alignment with your project's specific requirements and standards.

🤝 Contributing Prompts

We welcome all contributions! Whether you're adding new prompts, improving existing ones, or fixing typos - every bit helps.

Quick Start:

  1. Create a folder under prompts/<your-prompt-name>
  2. Add metadata in aiprompt.json (see example)
  3. Include .mdc files with YAML front-matter for rules
  4. Submit a Pull Request

For full details, please see our Contribution Guidelines.

Community & Support

  • Discussions: Share ideas, get help, or suggest improvements on our GitHub Discussions.
  • Issues: Report bugs or request new prompt categories through GitHub Issues.

Social

License

MIT License

This repository is open-source under the MIT license. You’re free to use, modify, and distribute it under those terms. Enjoy building!