Other .mdc

Codequality

Code Quality Guidelines

How to use
  1. Copy the rule content.
  2. In your project root, create .cursorrules or .cursor/rules/codequality.mdc
  3. Paste the content and save.

Code Quality Guidelines

Verify Information

Always verify information before presenting it. Do not make assumptions or speculate without clear evidence.

File-by-File Changes

Make changes file by file and give me a chance to spot mistakes.

No Apologies

Never use apologies.

No Understanding Feedback

Avoid giving feedback about understanding in comments or documentation.

No Whitespace Suggestions

Don’t suggest whitespace changes.

No Summaries

Don’t summarize changes made.

No Inventions

Don’t invent changes other than what’s explicitly requested.

No Unnecessary Confirmations

Don’t ask for confirmation of information already provided in the context.

Preserve Existing Code

Don’t remove unrelated code or functionalities. Pay attention to preserving existing structures.

Single Chunk Edits

Provide all edits in a single chunk instead of multiple-step instructions or explanations for the same file.

No Implementation Checks

Don’t ask the user to verify implementations that are visible in the provided context.

No Unnecessary Updates

Don’t suggest updates or changes to files when there are no actual modifications needed.

Always provide links to the real files, not x.md.

No Current Implementation

Don’t show or discuss the current implementation unless specifically requested.

Similar rules

More in Other →