pub struct BundledSkill {
pub name: &'static str,
pub body: &'static str,
}Expand description
A compile-time bundled skill, embedded into the binary via
include_str!. Downstream binaries (e.g. kglite-mcp-server)
construct these for their custom tools; the framework constructs
them for its own (grep, read_source, etc.).
Bundled skills sit at the bottom of the three-layer composition — project and root-layer entries override them when names collide.
Fields§
§name: &'static strSkill name. Must match the name field in the markdown
frontmatter. Used as the lookup key in prompts/get.
body: &'static strThe full SKILL.md content — frontmatter + body. Parsed at
Registry::add_bundled time; malformed bundled skills are
errors (caught by the framework’s CI tests), not warnings.
Trait Implementations§
Source§impl Clone for BundledSkill
impl Clone for BundledSkill
Source§fn clone(&self) -> BundledSkill
fn clone(&self) -> BundledSkill
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BundledSkill
impl RefUnwindSafe for BundledSkill
impl Send for BundledSkill
impl Sync for BundledSkill
impl Unpin for BundledSkill
impl UnsafeUnpin for BundledSkill
impl UnwindSafe for BundledSkill
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