post-bank-point-mall/.qoder/rules/code-modification.md

26 lines
751 B
Markdown
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.

---
trigger: always_on
alwaysApply: true
---
# 代码修改规范
## 修改前必须执行的操作
在执行任何文件内容修改操作前,必须:
1. **评估修改的置信度**(高/中/低)
2. **明确说明**
- 要修改的文件路径
- 修改的具体内容和原因
- 可能的影响范围
- 置信度评估结果
3. **等待用户明确授权**后再执行修改
4. **禁止**在未获得确认的情况下直接修改文件
## 置信度评估标准
- **高置信度**:需求明确、影响范围清晰、修改方案标准化
- **中置信度**:需求较明确但可能有多种实现方式、影响范围需确认
- **低置信度**:需求模糊、影响范围不明确、可能存在多种理解方式