skills/mp-skill-audit/SKILL.md
Audit all active skills for consistency, convention drift, and common issues. Auto-fixes where possible, reports remaining issues. Use when: "audit skills", "skill audit", "check skills", "lint skills"
npx skillsauth add MartinoPolo/mpx-claude-code mp-skill-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scan all active skills for consistency and convention drift. Auto-fix mechanical issues, report findings.
When invoked from mp-skill-create, pass the single skill path as $ARGUMENTS.
Glob for skills/*/SKILL.md. Exclude skills/deprecated/.
If $ARGUMENTS is a skill name or path, audit only that skill.
Spawn parallel Sonnet sub-agents, each auditing 3-5 skills. Each agent runs all 8 checks against each skill and returns findings.
Scan for negative phrasing patterns: "do not", "don't", "never", "must not", "cannot", "avoid".
For each match, evaluate: is there a clear positive reframing? If yes → auto-fix. If the negative guards against an irreversible or genuinely surprising constraint → keep it and note as acceptable.
Count lines. Flag if over 200. Suggest content to move to REFERENCE.md.
Required fields: name, description, allowed-tools, metadata.author, metadata.version, metadata.category.
Valid categories: planning, execution, git-workflow, utility, setup, project-management, issue-management, code-quality.
Flag missing or invalid fields. Auto-fix category casing.
Description must contain Use when: followed by quoted trigger phrases.
Flag if missing. Suggest triggers based on the skill name and content.
Scan for: REQUIREMENTS.md, VOCABULARY.md, ARCHITECTURE.md, legacy, (legacy), fall back.
Flag any references to the old documentation system. Auto-fix by replacing with CONTEXT.md/DECISIONS.md equivalents.
If skill uses Agent in allowed-tools, verify the body names exact agent types.
If skill uses Bash(gh *), verify exact gh commands are shown.
Flag implicit or missing tool references.
Applies only to skills that write to .mpx/CONTEXT.md § Domain Language (currently: mp-grill, mp-vocabulary, mp-harvest-decisions).
Verify the skill requires user confirmation with full proposed text before writing terms. Flag if missing.
Compare the description field to the skill body. Flag if the description claims capabilities the body doesn't implement, or if the body does things the description doesn't mention.
Apply fixes for mechanical issues:
Bump version patch number for each skill that gets auto-fixed.
Output a summary table:
Skill | Issues | Auto-fixed | Remaining
-----------------------|--------|------------|----------
mp-grill | 2 | 2 | 0
mp-to-prd | 1 | 0 | 1
...
Then list remaining issues that need human attention, grouped by skill:
mp-to-prd:
- [Check 8] Description says "from passed requirements" but skill reads CONTEXT.md
testing
Ship finished work: sync base, commit, push, PR, wait for CI green, merge. Use when: "ship it", "ship and merge", "ship this"
development
Scan recent Claude Code sessions for grilling/design discussions, extract decisions, and update CONTEXT.md + DECISIONS.md. Use when: "harvest decisions", "extract decisions from sessions", "update docs from sessions", "sync decisions"
tools
Consolidate CONTEXT.md: remove duplicates, outdated items, tighten language. Use when: "consolidate context", "clean up context", "simplify context", "consolidate requirements"
tools
Consolidate CONTEXT.md (or legacy REQUIREMENTS.md): remove duplicates, outdated items, tighten language. Use when: "consolidate requirements", "clean up requirements", "consolidate context", "simplify context".