pub enum Capability {
Consumer,
Setup,
}Expand description
Which generated skill a given artifact carries.
Consumer is the read-only surface (list/status/context/switch);
Setup is the mutating surface (add/remove/edit/workspace …).
Wholly-owned-file agents (Claude, Cursor) receive one artifact per
capability; flat-file agents inline both capabilities into a single block.
Variants§
Consumer
The read-only consumer skill (repograph).
Setup
The mutating registry-management skill (repograph-setup).
Implementations§
Source§impl Capability
impl Capability
Sourcepub const fn skill_name(self) -> &'static str
pub const fn skill_name(self) -> &'static str
The skill name (and frontmatter name:) for this capability.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 moreimpl Copy for Capability
Source§impl Debug for Capability
impl Debug for Capability
impl Eq for Capability
Source§impl Hash for Capability
impl Hash for Capability
Source§impl PartialEq for Capability
impl PartialEq for Capability
Source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Capability
impl Serialize for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
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