INNER CODE UNIT · Rust
qualified_name
ShurikenTrade/shuriken-skills · src/lib.rs:22
pub fn qualified_name(&self) -> String {
format!("{NAMESPACE}:{}", self.name)
}
}
static SKILLS: Lazy<Vec<Skill>> = Lazy::new(load_skills);
fn load_skills() -> Vec<Skill> {
let mut out = Vec::new();
for entry in SKILLS_DIR.dirs() {
// include_dir returns paths relative to the embedded root; look up SKILL.md inside each skill directory.
let skill_md_path = format!("{}/SKILL.md", entry.path().display());
let skill_md = match SKILLS_DIR.get_file(&skill_md_path) {
Some(f) => f,
None => continue, // directories without SKILL.md are ignored
};
let raw = skill_md