pub struct Skill {
pub name: String,
pub description: String,
pub file_path: PathBuf,
pub base_dir: PathBuf,
pub source: String,
}Expand description
A loaded skill with its metadata.
Fields§
§name: StringSkill name (must match directory name, lowercase + hyphens)
description: StringDescription of what the skill does and when to use it
file_path: PathBufAbsolute path to SKILL.md
base_dir: PathBufAbsolute path to the skill directory
source: StringWhere this skill was loaded from (e.g. “workspace”, “global”, or a custom label)
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