pub trait Skill: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn brief_description(&self) -> String;
fn detailed_description(&self) -> String;
fn tools(&self) -> Vec<Arc<dyn Tool>>;
// Provided methods
fn version(&self) -> &'static str { ... }
fn tags(&self) -> &[&'static str] { ... }
fn author(&self) -> &'static str { ... }
}Expand description
Skill - a reusable capability unit
Each Skill declares:
- Brief description (resident in system prompt)
- Detailed description (loaded on demand)
- Tool collection (auto-registered)