AcademyRulesDevelopment

Anti-Sycophancy Code Discipline Cursor rules

Development and code review teams who want Cursor to flag uncertainty instead of confirming code that may be wrong.

  • 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/anti-sycophancy-code-discipline-cursorrules-prompt-file.mdc -o .cursor/rules/anti-sycophancy-code-discipline.mdc
anti-sycophancy-code-discipline.mdc

Loading the file...

What it does

A Cursor rules file that asks the AI to verify before it agrees. It checks that library functions exist in the installed version, forbids invented signatures, lists edge cases before validating code, requires evidence for approval, and keeps invariants during refactors.

Use cases

  1. 01Check that a library call exists in the installed version
  2. 02List edge cases before approving a function
  3. 03State the invariants before refactoring a module

Questions about
Anti-Sycophancy Code Discipline Cursor rules.

What is Anti-Sycophancy Code Discipline Cursor rules used for?

Development and code review teams who want Cursor to flag uncertainty instead of confirming code that may be wrong. A Cursor rules file that asks the AI to verify before it agrees. It checks that library functions exist in the installed version, forbids invented signatures, lists edge cases before validating code, requires evidence for approval, and keeps invariants during refactors.

How do I install Anti-Sycophancy Code Discipline Cursor rules?

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

Is Anti-Sycophancy Code Discipline Cursor rules open source?

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

Is Anti-Sycophancy Code Discipline Cursor rules 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.