Skip to content

Fix specify-rules.mdc format for Cursor IDE #669

@jereimers

Description

@jereimers

The generated specify-rules.mdc file does not follow Cursor project rules formatting guidelines. Without the cursor-rules header, the rule type defaults to "manual", meaning that agent chats won't have the top-level rule included in their contexts unless the user manually includes this.

It's possible the integration with Cursor could get better with smarter use of their rule-types (imagine auto-including test-related rules when a *-test.js file is added to chat).

In any case, the fix is easy enough that I think it should be included in the next release. Just prepend the specify-rules.mdc with a header like this:

---
description: Project Development Guidelines
globs: ["**/*"]
alwaysApply: true
---

Metadata

Metadata

Assignees

Labels

templatesRelated to template definition and not the CLI.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions