//! Skill loading, validation, system-prompt injection, and `/skill:`
//! expansion. See `docs/superpowers/specs/2026-05-18-capo-m4-design.md` §2.

pub mod expand;
pub mod inject;
pub mod loader;
pub mod types;
pub mod validate;

pub use inject::render_available_skills_xml;
pub use loader::{load_all, load_from_dir};
pub use types::{LoadSkillsResult, Skill, SkillDiagnostic, SkillSource};
pub use validate::{validate_description, validate_name, MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH};
