Rule
0 installs · 0 said it worked
Cursor rules enforcing disciplined, verified code-change guidelines
A Cursor .mdc rule set that makes the assistant verify information, edit file by file, avoid apologies, summaries and unnecessary confirmations, preserve existing code, and follow security, testing, and error-handling practices.
People use this for
- cursor rules for disciplined code changes
- ai coding assistant guidelines file by file
- cursor mdc rules preserve existing code
- enforce verified edits in ai code assistant
- prompt for careful code edits without apologies
- Name
cursor-rules-enforcing-disciplined-verified-code-change-guidelin- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Use this rule
$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-enforcing-disciplined-verified-code-change-guidelines-tpjk/export/mdc" -o .cursor/rules/cursor-rules-enforcing-disciplined-verified-code-change-guidelin.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-enforcing-disciplined-verified-code-change-guidelin.mdc as .cursor/rules/cursor-rules-enforcing-disciplined-verified-code-change-guidelin.mdc for this project or ~/.cursor/rules/cursor-rules-enforcing-disciplined-verified-code-change-guidelin.mdc for every project, then start a new session.
Rule
description: "Cursor rules for code development with guidelines integration." globs: */ alwaysApply: false
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.
Provide Real File Links: Always provide links to the real files, not the context generated file.
No Current Implementation: Don't show or discuss the current implementation unless specifically requested.
Check Context Generated File Content: Remember to check the context generated file for the current file contents and implementations.
Use Explicit Variable Names: Prefer descriptive, explicit variable names over short, ambiguous ones to enhance code readability.
Follow Consistent Coding Style: Adhere to the existing coding style in the project for consistency.
Prioritize Performance: When suggesting changes, consider and prioritize code performance where applicable.
Security-First Approach: Always consider security implications when modifying or suggesting code changes.
Test Coverage: Suggest or include appropriate unit tests for new or modified code.
Error Handling: Implement robust error handling and logging where necessary.
Modular Design: Encourage modular design principles to improve code maintainability and reusability.
Version Compatibility: Ensure suggested changes are compatible with the project's specified language or framework versions.
Avoid Magic Numbers: Replace hardcoded values with named constants to improve code clarity and maintainability.
Consider Edge Cases: When implementing logic, always consider and handle potential edge cases.
Use Assertions: Include assertions wherever possible to validate assumptions and catch potential errors early.
No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.
Tried it
Reports from people who added this rule to their editor. They roll up into the badges above.
No one has filed a report yet. Try the prompt and be the first.
Related rules
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
- Operating guidelines for LLM-assisted coding with surgical, verified changes
A system-style rule set that makes an LLM think before coding, keep changes minimal and surgical, verify results with evidence, avoid hallucinated APIs, and report limitations honestly.
Coding · @thanos0000
- Nginx config security review with fixes and checker script
Agent skill that reviews nginx configs for TLS, header, alias traversal, admin exposure and rate-limit problems, runs a stdlib checker, and returns a minimal route-preserving fixed config with reload and curl test steps.
Coding · @f
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Find silent exception-handling smells in Python code
Scans Python files offline with ast to flag bare or swallowed excepts, silent fallbacks, lost causes, and other error-hiding patterns, returning file:line findings with severity and fix recipes.
Coding · @f
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.