add descriptions and explicit empty globs in rule frontmatter#2
add descriptions and explicit empty globs in rule frontmatter#2randyoyarzabal wants to merge 5 commits intomainfrom
Conversation
devopsdina
left a comment
There was a problem hiding this comment.
Hmm, I am wondering how the brackets work here? I think it is supposed to be blank so it applies to all files (since we aren't specifying a pattern).
Glob patterns: Team Rules support glob patterns for file-scoped application. When a glob pattern is set (e.g., **/*.py), the rule only applies when matching files are in context. Rules without a glob pattern apply to every conversation.
Yeah, I saw. The reason I did that was following the cursor's recommendation to make it a valid YAML format. But based on the docs example, it's safe to drop this. I will remove the |
descriptionon each.mdcrule so Cursor can show clearer labels and match tasks to the right rule.globs: []for an explicit “no path filter” list and valid YAML.Changes
using-flags.mdcdescription: focus on flag evaluation;globs: []implementing-launchdarkly.mdcdescription: SDK setup/config;globs: []troubleshooting-launchdarkly.mdcdescription: SDK/flag debugging;globs: []Rule bodies unchanged.
How to verify
Open the repo in Cursor → Settings → Rules → confirm each project rule shows the new description.