最近使用的Cursor自定义规则

Contents

最近Cursor + gpt-5-high非常好用,这是我目前在用的自定义规则。

文档和注释 #

  • I prefer comments in English.

  • I prefer to add a concise user manual to README.md in the project root.

  • I would like to place the detailed development documentation in CONTRIBUTING.md.

代码风格 #

  • I try to avoid using try-except whenever possible.

  • Do not use environment toggles unless explicitly asked.

库和API #

  • Always query context7 for the most recent docs and best practices.

  • I prefer using Typer instead of argparse.

  • I always use uv for python package manager. The uv venv is located in the project root. I always prefer to use uv run from the project root.