Auto-discover all .md files under the rules directory, parse their YAML
frontmatter for metadata (scope, globs, description, tools), and return the
loaded rules sorted by name.
Each rule file must have YAML frontmatter delimited by --- lines at the
top of the file. Required fields: scope. Optional: description, globs,
tools.
Auto-discover all
.mdfiles under the rules directory, parse their YAML frontmatter for metadata (scope, globs, description, tools), and return the loaded rules sorted by name.Each rule file must have YAML frontmatter delimited by
---lines at the top of the file. Required fields:scope. Optional:description,globs,tools.