pub struct Skill {
pub name: String,
pub description: String,
pub triggers: Vec<String>,
pub priority: u32,
pub keywords: Vec<String>,
pub body: String,
pub path: Option<PathBuf>,
}Expand description
A loaded skill with parsed metadata and body.
Fields§
§name: String§description: String§triggers: Vec<String>Classification labels or intents that trigger this skill (push model).
priority: u32Higher priority wins when multiple skills match.
keywords: Vec<String>Keyword hints for disambiguation within same trigger group.
body: StringThe markdown body — procedural instructions + examples.
path: Option<PathBuf>Path to SKILL.md on disk (None for compiled-in skills).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more