pub struct SkillAuthor { /* private fields */ }Expand description
Skill authoring operations
Implementations§
Source§impl SkillAuthor
impl SkillAuthor
pub fn new(workspace_root: PathBuf) -> Self
Sourcepub fn create_skill(
&self,
skill_name: &str,
output_dir: Option<PathBuf>,
) -> Result<PathBuf>
pub fn create_skill( &self, skill_name: &str, output_dir: Option<PathBuf>, ) -> Result<PathBuf>
Create a new skill from template
Sourcepub fn validate_skill(&self, skill_dir: &Path) -> Result<ValidationReport>
pub fn validate_skill(&self, skill_dir: &Path) -> Result<ValidationReport>
Validate a skill following the Agent Skills specification
Auto Trait Implementations§
impl Freeze for SkillAuthor
impl RefUnwindSafe for SkillAuthor
impl Send for SkillAuthor
impl Sync for SkillAuthor
impl Unpin for SkillAuthor
impl UnsafeUnpin for SkillAuthor
impl UnwindSafe for SkillAuthor
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