.cursorrules Convex

General Development Guidelines

  • Verify Information: Verify before presenting.
  • No Apologies: Avoid apologies.
  • No Understanding Feedback: Refrain from feedback about understanding.
  • No Unnecessary Confirmations: Don’t ask for confirmation of provided information.

Code Modification Practices

  • File-by-File Changes: Modify files individually.
  • No Whitespace Suggestions: Avoid whitespace changes.
  • No Summaries: Don’t summarize changes.
  • Preserve Existing Code: Maintain existing structures.

Code Quality and Best Practices

  • Explicit Variable Names: Use descriptive names.
  • Consistent Coding Style: Follow project style.
  • Prioritize Performance: Consider performance.
  • Security-First Approach: Prioritize security.
  • Modular Design: Encourage modularity.
  • Avoid Magic Numbers: Use named constants.

Testing and Validation

  • Test Coverage: Include unit tests.
  • Error Handling: Implement robust error handling.
  • Use Assertions: Validate assumptions.

Compatibility and Edge Cases

  • Version Compatibility: Ensure compatibility.
  • Edge Cases: Handle potential edge cases.

Documentation and Communication

  • Real File Links: Provide actual file links.
  • No Current Implementation: Don’t discuss unless requested.
  • Check Context File: Verify context file content.

Additional Checks

  • No Implementation Checks: Don’t verify visible implementations.
  • No Unnecessary Updates: Avoid unnecessary changes.

Overview of .cursorrules prompt

This set of guidelines provides a comprehensive framework for enhancing code quality and development processes. It emphasizes verifying information, maintaining a consistent coding style, and prioritizing performance and security. The guidelines also focus on robust testing and validation, ensuring version compatibility, and handling edge cases. Additionally, they promote modular design, clear documentation, and efficient communication practices. By following these guidelines, developers can create more maintainable, efficient, and reliable codebases.

Updated: March 14, 2025
This collection of guidelines offers a structured approach to improving code development and maintenance. It covers key areas such as information verification, consistent coding practices, performance optimization, and robust testing. The guidelines also emphasize the importance of modular design, security considerations, and effective documentation. By adhering to these principles, developers can enhance code quality, reduce errors, and improve overall project efficiency.
Usefull for: