As a member of a large organization who uses Cursor, and is a maintainer of Rules that are used by many users, I would like to have metrics, just like tab/autocomplete metrics, to know how and when Rules are used. Currently, we are limited to the settings panel to understand how and if the rules are detected and used by Cursor, but in large multi-language monorepos, it’s difficult, if not impossible, to gain insight after their inception.
For example, one possible view of the data
rule name | rule use count (monthly) | rule method | pattern |
---|---|---|---|
kotlin-standards.mdc | 1234 | always | * |
kotlin-unit-testing.mdc | 123 | auto attach | tests/**.kt |
rule-needing-refinement.mdc | 1 | manual | why-is-there-a-glob-here |
A question I would like to be to answer is, e.g., what is the total number of rules applied by method? This would be useful to gain insight into where I, and my team, needs to spend our time.