pub struct Skill {
pub name: String,
pub description: String,
pub file_path: PathBuf,
pub base_dir: PathBuf,
pub disable_model_invocation: bool,
pub source: SkillSource,
}Expand description
One loaded skill.
Fields§
§name: StringValidated name (lowercase a-z, 0-9, hyphens only; ≤64 chars).
description: StringValidated description (non-empty; ≤1024 chars).
file_path: PathBufAbsolute path to the markdown file. Sent to the LLM as <location>.
base_dir: PathBufParent directory of file_path. Relative paths in the body resolve against this.
disable_model_invocation: boolWhen true, omitted from <available_skills> and only invokable via /skill:<name>.
source: SkillSourceSource bucket for diagnostics.
Trait Implementations§
impl Eq for Skill
impl StructuralPartialEq for Skill
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.