Skip to content

Add Cursor rules#1672

Open
jarvisluk wants to merge 2 commits intoblackmatrix7:masterfrom
jarvisluk:cursor-rules
Open

Add Cursor rules#1672
jarvisluk wants to merge 2 commits intoblackmatrix7:masterfrom
jarvisluk:cursor-rules

Conversation

@jarvisluk
Copy link
Copy Markdown

…ctions and adding comments.

Copilot AI review requested due to automatic review settings April 8, 2026 15:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Cursor” ruleset across multiple client formats to route Cursor-related domains consistently within the existing ios_rule_script rules structure.

Changes:

  • Introduces Cursor domain/domain-suffix rules for Surge, Shadowrocket, Loon, and Clash (.list and .yaml).
  • Introduces Cursor host/host-suffix rules for QuantumultX with the Cursor policy tag.
  • Adds standard ruleset header metadata (NAME/REPO/UPDATED/counts) for each new file.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
rule/Surge/Cursor/Cursor.list Adds Cursor rules in Surge list format.
rule/Shadowrocket/Cursor/Cursor.list Adds Cursor rules in Shadowrocket list format.
rule/QuantumultX/Cursor/Cursor.list Adds Cursor rules in QuantumultX host list format with Cursor tag.
rule/Loon/Cursor/Cursor.list Adds Cursor rules in Loon list format.
rule/Clash/Cursor/Cursor.yaml Adds Cursor rules in Clash YAML payload format.
rule/Clash/Cursor/Cursor.list Adds Cursor rules in Clash list format.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,12 @@
# NAME: Cursor
# AUTHOR: Jarvis
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header metadata uses # AUTHOR: Jarvis, but existing rule lists in this repo consistently use # AUTHOR: blackmatrix7 (e.g., Copilot rules). For consistency with the generated rule-set format, please align the AUTHOR field with the established convention.

Suggested change
# AUTHOR: Jarvis
# AUTHOR: blackmatrix7

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,12 @@
# NAME: Cursor
# AUTHOR: Jarvis
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header metadata uses # AUTHOR: Jarvis, but existing rule lists in this repo consistently use # AUTHOR: blackmatrix7 (e.g., Copilot rules). For consistency with the generated rule-set format, please align the AUTHOR field with the established convention.

Suggested change
# AUTHOR: Jarvis
# AUTHOR: blackmatrix7

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,12 @@
# NAME: Cursor
# AUTHOR: Jarvis
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header metadata uses # AUTHOR: Jarvis, but existing rule lists in this repo consistently use # AUTHOR: blackmatrix7 (e.g., Copilot rules). For consistency with the generated rule-set format, please align the AUTHOR field with the established convention.

Suggested change
# AUTHOR: Jarvis
# AUTHOR: blackmatrix7

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,12 @@
# NAME: Cursor
# AUTHOR: Jarvis
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header metadata uses # AUTHOR: Jarvis, but existing rule lists in this repo consistently use # AUTHOR: blackmatrix7 (e.g., Copilot rules). For consistency with the generated rule-set format, please align the AUTHOR field with the established convention.

Suggested change
# AUTHOR: Jarvis
# AUTHOR: blackmatrix7

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,13 @@
# NAME: Cursor
# AUTHOR: Jarvis
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header metadata uses # AUTHOR: Jarvis, but existing rule lists in this repo consistently use # AUTHOR: blackmatrix7 (e.g., Copilot rules). For consistency with the generated rule-set format, please align the AUTHOR field with the established convention.

Suggested change
# AUTHOR: Jarvis
# AUTHOR: blackmatrix7

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,12 @@
# NAME: Cursor
# AUTHOR: Jarvis
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Header metadata uses # AUTHOR: Jarvis, but existing rule lists in this repo consistently use # AUTHOR: blackmatrix7 (e.g., Copilot rules). For consistency with the generated rule-set format, please align the AUTHOR field with the established convention.

Suggested change
# AUTHOR: Jarvis
# AUTHOR: blackmatrix7

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants