Skip to content
1,330 listed
GitHub-verified
Updated hourly
100% open source

Best AI Prompt Templates & .cursorrules

Discover optimized prompt templates — .cursorrules, SYSTEM_PROMPT.md, and GitHub Copilot prompts. Compatible with any AI assistant including Claude, Cursor, ChatGPT, and Gemini.

What is a AI Prompt Template?

AI Prompt Templates are pre-written instruction sets that shape how AI assistants behave in your projects. They come in many forms — .cursorrules files for Cursor, SYSTEM_PROMPT.md for Claude, .github/prompts/ for Copilot, and .windsurfrules for Windsurf. A good prompt template encodes coding standards, architectural decisions, and team conventions so every AI-generated response follows your project's style. Unlike Skills (which are Claude-specific), prompt templates work with any AI assistant.

Top Rated by Community

See all
Prompt

Spec Kit

Official GitHub toolkit for Spec-Driven Development — bootstraps projects with AI-ready templates and native support for 25+ AI agents (Claude, Cursor, Windsurf, Copilot, Gemini). The Specify CLI sets up PRD/spec workflows and generates per-agent command directories.

by GitHub
spec-drivenprd
86.2k7.4k
CCCuWSCD
Prompt

browser-use — System Prompt

A system prompt that enables AI agents to automate browser tasks, navigate websites, and extract information by operating in an iterative loop. Developers and AI automation engineers use this to enhance AI capabilities for web automation across multiple platforms.

by browser-use
ai-agentsai-tools
79.2k9.4k
CCCDCuWS
Prompt

streamlit — Cursor Rules

Cursor rules that provide AI coding agents with guidance for developing the Streamlit library itself (backend, frontend, protobufs), rather than building Streamlit applications.

by streamlit
data-analysisdata-science
44.2k4.2k
Cu
Prompt

awesome-cursorrules — Cursor Rules

// Awesome CursorRules // A curated list of awesome .cursorrules files for enhancing Cursor AI experience // General guidelines

by PatrickJS
awesomeawesome-list
39.0k3.3k
Cu
Prompt

mise — Cursor Rules

A Cursor IDE rule enforcing Conventional Commits format for all commit messages and PR titles, helping teams maintain consistent, readable version control history. Developers using Cursor will benefit from automated guidance on proper commit formatting.

by jdx
cursorrules
26.6k1.0k
Cu
Prompt

forem — Windsurf Rules

This file contains instructions for AI coding assistants working on the Forem codebase (the platform that powers dev.to). Follow these rules and patterns to ensure high-quality contributions. If you are modifying these agent instructions, you MUST replicate your changes across all of Forem's ecosyst

by forem
communitydiscussion
22.7k4.1k
WS
Prompt

umi — Cursor Rules

1. add a ts file to , the plugin api doc is in . 2. Add to to the part.

by umijs
reactreact-framework
16.0k2.7k
Cu
Prompt

iii — Cursor Rules

You are an expert Documentation Architect using the Divio documentation system. Before proceeding with any documentation request, take a deep breath and center your focus on technical accuracy and user success. 1. Analyze First: When a user requests documentation, first categorize the request into o

by iii-hq
agentsai
15.3k1.0k
Cu
Prompt

deepagents — System Prompt

Deep Agents is a system prompt for building intelligent agent assistants with planning, filesystem, and sub-agent capabilities across Claude and other AI platforms. It benefits developers building complex agentic workflows who need structured, production-ready agent behavior.

by langchain-ai
aideepagents
12.3k1.9k
CCCDCuWS
Prompt

coreui-free-bootstrap-admin-template — Cursor Rules

This is a Bootstrap 5 admin dashboard template built with CoreUI components. It uses Pug templating, Sass for styles, and vanilla JavaScript for interactivity. 1. Create Pug template in 2. Extend base layout:

by coreui
adminadmin-dashboard
12.2k3.1k
Cu
Prompt

datahub — Cursor Rules

A Cursor rules prompt that standardizes the DataHub development workflow by directing developers to use a centralized shell script (datahub-dev.sh) for all build, test, and flag operations. This benefits DataHub contributors by reducing setup friction and ensuring consistent development practices across the team.

by datahub-project
data-catalogdata-discovery
11.6k3.4k
Cu
Prompt

woocommerce — Cursor Rules

Branch names should go by the following structure (anything in "{}" brackets is a placeholder). "{short-slug}" should be replaced with a short name that best describes the changes - do ask for confirmation if needed. Make sure each commit addresses an atomic unit of work that independently works. Ma

by woocommerce
automatticecommerce
10.3k10.7k
Cu
Prompt

Humanizer — Copilot Instructions

These instructions apply to the entire repository.

by Humanizr
hacktoberfestlocalization
9.6k1.0k
CoPi
Prompt

