From 0a9ec3ae01b083ba1be9143edfbaec0dddbabb76 Mon Sep 17 00:00:00 2001 From: zpc Date: Thu, 24 Jul 2025 16:19:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/rules/important.mdc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .cursor/rules/important.mdc diff --git a/.cursor/rules/important.mdc b/.cursor/rules/important.mdc new file mode 100644 index 0000000..a064c37 --- /dev/null +++ b/.cursor/rules/important.mdc @@ -0,0 +1,11 @@ +--- +alwaysApply: true +--- +1、回复用中文 +2、不要修改用户需求之外的代码 +3、对于长代码,进行分批次修改,每次提交行数不要超过580行 +4、对于大型代码文件,使用search_replace工具比edit_file更可靠 +5、每次修改只处理一小部分代码(少于508行) +6、精确定位需要修改的代码块 +7、将复杂修改拆分为多个简单的、独立的修改步骤 +8、对于新文件创建,可以先创建基本结构,再逐步添加功能 \ No newline at end of file