Skip to main content

Module structural

Module structural 

Source
Expand description

Structural rules: schema / frontmatter / required-section validation. Range: AIL001 – AIL099.

Re-exports§

pub use broken_local_link::BrokenLocalLinkRule;
pub use empty_file::EmptyFileRule;
pub use frontmatter_schema::FrontmatterSchemaRule;
pub use malformed_yaml::MalformedYamlRule;
pub use mcp_schema::McpSchemaValidationRule;
pub use required_section::MissingRequiredSectionRule;

Modules§

broken_local_link
AIL040 broken-local-link — a relative link in a Markdown document points at a file that does not exist on disk.
empty_file
AIL002 instructions-file-empty — file is empty or whitespace only.
frontmatter_schema
AIL001 no-frontmatter-schema-error — YAML frontmatter fails to parse.
malformed_yaml
AIL041 malformed-yaml — a .yaml / .yml file failed to parse.
mcp_schema
AIL004 mcp-schema-validation — MCP server config schema check.
required_section
AIL003 missing-required-section — required top-level heading is missing.

Constants§

AIL001
AIL001: frontmatter fails the schema expected for its file type.
AIL002
AIL002: guidance file is empty or whitespace-only.
AIL003
AIL003: a section required for this file type is missing.
AIL004
AIL004: MCP server config file fails the minimum schema.
AIL040
AIL040: relative link points at a file that does not exist.
AIL041
AIL041: YAML file (or frontmatter) fails to parse.

Functions§

all_rules
All structural rules, in registration order.