Cursor rule
.cursor/rules/pull-request-changelist-instructions.mdcGuidelines for creating consistent pull request changelists in markdown format with proper code block formatting
Cursor rules
Quality
44/100
Scores the file, not the repository.Length
653 words
1 headings · 4 code blocksRepository
86
— · pushed 280 days agoLast changed
3 days ago
First indexed 3 days ago.123456---7description: Updated guidelines for creating consistent pull request changelists in markdown format, ensuring strict raw markdown code block formatting and proper structure.8globs: "*.md"9alwaysApply: false10---11# Pull Request Changelist Format1213This document outlines strict standards for creating and formatting pull request changelists in markdown. Following these guidelines ensures that the output remains as raw markdown (unrendered) and prevents any issues with Cursor’s markdown rendering.1415<rule>16name: pull_request_changelist_format17description: Updated guidelines for creating consistent pull request changelists in markdown with strict code block handling and structured formatting.18filters:19 - type: file_extension20 pattern: "\\.md$"21 - type: content22 pattern: "(?i)(pull request|pr|changelist|changelog)"2324actions:25 - type: suggest26 message: |27 ## Updated Pull Request Changelist Guidelines2829 To guarantee clarity and consistency, please adhere to the following time-tested, unambiguous guidelines when requesting a PR changelist from Cursor:3031 ### 1. Request Format32 **Always explicitly request raw markdown output in a code block** using one of these exact phrases:33 - "Return markdown as code"34 - "Return as code inside markdown as code (one block)"35 - "Provide the markdown in a code block"36 - "Return the content as a markdown code block, not as formatted text"37 - "Generate the PR changelist in a markdown code block"3839 Avoid ambiguous wording that could lead to a rendered (formatted) output.4041 ### 2. Expected Response Format42 Cursor should always respond with a raw markdown code block that looks like:43```44 ```markdown45 # Summary of Changes4647 ## Category Name48 - Change item49```50```5152 ### 3. Handling Incorrect Format53 If the response is rendered markdown rather than a raw code block, prompt with one of the following:54 - "Please provide the exact markdown in a code block using triple backticks, not as formatted text."55 - "I require the raw markdown syntax; reformat your response with triple backticks."56 - "Reformat your output as a code block enclosed in triple backticks."5758 ### 4. Changelist Structure59 - **Main Heading:** Must begin with `# Summary of Changes`60 - **Categories:** Use `##` headings to group related changes.61 - **Changes:** List each change with a bullet (`-`), starting with a past tense verb (e.g., Added, Updated, Removed).62 - **Code/Variables:** Enclose module names or configuration settings in backticks (e.g., `module_name`).6364 ### 5. Content Requirements65 - Be specific about what changed and why.66 - Group similar changes under the appropriate category headings.67 - For configuration changes, include both the setting name and its new value.68 - Keep each entry concise but descriptive.6970 ### 6. Example Command71 To request a changelist from Cursor, try:72```73 Prepare a PR changelist based on these changes. Return the markdown in a code block with triple backticks.74```7576 Adhering to these traditional, time-tested formatting guidelines not only prevents ambiguity but also paves the way for future improvements in automated changelist generation.7778 - type: validate79 conditions:80 - pattern: "^```\\s*markdown\\s*\\n#\\s+Summary\\s+of\\s+Changes"81 message: "The changelist must be a raw markdown code block starting with '# Summary of Changes'. Ensure the use of triple backticks and correct heading structure."82 - pattern: "-\\s+(Added|Updated|Removed)\\b"83 message: "Each bullet point must begin with a past tense verb: 'Added', 'Updated', or 'Removed'."8485examples:86 - input: |87 Request: "Create a PR changelist for my changes. Return markdown code as code."8889 Good Response from Cursor:90 ```markdown91 # Summary of Changes9293 ## Environment Configuration94 - Updated `STAGE_FILE_PROXY_URL` to data.safeworkaustralia.gov.au95 - Updated `LOCALDEV_URL` to dataswa.docker.amazee.io9697 ## Module Changes98 - Removed `page_cache` module99 - Added `stage_file_proxy` module100```101 output: |102 This is the correct format for Cursor to return a changelist – as a raw markdown code block enclosed in triple backticks.103104 - input: |105 Request: "Create a PR changelist for my changes."106107 Bad Response from Cursor (rendered markdown instead of a code block):108 # Summary of Changes109110 ## Environment Configuration111 - Updated `STAGE_FILE_PROXY_URL` to data.safeworkaustralia.gov.au112 - Updated `LOCALDEV_URL` to dataswa.docker.amazee.io113 output: |114 This response is incorrectly formatted as rendered markdown. Please ask Cursor to provide the output as a raw markdown code block with triple backticks.115116metadata:117 priority: medium118 version: 1.2119</rule>
Also in ivangrynenko/cursorrules
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| ivangrynenko/cursorrules.cursor/rules/accessibility-standards.mdc · 86 | Cursor rules | ui | 44/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/api-standards.mdc · 86 | Cursor rules | api | 44/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/behat-steps.mdc · 86 | Cursor rules | lint-formatstyleperformanceagent-behaviour | 42/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/build-optimization.mdc · 86 | Cursor rules | build | 48/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/confluence-editing-standards.mdc · 86 | Cursor rules | stylearchsecuritydeployment | 60/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/debugging-standards.mdc · 86 | Cursor rules | no sections | 30/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/docker-compose-standards.mdc · 86 | Cursor rules | style | 62/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-broken-access-control.mdc · 86 | Cursor rules | stylesecurity | 52/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-cryptographic-failures.mdc · 86 | Cursor rules | security | 48/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-database-standards.mdc · 86 | Cursor rules | database | 30/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-injection.mdc · 86 | Cursor rules | securitydo-not | 55/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-insecure-design.mdc · 86 | Cursor rules | security | 48/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-integrity-failures.mdc · 86 | Cursor rules | style | 60/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-logging-failures.mdc · 86 | Cursor rules | security | 48/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-security-misconfiguration.mdc · 86 | Cursor rules | security | 48/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-vulnerable-components.mdc · 86 | Cursor rules | stylesecurity | 67/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/git-commit-standards.mdc · 86 | Cursor rules | git | 44/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/github-actions-standards.mdc · 86 | Cursor rules | no sections | 44/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/improve-cursorrules-efficiency.mdc · 86 | Cursor rules | no sections | 34/100 | 3 days ago | |
| ivangrynenko/cursorrules.cursor/rules/javascript-cryptographic-failures.mdc · 86 | Cursor rules | security | 40/100 | 3 days ago |
Diff against .cursor/rules/accessibility-standards.mdc Diff against .cursor/rules/api-standards.mdc Diff against .cursor/rules/behat-steps.mdc Diff against .cursor/rules/build-optimization.mdc Diff against .cursor/rules/confluence-editing-standards.mdc Diff against .cursor/rules/debugging-standards.mdc Diff against .cursor/rules/docker-compose-standards.mdc Diff against .cursor/rules/drupal-broken-access-control.mdc Diff against .cursor/rules/drupal-cryptographic-failures.mdc Diff against .cursor/rules/drupal-database-standards.mdc Diff against .cursor/rules/drupal-injection.mdc Diff against .cursor/rules/drupal-insecure-design.mdc Diff against .cursor/rules/drupal-integrity-failures.mdc Diff against .cursor/rules/drupal-logging-failures.mdc Diff against .cursor/rules/drupal-security-misconfiguration.mdc Diff against .cursor/rules/drupal-vulnerable-components.mdc Diff against .cursor/rules/git-commit-standards.mdc Diff against .cursor/rules/github-actions-standards.mdc Diff against .cursor/rules/improve-cursorrules-efficiency.mdc Diff against .cursor/rules/javascript-cryptographic-failures.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49 | Cursor rules | setupbuildteststyle+4 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago |
