pub struct Skill {
pub name: String,
pub description: String,
pub allowed_tools: Vec<String>,
pub body: String,
pub dir: PathBuf,
}Expand description
One installed skill.
Fields§
§name: StringUnique skill name (from frontmatter, else the folder name).
description: StringOne-line description — the cheap layer the conductor plans over.
allowed_tools: Vec<String>Tools the skill declares it may use (optional; advisory).
body: StringThe instruction body injected into a worker’s prompt for an attached node.
dir: PathBufThe skill’s directory (for resolving any bundled scripts).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Skill
impl Freeze for Skill
impl Move 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