Skip to main content

expand_rule

Function expand_rule 

Source
pub fn expand_rule(root: &Path, rule: &Rule) -> Result<Vec<ExpandedItem>>
Expand description

Expand a single rule into its constituent items by reading source files.

  • Skill / Agent: produces one item (single file).
  • SkillSet / AgentSet: produces N items (one per source file in the directory).