diff --git a/CLAUDE.md b/CLAUDE.md index 8a16869..e7fbb8a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -260,4 +260,8 @@ mvn test -pl coder-common-thin-web ${revision} ``` - - **验证方法**: 添加依赖后重新编译和启动应用程序,确保所有Controller接口能正常访问 \ No newline at end of file + - **验证方法**: 添加依赖后重新编译和启动应用程序,确保所有Controller接口能正常访问 +6. **禁止自动编译**: Claude在完成新功能代码或修改代码后,严禁自动执行任何编译操作(如mvn compile、mvn package等) + - **禁止行为**: 严禁在代码修改完成后自动运行编译命令 + - **原因说明**: 编译操作应由开发者根据实际需要手动执行,避免不必要的编译开销和潜在的环境冲突 + - **允许行为**: 仅在用户明确要求时才执行编译操作 \ No newline at end of file