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.
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.
We welcome all contributions! Whether you're adding new prompts, improving existing ones, or fixing typos - every bit helps.
Quick Start:
- Create a folder under
prompts/<your-prompt-name>
- Add metadata in
aiprompt.json
(see example) - Include
.mdc
files with YAML front-matter for rules - Submit a Pull Request
For full details, please see our Contribution Guidelines.
- Discussions: Share ideas, get help, or suggest improvements on our GitHub Discussions.
- Issues: Report bugs or request new prompt categories through GitHub Issues.
- X/Twitter: @kregenrek
- Bluesky: @kevinkern.dev
This repository is open-source under the MIT license. You’re free to use, modify, and distribute it under those terms. Enjoy building!