cursor-rules-review

Audit Cursor IDE rules (.mdc files) against quality standards using a 5-gate review process. Validates frontmatter (YAML syntax, required fields, description quality, triggering configuration), glob patterns (specificity, performance, correctness), content quality (focus, organization, examples, cross-references), file length (under 500 lines recommended), and functionality (triggering, cross-references, maintainability). Use when reviewing pull requests with Cursor rule changes, conducting periodic rule quality audits, validating new rules before committing, identifying improvement opportunities, preparing rules for team sharing, or debugging why rules aren't working as expected.

16 stars

Best use case

cursor-rules-review is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Audit Cursor IDE rules (.mdc files) against quality standards using a 5-gate review process. Validates frontmatter (YAML syntax, required fields, description quality, triggering configuration), glob patterns (specificity, performance, correctness), content quality (focus, organization, examples, cross-references), file length (under 500 lines recommended), and functionality (triggering, cross-references, maintainability). Use when reviewing pull requests with Cursor rule changes, conducting periodic rule quality audits, validating new rules before committing, identifying improvement opportunities, preparing rules for team sharing, or debugging why rules aren't working as expected.

Teams using cursor-rules-review should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cursor-rules-review/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/cursor-rules-review/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cursor-rules-review/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cursor-rules-review Compares

Feature / Agentcursor-rules-reviewStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Audit Cursor IDE rules (.mdc files) against quality standards using a 5-gate review process. Validates frontmatter (YAML syntax, required fields, description quality, triggering configuration), glob patterns (specificity, performance, correctness), content quality (focus, organization, examples, cross-references), file length (under 500 lines recommended), and functionality (triggering, cross-references, maintainability). Use when reviewing pull requests with Cursor rule changes, conducting periodic rule quality audits, validating new rules before committing, identifying improvement opportunities, preparing rules for team sharing, or debugging why rules aren't working as expected.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Cursor Rules Review

## Quick Start

**5-Gate Review Process:**

```
Rule File (.mdc)
    ↓
Gate 1: Frontmatter Review
    ↓ PASS
Gate 2: Glob Patterns Review
    ↓ PASS
Gate 3: Content Quality Review
    ↓ PASS
Gate 4: File Length Review
    ↓ PASS
Gate 5: Functionality Review
    ↓ PASS
✅ APPROVED
```

**Severity Levels:**

- **BLOCKER** - Must fix before merge (prevents rule from working)
- **CRITICAL** - Must fix before production (causes issues)
- **MAJOR** - Should fix (impacts quality significantly)
- **MINOR** - Nice to have (improvements)

---

## When to Load Additional References

The 5-gate review process below provides core checks. Load these references for detailed examples and checklists:

**For detailed examples of good and bad patterns:**

```
Read `~/.claude/skills/cursor-rules-review/references/EXAMPLES.md`
```

Use when: You need concrete examples of violations, want to see before/after comparisons, or need reference patterns

**For copy-paste review checklist:**

```
Read `~/.claude/skills/cursor-rules-review/references/CHECKLIST.md`
```

Use when: Performing systematic review, want a comprehensive checklist, or need to document findings

**For test scenarios and edge cases:**

```
Read `~/.claude/skills/cursor-rules-review/references/test-scenarios.md`
```

Use when: Testing rules, validating fixes, or handling complex edge cases

---

## 5-Gate Review Process (Quick Summary)

### Gate 1: Frontmatter Review

- **YAML Syntax**: Valid YAML with proper `---` delimiters (BLOCKER if invalid)
- **Required Fields**: `description` field present and under 1024 chars (BLOCKER if missing)
- **Description Quality**: Specific, third-person, explains WHAT and WHEN (MAJOR if vague)
- **Triggering Config**: Appropriate use of `alwaysApply`, `globs`, or manual-only (CRITICAL if incorrect)

### Gate 2: Glob Patterns Review

- **Specificity**: Patterns match intended files only, not overly broad (CRITICAL if too broad)
- **Performance**: Efficient patterns, not excessive count (MAJOR if >10 patterns)
- **Correctness**: Patterns work with `find` command, correct syntax (BLOCKER if broken)

### Gate 3: Content Quality Review

- **Single Responsibility**: Focused on one concern, split if multiple topics (MAJOR if mixed)
- **Organization**: Clear structure, logical flow, no redundancy (MAJOR if poor)
- **Examples**: Realistic good/bad patterns with explanations (MAJOR if missing)
- **Cross-References**: Valid `@` syntax, referenced rules exist (CRITICAL if broken)

### Gate 4: File Length Review

- **Recommended**: <300 lines optimal, 300-500 good, 500-750 acceptable
- **Action Required**: Split if >750 lines into base/advanced/examples (MAJOR if >1000)

### Gate 5: Functionality Review

