Cursor 代码规范 编码规范:来自 PatrickJS/awesome-cursorrules (40k stars) 的 ant,适用于各类文档与内容的智能化处理。
Cursor 代码规范 编码规范:来自 PatrickJS/awesome-cursorrules (40k stars) 的 ant,适用于各类文档与内容的智能化处理。
**文件来源:** PatrickJS/awesome-cursorrules → `rules/anti-overengineering.mdc`
**原仓库:** https://github.com/PatrickJS/awesome-cursorrules
**评分:** ⭐ 仓库 40k stars (社区最权威 Cursor rules 合集)
把 `anti-overengineering.mdc` 这条 Cursor 编码规则打包成可调用的 AI skill,帮你把代码生成统一到一致的标准上。
> Prevent AI over-engineering by keeping changes scoped, simple, and directly tied to the user's request
globs: ["**/*"]
alwaysApply: false
---
# Anti-Over-Engineering
Only change what was asked. Simplest solution first. When unsure, ask.
Do not modify unrequested code, add abstractions without a concrete need, import unnecessary dependencies, rewrite entire files for small changes, or add error handling for impossible scenarios.
Before delivery: verify you only changed requested code, check for simpler approaches, confirm no unrequested files were touched.
有问题或建议,在本 skill 下留言。
把 `anti-overengineering.mdc` 这条 Cursor 编码规则打包成可调用的 AI skill,帮你把代码生成统一到一致的标准上。
> Prevent AI over-engineering by keeping changes scoped, simple, and directly tied to the user's request