pub struct Skill {
pub name: String,
pub scope: SkillScope,
pub description: String,
pub when_to_use: Option<String>,
pub path: PathBuf,
pub disable_model_invocation: bool,
pub user_invocable: bool,
}Expand description
One discovered skill.
Fields§
§name: StringSlug-normalized identity (ADR-0025 §2).
scope: SkillScopeWhich tier it came from, and its collision qualifier.
description: StringThe router text shown in the listing.
when_to_use: Option<String>Optional trigger phrasing, rendered as a separate Use when: line.
path: PathBufAbsolute path to the SKILL.md — this is the invocation mechanism
(ADR-0025 §4: the model reads it).
disable_model_invocation: booltrue ⇒ never listed, so the model never learns it exists.
user_invocable: boolParsed and carried; no observable effect until slash invocation exists.
Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.