pub struct Skill {
pub name: String,
pub description: String,
pub triggers: Vec<String>,
pub body: String,
pub source_path: PathBuf,
}Expand description
A fully parsed skill with frontmatter metadata and Markdown body.
Fields§
§name: StringUnique name identifier for the skill.
description: StringHuman-readable description of what the skill does.
triggers: Vec<String>Keywords or patterns that activate this skill.
body: StringMarkdown instructions (body content after frontmatter).
source_path: PathBufAbsolute path to the source SKILL.md file.
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