Context-Engineering — System Prompt

A system prompt for Claude Code that enforces defensive security practices and provides CLI guidance, designed to help developers safely use Claude for software engineering tasks while preventing misuse.

by davidkimai
allrules
8.7k972
CCCDCuWS
Prompt

RedisInsight — Cursor Rules

For components requiring Router, ThemeProvider, etc., include them in : Create a test store with for Redux-connected components: Use Mock Service Worker for API mocking:

by redis
database-guiredis
8.4k451
Cu
Prompt

ripple — Copilot Instructions

Ripple is a TypeScript UI framework that combines the best parts of React, Solid, and Svelte. Created by Dominic Gannaway (@trueadm), Ripple is designed to be JS/TS-first with its own file extension that

by Ripple-TS
copilotrules
7.0k271
CoPi
Prompt

gocron — Copilot Instructions

Heuristic scoring (no AI key configured).

by go-co-op
clockworkcron
7.0k342
CoPi
Prompt

intentkit — Copilot Instructions

IntentKit is an open-source, self-hosted cloud agent cluster that manages a collaborative team of AI agents for you.

by crestalnetwork
agent-frameworkagentic
6.5k704
CoPi
Prompt

devin.cursorrules — Cursor Rules

During your interaction with the user, if you find anything reusable in this project (e.g. version of a library, model name), especially about a fix to a mistake you made or a correction you received, you should take note in the section in the file so you will not make the same mistake again. You

by grapeot
cursorrules
6.0k769
Cu
Prompt

FeHelper — Cursor Rules

FeHelper Cursor Rules is a specialized prompt for Chrome extension developers using Cursor IDE to develop and maintain the FeHelper browser extension, providing structured guidelines for project organization, coding standards, and feature module development.

by zxlie
chatgptchrome-extension
5.6k1.3k
Cu
Prompt

bililive-go — Copilot Instructions

本文档为在此项目中工作的 AI 助手(如 GitHub Copilot、Gemini、Claude、Codex、Antigravity 等)提供指导。 永远使用中文进行交流,包括代码注释和 AI 生成的 markdown 文本。 1. 编译验证:修改代码后必须验证编译通过,绝不能跳过

by bililive-go
bilibilidouyu
5.5k671
CoPi
Prompt

vibe-tools — Cursor Rules

The changelog should focus on the user-facing changes and user-facing effects of changes. We do not need to record the internal details of changes in the changelog. When updating the changelog stick to the existing writing style and formatting.

by eastlondoner
cursorrules
4.8k242
Cu
Prompt

byterover-cli — Copilot Instructions

ByteRover CLI () - Interactive REPL with React/Ink TUI oclif v4, TypeScript (ES2022, Node16 modules, strict), React/Ink (TUI), Zustand, axios, socket.io, Mocha + Chai + Sinon + Nock

by campfirein
agentai
4.6k447
CoPi
Prompt

one — Copilot Instructions

❶ One is a new React framework - target web and native with a single Vite plugin and fully shared code, so you can ship cross-platform nearly as easy as single-platform.

by onejs
local-firstreact
4.4k116
CoPi

More Prompt Templates

Prompt

pollinations — Windsurf Rules

Your Friendly Open-Source Gen-AI Platform

by pollinations
colaboratorycolaboratory-notebook
4.4k738
WS
Prompt

mongo-python-driver — Copilot Instructions

When reviewing code, focus on: Always prioritize security vulnerabilities and performance issues that could impact users. Always suggest changes to improve readability and testability. For example, this suggestion seeks to make the code more readable, reusable, and testable:

by mongodb
mongodbmongodb-driver
4.3k1.1k
CoPi
Prompt

skills — System Prompt

A Chinese academic paper editing prompt that removes AI-generated traces and humanizes writing to match natural scholar voice. Benefits researchers, students, and academics writing in Chinese who want their papers to sound authentically human rather than AI-generated.

by openclaw
archivebackup
4.2k1.2k
CCCDCuWS
Prompt

fluentassertions — Copilot Instructions

The guidelines for this repository are maintained in agents.md at the root of the repository.

by fluentassertions
assertionsbdd-style
3.8k731
CoPi
Prompt

Hi.Events — Cursor Rules

See CLAUDE.md for project conventions and development guidelines.

by HiEventsDev
attendize-alternativedoor-management
3.7k624
Cu
Prompt

MIRIX — Cursor Rules

MIRIX is a Multi-Agent Personal Assistant with an Advanced Memory System. It features a six-agent memory architecture (Core, Episodic, Semantic, Procedural, Resource, Knowledge Vault) with screen activity tracking and privacy-first design. 1. Follow PEP 8 strictly 3. Documentation

by Mirix-AI
llm-agentsllm-memory
3.5k278
Cu
Prompt

macios — Copilot Instructions

This booster provides AI instructions for the .NET for Apple platforms repository, helping developers understand the codebase structure, comment filtering rules, and organization of iOS, macOS, tvOS, and Mac Catalyst bindings. It's valuable for contributors and maintainers working with this open-source .NET SDK.

by dotnet
csharpdotnet
2.8k559
CoPi
Prompt

ultracite — Cursor Rules

Ultracite is a Cursor rules booster that enforces strict code quality standards for TypeScript/JavaScript projects through automated formatting and linting via Biome. It's designed for developers who want zero-config, opinionated code standards focused on type safety, performance, and maintainability.

by haydenbleasel
biomecursor
2.7k93
Cu
Prompt

panel — Copilot Instructions

A Copilot prompt that roleplays as Linus Torvalds to provide code review and architecture guidance grounded in Linux kernel philosophy and pragmatic software engineering principles.

by acepanel
fail2banfrp
2.7k205
CoPi
Prompt

ruler — Copilot Instructions

<!-- Generated by Ruler --> <!-- Source: .ruler/AGENTS.md -->

by intellectronica
agentsai
2.7k137
CoPi
Prompt

pjproject — Copilot Instructions

Open-source multimedia communication library in C (SIP, SDP, RTP, STUN, TURN, ICE). 1. GNU Makefile (e.g., ) 2. MSVC project (e.g., )

by pjsip
androidandroid-ndk
2.6k951
CoPi
Prompt

varlock — Cursor Rules

.env files built for sharing powered by @env-spec decorator comments

by dmno-dev
configurationdotenv
2.5k57
Cu
Prompt

azure-sdk-for-js — Copilot Instructions

Heuristic scoring (no AI key configured).

by Azure
azureazure-sdk
2.3k1.3k
CoPi
Prompt

MultiPost-Extension — Cursor Rules

A Cursor IDE rules file providing comprehensive UI/styling guidelines for building responsive React components with HeroUI, Tailwind CSS, and accessibility best practices. Developers building social media automation tools in Cursor will benefit from these standardized component patterns and design specifications.

by leaperone
articleautomation
2.1k239
Cu
Prompt

AKS — Copilot Instructions

This booster provides GitHub Copilot with structured instructions for navigating the Azure Kubernetes Service repository, including standards, conventions, and links to module-specific and file-specific guidance. It benefits AKS team members and contributors working within the repository who use Copilot for code generation and documentation tasks.

by Azure
copilotrules
2.1k358
CoPi
Prompt

codelabs — System Prompt

A system prompt for a color expert assistant that interprets natural language color descriptions and sets RGB values in a desktop app called Colorist. Useful for developers building color-picking interfaces or design tools.

by flutter
allrules
2.1k1.4k
CCCDCuWS
Prompt

witsy — Copilot Instructions

Witsy is a cross-platform Electron-based desktop AI assistant that serves as a universal MCP (Model Context Protocol) client. Built with Electron, TypeScript, Vue 3, and Vite, it integrates multiple LLM providers and supports features like chat completion, image generation, speech-to-text, text-to-s

by Kochava-Studios
anthropicdeepseek
1.9k155
CoPi
Prompt

unreal-mcp — Windsurf Rules

This MCP booster enables AI assistants like Cursor and Windsurf to control Unreal Engine 5.5.4 through natural language commands, providing developers with guidelines for Python tool implementation and UE-specific best practices including coordinate systems and units.

by chongdashu
mcp-servermodelcontextprotocol
1.8k273
WS
Prompt

AnswerOverflow — Cursor Rules

Heuristic scoring (no AI key configured).

by AnswerOverflow
discorddiscord-bot
1.7k83
Cu
Prompt

simorgh — Copilot Instructions

Heuristic scoring (no AI key configured).

by bbc
articlebbc
1.7k266
CoPi
Prompt

AgentDock — Cursor Rules

AgentDock Cursor Rules is a framework guide that establishes architectural principles and coding conventions for building AI agents using TypeScript in Cursor. It benefits developers creating complex, configurable AI-powered applications who need clear structure and best practices.

by AgentDock
agentic-aiagentic-framework
1.6k109
Cu
Prompt

relivator — Cursor Rules

1. minimize comments: code should be self-explanatory; comment only when needed. 2. clarity through naming: use clear, descriptive names for variables, functions, classes, components. 3. comment the "why," not the "what": explain why an approach was taken, especially for non-obvious logic or trad

by reliverse
drizzle-orme-commerce
1.6k275
Cu
Prompt

ark-ui

Headless component library providing accessible, unstyled React primitives for building custom UI components with full control over styling and behavior.

by hashintel
aidatabase
1.5k118
Cu
Prompt

Curator — Cursor Rules

