guyu/.cursor/rules/important.mdc
2025-07-24 16:19:43 +08:00

11 lines
498 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

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.

---
alwaysApply: true
---
1、回复用中文
2、不要修改用户需求之外的代码
3、对于长代码进行分批次修改每次提交行数不要超过580行
4、对于大型代码文件使用search_replace工具比edit_file更可靠
5、每次修改只处理一小部分代码(少于508行)
6、精确定位需要修改的代码块
7、将复杂修改拆分为多个简单的、独立的修改步骤
8、对于新文件创建可以先创建基本结构再逐步添加功能