- **Triggering Test**: Create test files, verify correct triggering (BLOCKER if doesn't trigger)
- **Cross-Reference Validation**: Verify referenced files exist (CRITICAL if broken)
- **Maintainability**: Clear, follows conventions, documented (MINOR if poor)

**For detailed checks, examples, and criteria for each gate:**

```
Read `~/.claude/skills/cursor-rules-review/references/GATE-REVIEWS.md`
```

Use when: Performing comprehensive review, need detailed validation criteria, or checking specific gate requirements

---

## Review Output Format

**Report Structure**: Summary table with gate-by-gate status, issues grouped by severity (BLOCKER → CRITICAL → MAJOR → MINOR), specific fixes with line numbers, and prioritized recommendations.

**For complete report template with examples:**

```
Read `~/.claude/skills/cursor-rules-review/references/REPORT-FORMAT.md`
```

Use when: Documenting review findings, creating comprehensive reports, or presenting results to team

---

## Best Practices

### 1. Start with Frontmatter

Always validate frontmatter first - if it's broken, nothing else matters.

### 2. Test Triggering Early

Create test files and verify the rule triggers as expected.

### 3. Use Consistent Severity

Apply severity levels consistently across reviews.

### 4. Provide Actionable Fixes

Every issue should have a clear fix recommendation.

### 5. Re-Review After Fixes

Always run review again after fixes to confirm resolution.

---

## Common Issues (Quick Reference)

### Rule Not Triggering

- **Symptoms**: Rule doesn't appear when expected, glob patterns look correct
- **Fix**: Test glob with `find`, verify YAML syntax, check file location, restart Cursor

### Context Bloat

- **Symptoms**: Too much context loaded, slow performance, irrelevant info in responses
- **Fix**: Make globs more specific, minimize `alwaysApply: true`, split large rules

### Broken Cross-References

- **Symptoms**: `@referenced-rule` doesn't load, errors in Cursor logs
- **Fix**: Verify filename case-sensitivity, ensure file exists, use correct `@filename` syntax

**For detailed troubleshooting with debug commands and comprehensive solutions:**

```
Read `~/.claude/skills/cursor-rules-review/references/TROUBLESHOOTING.md`
```

Use when: Debugging specific issues, need detailed diagnostic steps, or handling complex problems

---

## Quick Validation Commands

```bash
# Check frontmatter
head -n 10 .cursor/rules/rule-name.mdc

# Check file length
wc -l .cursor/rules/rule-name.mdc

# Test glob patterns
find . -path "**/Chart.yaml"

# Verify cross-references
grep "@" .cursor/rules/rule-name.mdc
ls .cursor/rules/referenced-rule.mdc

# For complete checklist, read references/CHECKLIST.md
```

---

## Related Skills

- **cursor-rules-writing**: Create new Cursor rules following best practices
- **skill-review**: Review Claude Code skills (different from Cursor rules)

---

**This skill should be reviewed quarterly for updates to align with latest Cursor IDE features.**

Related Skills

jetbrains-marketplace-reviews

16
from diegosouzapw/awesome-omni-skill

Fetch and visualize reviews for any JetBrains Marketplace plugin. Use when (1) analyzing plugin review trends, (2) getting review statistics for a time period, (3) visualizing rating distributions, (4) monitoring user feedback. Triggers on requests like "get JetBrains reviews", "copilot plugin feedback", "JetBrains marketplace reviews", "visualize plugin ratings", "analyze JetBrains plugin reviews".

framer-motion-rules

16
from diegosouzapw/awesome-omni-skill

Defines framer motion is being used for animations

ethics-reviewer

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user mentions "dark patterns", "accessibility", "a11y", "privacy", "tracking", "analytics", "notifications", "user data", "GDPR", "consent", "manipulation", "sustainability", "performance budget", or when building user-facing features that collect data, send notifications, display urgency, or gate access. Addresses ethical constraints in software design — manipulation, accessibility, privacy, and sustainability.

error-debugging-multi-agent-review

16
from diegosouzapw/awesome-omni-skill

Use when working with error debugging multi agent review

datahub-connector-pr-review

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user asks to "review my connector", "check my datahub connector", "review connector code", "audit connector", "review PR", "check code quality", or any request to review/check/audit a DataHub ingestion source. Covers compliance with standards, best practices, testing quality, and merge readiness.

cursor

16
from diegosouzapw/awesome-omni-skill

Translates task requirements into Cursor CLI commands. Used by cursor-driver agent to execute coding tasks via Cursor.

cursor-rules-synchronizer

16
from diegosouzapw/awesome-omni-skill

Synchronizes Cursor Rules (.mdc files in .cursor/rules/) to CLAUDE.md by generating a Rules section with context-efficient descriptions and usage instructions. Use when setting up Cursor Rules for the first time, after adding or modifying rules, or when the Rules section in CLAUDE.md is missing or outdated.

cursor-best-practices

16
from diegosouzapw/awesome-omni-skill

Best practices for using Cursor—rules, commands, skills, subagents, ignore files, Agent security, workflows, and community resources. Use when setting up Cursor, initializing or creating the .cursor folder, writing .cursor/rules or AGENTS.md, creating commands or skills, configuring .cursorignore, working with Agent, discovering rules or MCPs (e.g. cursor.directory), making codebases cursor-compatible, or asking about Cursor workflows, TDD, git commands, or large codebases.

cpm:review

16
from diegosouzapw/awesome-omni-skill

Adversarial review of epic docs and stories. Agents from the party roster examine planning artifacts through their professional lens, challenging assumptions, spotting gaps, and flagging risks. Triggers on "/cpm:review".

contract-review-pro

16
from diegosouzapw/awesome-omni-skill

专业合同审核 Skill,基于《合同审核方法论体系》提供合同类型指引和详细审核服务

codex-reviewer

16
from diegosouzapw/awesome-omni-skill

Use OpenAI's Codex CLI as an independent code reviewer to provide second opinions on code implementations, architectural decisions, code specifications, and pull requests. Trigger when users request code review, second opinion, independent review, architecture validation, or mention Codex review. Provides unbiased analysis using GPT-5-Codex model through the codex exec command for non-interactive reviews.

codex-review

16
from diegosouzapw/awesome-omni-skill

Two-pass adversarial review of design documents and implementation plans using OpenAI Codex CLI. Invokes Codex to review plans section-by-section (pass 1), then holistically (pass 2), feeding critique back for revision. Use when you have a design doc, architecture plan, or implementation plan that should be stress-tested before execution.