A Cursor-integrated coding standards and linting configuration toolkit for NeMo Curator projects, helping teams enforce consistent data processing code quality with Ruff-based rules and exceptions.

by NVIDIA-NeMo
datadata-curation
1.5k253
Cu

Recently Updated

See all
Prompt

skills — System Prompt

A Chinese academic paper editing prompt that removes AI-generated traces and humanizes writing to match natural scholar voice. Benefits researchers, students, and academics writing in Chinese who want their papers to sound authentically human rather than AI-generated.

by openclaw
archivebackup
4.2k1.2k
CCCDCuWS
Prompt

woocommerce — Cursor Rules

Branch names should go by the following structure (anything in "{}" brackets is a placeholder). "{short-slug}" should be replaced with a short name that best describes the changes - do ask for confirmation if needed. Make sure each commit addresses an atomic unit of work that independently works. Ma

by woocommerce
automatticecommerce
10.3k10.7k
Cu
Prompt

tko — Copilot Instructions

Read and follow the instructions in AGENTS.md

by knockout
frameworkfrontend
31235
CoPi
Prompt

PR-Metrics — Copilot Instructions

PR Metrics is a cross-platform GitHub Action and Azure DevOps task that analyzes pull request size and test coverage, updating PR titles with indicators (XS, S, M, L, XL, 2XL, etc) and test coverage symbols (✔ or ⚠️).

by microsoft
azure-devopsazure-devops-extension
7815
CoPi
Prompt

forem — Windsurf Rules

This file contains instructions for AI coding assistants working on the Forem codebase (the platform that powers dev.to). Follow these rules and patterns to ensure high-quality contributions. If you are modifying these agent instructions, you MUST replicate your changes across all of Forem's ecosyst

by forem
communitydiscussion
22.7k4.1k
WS
Prompt

zod

TypeScript-first schema validation library with static type inference. This skill covers v4 patterns including the metadata registry system. Zod v4 stores metadata in registries (primarily ). Use as the primary API and as shorthand for description-only cases.

by hashintel
aidatabase
1.5k118
Cu

Why use Prompt Templates?

Here's why thousands of developers add these to their AI workflow every week.

Works with any AI

Prompt templates aren't locked to one tool. The same .cursorrules principles translate to Claude, ChatGPT, Copilot, and Gemini.

Zero learning curve

Drop a file into your project root and your AI assistant immediately understands your stack, style, and constraints.

Team-wide consistency

Commit your prompt template to git — every developer on your team gets the same AI behaviour without any extra setup.

Battle-tested

Top-rated templates have been refined by thousands of developers. Start with a proven foundation and customise from there.

How to install

  1. 1

    Find a template

    Browse by AI platform (Cursor, Claude, ChatGPT) or use case (coding, writing, DevOps).

  2. 2

    Copy the file

    Download or copy the .cursorrules, SYSTEM_PROMPT.md, or equivalent file into your project root.

  3. 3

    Commit it

    Commit the file to your repository so every team member gets the same AI behaviour.

  4. 4

    Test it

    Open your AI assistant and try a task — the template's instructions will shape the response automatically.

Frequently Asked Questions

Common questions about prompt templates answered.

What is an AI Prompt Template?

An AI Prompt Template is a pre-written instruction set that shapes how an AI assistant behaves in your project. They come in many forms: .cursorrules for Cursor, SYSTEM_PROMPT.md for Claude, .github/prompts/ for GitHub Copilot, and .windsurfrules for Windsurf. A good template encodes your coding standards, architectural decisions, and team conventions so every AI response follows your project's style.

What are .cursorrules files?

.cursorrules files are project-level instruction files placed in the root of your repository. Cursor reads them automatically and applies the instructions to every AI interaction in that project. They're the most widely adopted prompt template format, with hundreds of community-contributed examples on GitHub.

Do prompt templates work with Claude?

Yes. Claude reads SYSTEM_PROMPT.md, CLAUDE.md, and .claude/settings.json files as project-level instructions. You can also place prompt templates in .claude/skills/ for skill-based invocation. Prompt templates tagged as 'Any AI assistant' compatible work across Claude, Cursor, ChatGPT, and Gemini.

How do I create a .cursorrules file?

Create a file named .cursorrules in the root of your project. Write plain-text instructions describing how you want Cursor's AI to behave — your tech stack, code style, naming conventions, and workflow rules. Commit it to your repository so every team member benefits from the same AI behaviour.

Are prompt templates better than Claude Skills?

They serve different purposes. Prompt templates (like .cursorrules) configure general AI behaviour for a whole project and work across multiple AI tools. Claude Skills (SKILL.md) are task-specific and integrate more deeply into Claude Code's workflow. For maximum benefit, use both: a .cursorrules or CLAUDE.md for baseline project rules, and Skills for specific complex tasks.

Explore Other AI Booster Types