system-prompts-and-models-o.../docs/.vitepress/dist/assets/zh_cursor-prompts_index.md.4gxLlQbh.js
2025-10-15 12:25:44 +08:00

2 lines
4.0 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as t,c as e,o as r,ae as a}from"./chunks/framework.CBTkueSR.js";const g=JSON.parse('{"title":"文档目录","description":"","frontmatter":{},"headers":[],"relativePath":"zh/cursor-prompts/index.md","filePath":"zh/cursor-prompts/index.md","lastUpdated":1760450691000}'),d={name:"zh/cursor-prompts/index.md"};function l(m,o,n,i,p,c){return r(),e("div",null,[...o[0]||(o[0]=[a('<h1 id="文档目录" tabindex="-1">文档目录 <a class="header-anchor" href="#文档目录" aria-label="Permalink to &quot;文档目录&quot;"></a></h1><ul><li><a href="./Agent CLI Prompt 2025-08-07.html">Agent CLI Prompt 2025-08-07</a></li><li><a href="./Agent Prompt 2025-09-03.html">Agent Prompt 2025-09-03</a></li><li><a href="./Agent Prompt v1.0.html">Agent Prompt v1.0</a></li><li><a href="./Agent Prompt v1.2.html">Agent Prompt v1.2</a></li><li><a href="./Agent Prompt.html">Agent Prompt</a></li><li><a href="./Agent Tools v1.0.html">Agent Tools v1.0</a></li><li><a href="./Chat Prompt.html">Chat Prompt</a></li><li><a href="./Memory Prompt.html">Memory Prompt</a></li><li><a href="./Memory Rating Prompt.html">Memory Rating Prompt</a></li></ul><h2 id="产品工具文档的综述" tabindex="-1">产品工具文档的综述 <a class="header-anchor" href="#产品工具文档的综述" aria-label="Permalink to &quot;产品工具文档的综述&quot;"></a></h2><p>此目录包含了为AI编程助手 &quot;Cursor&quot; 设计的一系列核心系统提示和功能性提示。这些文件共同定义了Cursor助手的身份、行为、工具使用以及其随时间演变的各种能力。</p><ul><li><p><strong><code>Agent Prompt</code> (多个版本)</strong>: 存在多个版本的代理提示文件(如 <code>Agent Prompt.md</code>, <code>Agent Prompt v1.0.md</code>, <code>Agent Prompt v1.2.md</code>, <code>Agent CLI Prompt 2025-08-07.md</code>, <code>Agent Prompt 2025-09-03.md</code>它们都将助手定位为一个由先进模型如GPT-4.1, GPT-5, Claude Sonnet 4驱动的AI编程伙伴。这些提示详细规定了助手的核心工作流程通过工具特别是代码搜索和文件编辑工具理解代码库、制定计划、执行更改并进行验证。不同版本在细节上有所不同例如</p><ul><li><strong>早期版本</strong> (<code>v1.0</code>, <code>v1.2</code>) 强调了并行工具调用和上下文理解的重要性。</li><li><strong>新版</strong> (<code>2025-09-03</code>) 引入了更结构化的工作流程,如强制使用待办事项列表(<code>todo_write</code>)来规划和跟踪任务,并对状态更新和摘要格式提出了更严格的要求。</li><li><strong>CLI版本</strong> (<code>2025-08-07</code>) 专注于命令行交互,并详细定义了如何引用代码和格式化输出。</li></ul></li><li><p><strong><code>Agent Tools v1.0.md</code></strong>: 以JSON格式详细定义了代理可用的工具集包括代码库搜索、文件读写、终端命令执行、Mermaid图表生成等。</p></li><li><p><strong><code>Chat Prompt.md</code></strong>: 定义了助手在纯聊天或问答场景下的行为,此时它可能不执行代码编辑,而是提供解释和指导。</p></li><li><p><strong><code>Memory Prompt.md</code> 和 <code>Memory Rating Prompt.md</code></strong>: 这两个文件定义了一个“记忆”系统。<code>Memory Prompt</code> 指导AI如何判断从对话中捕获的“记忆”如用户偏好、工作流程是否值得长期记住并对其进行评分。<code>Memory Rating Prompt</code> 则提供了更详细的评分标准和正反面示例旨在让AI更准确地学习和适应用户的习惯。</p></li></ul><p>总而言之,<code>cursor-prompts</code>目录通过一系列不断迭代的、功能丰富的提示文档构建了一个高度复杂、具备学习能力且工作流程严谨的AI编程助手。该助手不仅能执行具体的编码任务还能通过记忆系统不断优化其与用户的协作方式。</p>',6)])])}const h=t(d,[["render",l]]);export{g as __pageData,h as default};