import{_ as o,c as t,o as r,ae as a}from"./chunks/framework.CBTkueSR.js";const u=JSON.parse('{"title":"Cursor Prompts","description":"","frontmatter":{},"headers":[],"relativePath":"en/cursor-prompts/index.md","filePath":"en/cursor-prompts/index.md","lastUpdated":1760450691000}'),s={name:"en/cursor-prompts/index.md"};function n(i,e,m,d,l,c){return r(),t("div",null,[...e[0]||(e[0]=[a('
This directory contains a series of core system prompts and functional prompts designed for the AI programming assistant "Cursor". These files collectively define the identity, behavior, tool usage, and various capabilities of the Cursor assistant as it has evolved over time.
Agent Prompt (Multiple Versions): There are multiple versions of the agent prompt files (e.g., Agent Prompt.md, Agent Prompt v1.0.md, Agent Prompt v1.2.md, Agent CLI Prompt 2025-08-07.md, Agent Prompt 2025-09-03.md), all of which position the assistant as an AI programming partner driven by advanced models (such as GPT-4.1, GPT-5, Claude Sonnet 4). These prompts detail the assistant's core workflow: understanding the codebase through tools (especially code search and file editing tools), creating a plan, executing changes, and verifying them. Different versions vary in detail, for example:
v1.0, v1.2) emphasize the importance of parallel tool calls and context understanding.2025-09-03) introduce a more structured workflow, such as mandating the use of a to-do list (todo_write) to plan and track tasks, and imposing stricter requirements on status updates and summary formats.2025-08-07) focuses on command-line interaction and defines in detail how to reference code and format output.Agent Tools v1.0.md: Defines in detail the set of tools available to the agent in JSON format, including codebase search, file read/write, terminal command execution, Mermaid chart generation, and more.
Chat Prompt.md: Defines the assistant's behavior in pure chat or Q&A scenarios, where it may not perform code editing but instead provide explanations and guidance.
Memory Prompt.md and Memory Rating Prompt.md: These two files define a "memory" system. Memory Prompt guides the AI on how to determine whether "memories" captured from conversations (such as user preferences, workflows) are worth remembering long-term and how to rate them. Memory Rating Prompt provides more detailed rating criteria and positive/negative examples, aiming to enable the AI to more accurately learn and adapt to the user's habits.
In summary, the cursor-prompts directory, through a series of continuously iterating and feature-rich prompt documents, builds a highly complex, learning-capable, and rigorously workflow-oriented AI programming assistant. This assistant can not only perform specific coding tasks but also continuously optimize its collaboration with users through its memory system.