.cursor/rules/README.md
This directory contains the rules that Cursor AI uses to validate and improve code quality in the Appsmith project.
commit/: Rules for validating commit messages and pull requests
semantic-pr.md: Guidelines for semantic pull request titlesquality/: Rules for ensuring code quality
performance.mdc: Rules for optimizing performancepre-commit-checks.mdc: Quality checks that run before commitstesting/: Rules for test coverage and quality
test-generator.mdc: Automated test generation based on code changesverification/: Rules for verifying changes and implementations
bug-fix-verifier.mdc: Validation for bug fix implementationsfeature-verifier.mdc: Validation for feature implementationsworkflow-validator.mdc: Validation for development workflowsEach rule is defined in a Markdown Cursor (.mdc) file that includes:
Rules are automatically triggered based on events like:
You can manually trigger rules using Cursor commands, such as:
validate_pr_title: Check if a PR title follows conventionsverify_bug_fix: Validate a bug fix implementationgenerate_tests: Generate tests for changed codeoptimize_performance: Analyze code for performance issuesRefer to each rule's documentation for specific usage information.