pub struct Skill {
pub name: String,
pub description: String,
pub file_path: PathBuf,
pub base_dir: PathBuf,
pub disable_model_invocation: bool,
}Expand description
A loaded skill with metadata.
Fields§
§name: StringDisplay name (from frontmatter or filename).
description: StringShort description (from frontmatter).
file_path: PathBufAbsolute path to the SKILL.md file.
base_dir: PathBufBase directory for resolving relative paths in the skill.
disable_model_invocation: boolWhether the model should not auto-invoke this skill.
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