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