It's a combination of a lot of rules, and I've used this rule to improve the accuracy of cursor significantly

这是中文版本
This is the English version

This rule is compatible with the latest version of cursor1.2 and requires the installation of MCP services: serena, context7.
It can solve 80% of my problems, and most of the problems are in the edit_file editor. You can add a rule yourself:
Use a more precise search_replace tool, which allows AI to perform precise string replacement.