skills/mp-skill-create/SKILL.md
Create new Claude Code skills with structured conventions, progressive disclosure, and review checklist. Use when: "create skill", "new skill", "write a skill", "skill create"
npx skillsauth add MartinoPolo/mpx-claude-code mp-skill-createInstall 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.
Create a new Claude Code skill following project conventions.
claude-code-guide agent to get latest skill authoring docs/mp-skill-audit on the new skill to catch convention driftSpawn a claude-code-guide agent (subagent_type: claude-code-guide) with the prompt:
"What are the latest Claude Code guidelines for authoring custom skills (slash commands)? Include frontmatter fields, file structure, description rules, tool allowlists, size limits, and any best practices."
Store the returned guidelines for use in Step 4.
Ask all of the following in a single numbered list (one round-trip):
If $ARGUMENTS provided, use as initial skill name/description and ask only the unanswered questions.
Create the skill directory and files:
skills/<skill-name>/
├── SKILL.md # Main instructions (required)
├── REFERENCE.md # Detailed docs (if >200 lines or distinct domain)
├── EXAMPLES.md # Usage examples (if needed)
└── scripts/ # Utility scripts (if needed)
└── helper.js
Frontmatter:
---
name: <skill-name>
description: '<What it does in third person>. Use when: "<trigger phrases>"'
argument-hint: "[argument description]"
allowed-tools: <comma-separated tool list>
metadata:
author: MartinoPolo
version: "0.1"
category: <planning|execution|git-workflow|utility|setup>
---
Description rules:
Use when: "trigger1", "trigger2", "trigger3"Body structure:
Instruction style — prefer positive:
Explicit tool references (mandatory):
allowed-tools must include Agent if the skill spawns sub-agentsmp-issue-analyzer sub-agent")gh command (e.g., gh issue create, gh pr create)model when spawning agents that define their own model in frontmattergh CLI for all GitHub operationsSize rules:
[details](REFERENCE.md)Compare the drafted skill against the guidelines fetched in Step 1:
For each mismatch found:
If the guidelines suggest improvements beyond what this skill's conventions cover, note them as optional suggestions for the user.
Run mp-skill-audit against the newly created skill to catch convention drift:
Spawn a sub-agent with the prompt: "Run
/mp-skill-audit skills/<skill-name>/SKILL.md"
Apply any auto-fixes. Note remaining issues for user review in Step 6.
Present the drafted skill and walk through:
Ask the user for feedback. Iterate until approved.
Before finalizing, verify:
gh commands, script paths)development
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"
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"