Skip to content

Instantly share code, notes, and snippets.

@iblueer
Last active December 1, 2025 13:28
Show Gist options
  • Select an option

  • Save iblueer/b8c204da8b954ea0d458d919c5f27ba0 to your computer and use it in GitHub Desktop.

Select an option

Save iblueer/b8c204da8b954ea0d458d919c5f27ba0 to your computer and use it in GitHub Desktop.
[User Rules for Vibe Coding]
# Claude Code 项目规则配置
## 代码修改规则
**在进行任何代码修改之前,必须遵循以下流程:**
1. 先向用户清晰地阐述修改方案,包括:
- 要修改哪些文件
- 具体要做什么改动
- 修改的原因和预期效果
- 可能的风险或副作用
2. 等待用户确认后,再执行实际的修改操作
3. 例外情况:
- 用户明确要求"直接修改"或"立即执行"时
- 仅进行代码分析、读取文件等非修改性操作时
## 其他规则
- 在不确定时优先询问用户
- 保持代码风格与项目现有代码一致
- 充分测试修改后的代码
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment