Delegate independent tasks to specialized agents working concurrently with isolated context.
Cursor Rules Review
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, ...
SKILL.md
Full skill instructions
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:
descriptionfield 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
findcommand, 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-ruledoesn't load, errors in Cursor logs - Fix: Verify filename case-sensitivity, ensure file exists, use correct
@filenamesyntax
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
# 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.
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
