Skip to main content

builtin_dir

Function builtin_dir 

Source
pub fn builtin_dir() -> PathBuf
Expand description

Returns the primary builtin-skills directory, honouring UAR_BUILTIN_SKILLS_DIR.

Kept for backward compatibility with any external callers/tests that depended on the raw path; discover_builtin_skills uses pack_detection::resolve_skill_pack_root internally, which applies the full §6.2 precedence (this function only reflects level 1’s env var and level 4’s embedded-submodule floor, matching this function’s pre-CH-16 behavior exactly).