提交
This commit is contained in:
parent
992948d1df
commit
0a9ec3ae01
11
.cursor/rules/important.mdc
Normal file
11
.cursor/rules/important.mdc
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
alwaysApply: true
|
||||||
|
---
|
||||||
|
1、回复用中文
|
||||||
|
2、不要修改用户需求之外的代码
|
||||||
|
3、对于长代码,进行分批次修改,每次提交行数不要超过580行
|
||||||
|
4、对于大型代码文件,使用search_replace工具比edit_file更可靠
|
||||||
|
5、每次修改只处理一小部分代码(少于508行)
|
||||||
|
6、精确定位需要修改的代码块
|
||||||
|
7、将复杂修改拆分为多个简单的、独立的修改步骤
|
||||||
|
8、对于新文件创建,可以先创建基本结构,再逐步添加功能
|
||||||
Loading…
Reference in New Issue
Block a user