Expand description
The skills module: every skill as a proven capability, derived.
The module is skills and not skill because skill is the declarative kind of the
files under .ai/repo/skills/, whose resources are majordomus://skill/<id>, and the
registry composes modules and kinds into one namespace.
Every capability here reads crate::skill::Skills, built on demand from the index and the
evidence ledger. There is no second catalogue: the skills are the index’s objects of kind
skill, and what this module adds is what the repository can show about each — tested,
documented, enforced, used — and the findings when it cannot. All three are read-only.
use majordomus_cli::capability::builtin::skills;
let m = skills::module();
let ids: Vec<&str> = m.capabilities.iter().map(|e| e.capability.id.as_str()).collect();
assert_eq!(ids, ["skills.status", "skills.explain", "skills.verify"]);Structs§
- Skill
Explain Input - Which skill to explain, by its id. An id the repository does not hold is a refusal naming what was looked for, never an empty answer.
- Skill
Status List - Every skill with its derived standing, and how many stand where: what
majordomus skills status,GET /api/v1/skillsand themajordomus_skillstool answer. - Skill
Verification - The verdict over every skill: valid when no finding refuses.
Constants§
- SKILLS_
URI - The URI under which every skill, derived, is read as an MCP resource.
Functions§
- module
- The module the registry composes: three read-only capabilities over one derivation, each declared once here and projected to the command line, HTTP, MCP and OpenAPI.