2.1 KiB
PR #648 Patch Summary
Title: fix: Wrong setup of Cursor rules Author: tcorral Status: Open, Mergeable, Ready for Review
Issue Description
After testing BMAD Method in Cursor rules with the existing setup of the rule, it was noticed that it was not actually using the right prompt. The fix was to change to 'Apply Manually' so the rule @<agent-name> has to be referenced from the chat window, similar to what you do with Claude Code.
Files Modified
tools/installer/lib/ide-base-setup.js
Changes Summary
File: tools/installer/lib/ide-base-setup.js Lines: 189-197 (MDC format section for Cursor rules) Type: REMOVAL (2 lines deleted)
Removed Lines
content += 'description: \n';
content += 'globs: []\n';
Rationale
- The
description:field is empty and unused in Cursor rules - The
globs: []field is an empty array that doesn't filter anything - These fields were preventing proper rule activation with "Apply Manually" mode
- Removing them simplifies the rule configuration and ensures proper manual activation
Impact Analysis
Scope: Minimal
- Single file modified
- Only 2 lines removed
- No new code added
- Cursor IDE rules configuration only
Risk Level: MINIMAL
- No API changes
- No dependency changes
- No behavior changes to core system
- Backward compatible
- Rules still function correctly, just with different activation method
Breaking Changes: None
Testing Status
✅ npm validate: PASS (9 agents, 4 teams validated) ✅ npm lint: PASS (0 new errors from PR #648) ✅ File syntax: PASS (ESLint passes) ✅ Regressions: PASS (no core system impact) ✅ Diff verification: PASS (matches PR exactly)
Deployment Notes
- Ready for immediate merge
- No database migrations required
- No configuration changes needed
- Users will need to reference rules via
@<agent-name>in Cursor chat (as intended)
Git Information
Branch: tcorral:fix/cursor-rule-setup Base: bmad-code-org:main Commits: 2 Files Changed: 1 Additions: 0 Deletions: 2
Status: ✅ READY FOR PRODUCTION Recommendation: APPROVE AND MERGE