pub struct SkillFrontmatter {
pub name: String,
pub description: String,
pub version: Option<String>,
pub allowed_tools: Option<Vec<String>>,
pub dependencies: Option<Value>,
}Expand description
Frontmatter structure for SKILL.md files
This struct represents the YAML frontmatter that must be present in every SKILL.md file. It defines the skill’s metadata and configuration.
Fields§
§name: StringHuman-readable name of the skill
description: StringDescription of what the skill does
version: Option<String>Optional version identifier
allowed_tools: Option<Vec<String>>Optional list of tools the skill is allowed to use
dependencies: Option<Value>Optional dependencies on other resources
Trait Implementations§
Source§impl Clone for SkillFrontmatter
impl Clone for SkillFrontmatter
Source§fn clone(&self) -> SkillFrontmatter
fn clone(&self) -> SkillFrontmatter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillFrontmatter
impl Debug for SkillFrontmatter
Source§impl<'de> Deserialize<'de> for SkillFrontmatter
impl<'de> Deserialize<'de> for SkillFrontmatter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SkillFrontmatter
impl RefUnwindSafe for SkillFrontmatter
impl Send for SkillFrontmatter
impl Sync for SkillFrontmatter
impl Unpin for SkillFrontmatter
impl UnwindSafe for SkillFrontmatter
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