← All rules

CTX-S005: Invalid frontmatter in a rule or instruction file

warning · deterministic · autofix: safe · beta

Why it matters

Tools may ignore the file or apply it with the wrong scope.

How to fix

Fix the frontmatter so it parses as YAML with the fields the tool expects.

Source

https://cursor.com/docs/context/rules

Measured precision

1 findings in 1 of 210 benchmark repositories. 0 of 1 reviewed findings false. With fewer than 30 findings the rate is not yet established (95% upper bound 79%).

Suppress

<!-- ctx-ignore CTX-S005: reason -->