AcademyRulesDevelopment

Code guidelines for how Cursor makes changes

Development teams who want Cursor to make small, reviewable changes and avoid unrequested edits.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/code-guidelines-cursorrules-prompt-file.mdc -o .cursor/rules/code-guidelines.mdc
code-guidelines.mdc

Loading the file...

What it does

A Cursor rules file that shapes how the assistant behaves while editing code. It asks it to verify information, make changes one file at a time, preserve existing code, avoid unrequested edits, skip apologies and summaries, and deliver edits for a file in a single chunk.

Use cases

  1. 01Review AI changes one file at a time
  2. 02Stop the assistant from touching unrelated code
  3. 03Get all edits for a file in a single block

Questions about
Code guidelines for how Cursor makes changes.

What is Code guidelines for how Cursor makes changes used for?

Development teams who want Cursor to make small, reviewable changes and avoid unrequested edits. A Cursor rules file that shapes how the assistant behaves while editing code. It asks it to verify information, make changes one file at a time, preserve existing code, avoid unrequested edits, skip apologies and summaries, and deliver edits for a file in a single chunk.

How do I install Code guidelines for how Cursor makes changes?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/code-guidelines-cursorrules-prompt-file.mdc -o .cursor/rules/code-guidelines.mdc

Is Code guidelines for how Cursor makes changes open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Code guidelines for how Cursor makes changes safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.