Skip to main content

Module parser

Module parser 

Source
Expand description

Parsers for each supported guidance format.

Modules§

json
JSON parsing for guidance files that store rules as JSON.
markdown
Markdown parsing via pulldown-cmark.
source_comments
Synthesize a MarkdownDoc from source-code comments so prose-oriented rules (bloat, vague instruction, negative overload) can run against them without change.
yaml
YAML parsing for guidance files that store rules as YAML (e.g. Cursor rules, Windsurf rules).

Structs§

ParsedDocument
A parsed guidance document — the input to the rule engine.

Enums§

DocumentContent
Format-specific parsed representation for a document.

Functions§

parse
Read and parse a guidance file according to its detected type.