Mk skill creator
Skill ngocsangyem/MeowKit/packages/mewkit/src/migrate/modules/cursor/root/.cursor/skills/mk-skill-creator
Production ready. AI Agent Workflow System for Claude Code
npx -y skills add ngocsangyem/MeowKit --skill mk-skill-creatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Creates new skills with proper structure, compliance checks, and registration. Enforces mk: prefix, sub-agents.md structure, and context-engineering principles. Use to scaffold a new skill.
SKILL.md
7.0 KB, as published. Nobody here has run it
Skill Creator
Create new skills with proper structure, compliance, and registration.
Path convention: Commands below assume cwd is
$(git rev-parse --show-toplevel)(project root). Prefix paths with"$(git rev-parse --show-toplevel)/"when invoking from subdirectories.
When to Use
- User asks to "create a skill", "build a new skill", "make a skill for [X]"
- Converting external skill for adoption
- Scaffolding a skill from a workflow pattern
Explicit: the skill-creator skill [name] [description]
Workflow Integration
Meta skill — not tied to a specific Phase. Invoked on-demand for skill development.
Scripts
Script-first approach — Python scripts handle scaffolding and validation. Codex reviews and fills in the content.
# Scaffold a new skill (creates directory + template SKILL.md)
.cursor/skills/.venv/bin/python3 .cursor/skills/skill-creator/scripts/init-skill.py mk:my-feature --path .cursor/skills
# Validate an existing skill against compliance checklist
.cursor/skills/.venv/bin/python3 .cursor/skills/skill-creator/scripts/validate-skill.py .cursor/skills/my-feature
Process
- Gather intent — what should the skill do? When should it trigger? What output format?
- Scaffold — run
init-skill.pyto create directory + template SKILL.md with TODO markers - Fill content — Codex completes each TODO section in the generated template
- Add references/ — if skill body would exceed ~100 lines, split into references
- Security boundaries — load
mk:skill-template-securetemplate for trust model if needed - Validate — run
validate-skill.pyto check compliance (8-point checklist) - Fix failures — if validation score < 7/8, fix failing items
- Register — add row to
SKILLS_ATTRIBUTION.md - Report — output creation summary
Required Sections in Generated SKILL.md
Every skill MUST have:
# Frontmatter
name: "{name}"
description: "{specific trigger keywords + what it does}"
If the name already exist then use with prefix mk:
# Frontmatter
name: mk:{name}
description: "{specific trigger keywords + what it does}"
## Overview — what + when (2-3 sentences)
## When to Use — auto-triggers + explicit syntax
## Process — numbered steps (not prose)
## Output Format — template with placeholders
## Failure Handling — per-failure table
## Workflow Integration — which Phase (0-6)
## Handoff Protocol — next agent + action
Compliance Evaluation
After generating, check:
-
mk:prefix in skill name - Workflow phase anchoring (Phase 0-6 stated)
- Handoff protocol (next agent specified)
- Output format uses template with placeholders
- Failure handling covers identified failure modes
- SKILL.md ≤ 500 lines (per
skill-authoring-rules.mdRule 3; overflow → references/ or step files) -
## Gotchassection present (per Rule 1 — mandatory, placeholder acceptable day-1) - No conflict with existing
.cursor/skills/rule-
Score: X/8 — PASS (≥7) / FAIL (<7)
If FAIL: fix failing items before registering.
Output Format
## Skill Created: mk:{name}
**Directory:** .cursor/skills/{name}/
**Files:** SKILL.md{, references/*.md}
**Compliance:** {X}/7 — {PASS|FAIL}
**Registered:** {yes|no — in SKILLS_ATTRIBUTION.md}
### Compliance Details
{checklist with ✓/✗ per item}
<!-- research-citation -->
Anthropic Skill-Building Lessons
- Skills are folders — use scripts/, references/, assets/, lib/ creatively. See
references/filesystem-patterns.md. - Gotchas = highest signal — every skill MUST have a
## Gotchassection. A day-1 placeholder is allowed; replace it as real failures emerge. - Progressive disclosure — SKILL.md stays under 500 lines per
skill-authoring-rules.mdRule 3. Details live in references/ loaded on-demand. Step-file skills (withworkflow.md) auto-pass. - Avoid railroading — describe outcomes, not step-by-step procedures. See
references/good-vs-bad-examples.md. - Description = trigger condition — must answer "When should I use this?" not "What does this do?" Start with "Use when..."
- On-demand hooks — skills can register session-scoped hooks in frontmatter for enforcement during execution.
- config.json for setup — if skill needs user-specific values, store in config.json. Agent asks on first use.
- Memory strategy — stateful skills should document what they persist and where.
- Don't state the obvious — only include knowledge that pushes Codex beyond its defaults.
- One skill type — classify using the 9-type taxonomy. See
references/skill-types.md.
Mandatory checklist before finalizing any skill
- Description starts with "Use when..." (trigger condition)
- Has
## Gotchassection header (Rule 1 — placeholder acceptable day-1; grow over time) - SKILL.md is under 500 lines (Rule 3 — or decomposed via references/ / step files)
- Steps are outcome-focused (no railroading)
- Uses filesystem beyond SKILL.md (or documents why not needed)
- Classified into one Anthropic skill type
- Persistent state (if any) writes to
${PLUGIN_DATA}, NOT skill directory (Rule 2)
References
- creation-workflow.md — Step 4: section-by-section guidance and examples
- skill-types.md — 9-type taxonomy with examples
- good-vs-bad-examples.md — writing descriptions, gotchas, and steps
- filesystem-patterns.md — when to use scripts/, references/, assets/, lib/, config.json
Failure Handling
| Failure | Recovery |
|---|---|
| Name missing mk: prefix | Auto-prepend and warn |
| Duplicate skill name | Suggest alternative or update existing |
| Compliance check fails | List failing items, fix before registering |
Gotchas
- Template must include
## Gotchasheader — even as a placeholder.skill-authoring-rules.mdRule 1 is hard-enforced byvalidate-skill.py. Day-1 skills may use(none yet — grow from observed failures)but the header itself is mandatory.
- Line cap is 500, not 150 — the canonical threshold comes from
skill-authoring-rules.mdRule 3 (Anthropic progressive-disclosure guidance). Step-file skills (withworkflow.md) auto-pass regardless of line count. - Persistent state goes to
${PLUGIN_DATA}, not skill directory — Rule 2 prevents data loss on plugin upgrade. framework-internal paths (.meowkit/memory/,session-state/) are exempt.