Skip to main content

Crate agent_rules

Crate agent_rules 

Source

Structs§

Issue
A validation issue found in a rules file.

Functions§

check_actionable
Check that agent instruction files contain actionable content.
check_tree_paths
Check that file paths referenced in “## Project Structure” blocks exist.
extract_tree_paths
Parse file paths from a “## Project Structure” tree block.
validate_actionable
Check that rules have imperative verbs indicating actionable directives.
validate_all
Run all validations on a single file’s content.
validate_line_budget
Check that the file does not exceed a line budget.
validate_no_local_paths
Check for machine-local paths that should not appear in shared rules.