Skip to main content

mur_common/skill/
mod.rs

1//! MuR skill ecosystem — see `docs/superpowers/specs/2026-05-24-mur-skill-ecosystem-design.md`.
2
3pub mod aggregator;
4pub mod capability;
5pub mod constraint;
6pub mod credit;
7pub mod event_log;
8pub mod evolution;
9pub mod gene;
10pub mod hash;
11pub mod inventory;
12pub mod lifecycle;
13pub mod loader;
14pub mod local;
15pub mod lockfile;
16pub mod manifest;
17pub mod mcp;
18pub mod parser;
19pub mod peers;
20pub mod registry;
21pub mod resolve;
22pub mod scan;
23pub mod sign;
24pub mod stats;
25pub mod store;
26pub mod types;
27pub mod validate;
28pub mod version;
29
30pub use capability::{Capability, CapabilityViolation, allowed_for, check_capabilities};
31pub use constraint::{Constraint, ConstraintError};
32pub use credit::{CreditEntry, CreditEvidence, CreditKind};
33pub use event_log::{
34    SkillEvent, append_event, apply_new_events_to_stats, event_log_path, parse_events_jsonl,
35    read_events, resolve_manifest_lww, union_events,
36};
37pub use evolution::EvolutionEvent;
38pub use gene::{GeneDiff, McpGene, SkillGene, StepGene, TriggerGene};
39pub use hash::{
40    DriftStatus, content_hash_for_trust, content_sha256, ct_eq_hex, drift_status, sha256_hex,
41};
42pub use inventory::McpInventory;
43pub use lifecycle::{
44    calculate_decay, half_life_days, next_state, on_promotion, transition_allowed,
45};
46pub use loader::{LoadedSkill, SkillScope, load_all};
47pub use lockfile::{LockfileError, SkillLock};
48pub use manifest::*;
49pub use mcp::{McpRequirement, ParseCapabilityError, SkillCapability, validate_requirements};
50pub use parser::{
51    ParseError, parse_canonical, parse_legacy_markdown, parse_markdown, serialize_canonical,
52    serialize_markdown, yaml_to_markdown,
53};
54pub use resolve::{Resolution, resolve_step};
55pub use sign::{SKILL_PAYLOAD_TYPE, SignError, sign_manifest, verify_manifest};
56pub use stats::{LifecycleState, SkillStats};
57pub use store::{StoreError, agent_skill_dir, global_skill_dir, read_from_dir, write_to_dir};
58pub use types::*;
59pub use validate::{ValidationError, validate};
60pub use version::{SKILL_MANIFEST_SCHEMA_VERSION, is_supported};