https://docs.cursor.com/context/rules#creating-a-rule
Now, I think the specification as below.
Specification for Cursor rule type
---
root: true | false # Required: Rule level (true for overview, false for details)
targets: ["*"] # Required: Target tools (* = all, or specific tools)
description: "Brief description" # Required: Rule description
globs: "**/*.ts,**/*.js" # Required: File patterns (comma-separated or empty string)
+cursorRuleType: always | autoAttached | agentRequested | Manual # Optional: Specify Cursor rule type
---
If cursorRuleType doesn't exists, rulesync default rules following root key apply.
https://docs.cursor.com/context/rules#creating-a-rule
Now, I think the specification as below.
Specification for Cursor rule type
If
cursorRuleTypedoesn't exists, rulesync default rules followingrootkey apply.