This repository contains the system prompts used by Cursor IDE for its AI coding assistants: Claude 3.7 Sonnet and Gemini 2.5 Pro.
Cursor is an AI-first code editor designed to enhance developer productivity through integrated AI assistance. It uses powerful language models to help with code generation, explanation, debugging, and more.
This repository contains:
- Claude 3.7 Sonnet System Prompt - The complete instruction set for the Claude 3.7 Sonnet model as implemented in Cursor
- Gemini 2.5 Pro System Prompt - The complete instruction set for the Gemini 2.5 Pro model as implemented in Cursor
These system prompts reveal how Cursor configures its AI assistants to:
- Interact with your codebase
- Follow specific formatting and response styles
- Use tools to search, read, and modify code
- Make appropriate code changes
- Balance helpfulness with conciseness
Feature | Claude 3.7 Sonnet | Gemini 2.5 Pro |
---|---|---|
Response Style | Highly concise, minimal | Concise but slightly more explanatory |
Tool Usage | Extensive tool capabilities | Similar tool capabilities with slight differences |
Code Editing | Very specific edit format | Similar edit format |
Proactiveness | Balanced approach | More conservative with edits |
These system prompts were obtained and are being shared for educational purposes. They provide insights into how commercial AI coding assistants are configured and can be valuable for understanding AI assistant design principles.