Claude-skill-registry-data mcaf-skill-curation
Create, update, and validate repository skills under your agent’s skills directory (Codex: `.codex/skills/`, Claude: `.claude/skills/`) so they match the real codebase and `AGENTS.md` rules; tune YAML `description` triggers, apply feedback, and generate `<available_skills>` metadata blocks.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/mcaf-skill-curation" ~/.claude/skills/majiayu000-claude-skill-registry-data-mcaf-skill-curation && rm -rf "$T"
manifest:
data/mcaf-skill-curation/SKILL.mdsource content
MCAF: Skill Curation
Outputs
- New/updated skill folders under your agent’s skills directory with valid
frontmatter and lean workflowsSKILL.md - Updated YAML
triggers for correct matchingdescription - A generated
block (metadata only) for your agent runtime<available_skills> - A validation report (script output)
Workflow
- Read the repo’s sources of truth:
(commands + hard rules)AGENTS.md
(modules/boundaries) if presentdocs/Architecture/Overview.md
- Inventory skills and identify drift:
- list all
under your skills directory (Codex:*/SKILL.md
, Claude Code:.codex/skills/*/SKILL.md
).claude/skills/*/SKILL.md - verify folder name == YAML
name - look for “template cruft” inside skill folders (README/INSTALL/CHANGELOG) and remove it
- list all
- Update skills to match reality (no guessing):
- ensure each skill references real commands (from
)AGENTS.md - ensure each skill’s YAML
includes trigger keywords that match how users ask for the taskdescription - ensure workflows reference real modules/boundaries (from architecture overview)
- ensure each skill references real commands (from
- Create new skills for repeated/fragile workflows:
- keep one workflow per skill (split mega-skills)
- copy the closest existing skill and adapt (folder/name, triggers, outputs, workflow)
- use
for deterministic or fragile stepsscripts/ - use
only for copy/paste templates and structured checklists (avoid “reading lists”)references/
- Validate skills (fix errors before shipping):
- run the bundled validator from the repo root:
python3 <skills-dir>/mcaf-skill-curation/scripts/validate_skills.py <skills-dir>- Codex:
python3 .codex/skills/mcaf-skill-curation/scripts/validate_skills.py .codex/skills - Claude:
python3 .claude/skills/mcaf-skill-curation/scripts/validate_skills.py .claude/skills
- run the bundled validator from the repo root:
- Generate a metadata-only skills block for your agent runtime:
- run the bundled generator from the repo root:
python3 <skills-dir>/mcaf-skill-curation/scripts/generate_available_skills.py <skills-dir> --absolute- Codex:
python3 .codex/skills/mcaf-skill-curation/scripts/generate_available_skills.py .codex/skills --absolute - Claude:
python3 .claude/skills/mcaf-skill-curation/scripts/generate_available_skills.py .claude/skills --absolute
- paste the output into your agent configuration (system/developer prompt)
- run the bundled generator from the repo root:
- When user feedback is about skills:
- update the relevant
(especially YAML<skills-dir>/<skill-name>/SKILL.md
triggers) so the fix is permanentdescription
- update the relevant
Bundled scripts
— validates frontmatter + folder/name rules and flags common spec violations.scripts/validate_skills.py
— prints anscripts/generate_available_skills.py
XML block from your skills directory<available_skills>
metadata.*/SKILL.md
Guardrails
- Don’t turn a skill into a wiki: keep
procedural and short.SKILL.md - Don’t add extra docs inside skill folders (
,README.md
,INSTALLATION_GUIDE.md
, etc.).CHANGELOG.md - Prefer updating triggers (
) over adding more and more body text.description - YAML is strict: if a value contains
or other YAML-significant characters, wrap it in quotes.:
Examples (trigger phrases)
- "update our skills to match the repo"
- "this skill triggers wrong, fix the description"
- "generate available_skills block"
- "validate skills frontmatter"