/meta:create-skill [what the skill does]from meta
Create or edit skill in xve-claude-marketplace repo (plugins/*/skills/*/SKILL.md) with its plugin.json, marketplace.json entry and README row. Use when asked to add, write, scaffold or rewrite skill for this marketplace; use instead of generic skill-creator here. Not for other repos.
Ships in meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Every skill file written is read by LLM, never skimmed by human. Optimize comprehension per token.
Root = nearest ancestor of cwd holding .claude-plugin/marketplace.json named xve-claude-marketplace. No root -> ask for clone path; write nowhere else.
Layout: plugins/<plugin>/skills/<skill>/SKILL.md; bundled files sit beside SKILL.md in scripts/ (executables), references/ (docs loaded on demand), assets/ (templates, fonts, icons). File named exactly SKILL.md, case-sensitive. Never README.md inside skill directory because docs belong in SKILL.md or references/. One skill per directory. Directory name = frontmatter name = lowercase letters, digits, hyphens, at most 64 characters. name never contains anthropic or claude because claude.ai and Skills API reject those; never repeats plugin name (invocation is /<plugin>:<skill>).
Unknown purpose, trigger, target plugin, or side effects -> ask, only what request and repo leave open. Discrete choice -> AskUserQuestion, recommended option first. Request states it -> never ask.
Before writing: read target plugin's existing skills and plugin.json. Topic fits existing plugin -> add there. No fit -> new plugin named by lowercase hyphenated topic noun.
Editing existing skill: read it whole first; change only what request names; never restyle untouched lines.
New skill in existing plugin touches: SKILL.md; plugin.json version (minor bump); marketplace.json entry version (equal to plugin.json); every description or README row enumerating plugin's skills.
Edit to existing skill touches: SKILL.md; patch bump in both version fields; enumerations only if edit changes what they say. Rename or removal of skill: minor bump; old name scrubbed from every enumeration, README row and cross-reference.
New plugin touches: plugins/<plugin>/.claude-plugin/plugin.json; SKILL.md; marketplace.json entry appended last in plugins[]; README table row appended; README claude plugin install <plugin>@xve-claude-marketplace line appended after last install line.
plugin.json fields exactly: name, description, version (new plugin 0.1.0), author {"name": "XVE"}. marketplace.json entry fields exactly: name, source ./plugins/<plugin>, description (identical to plugin.json), version (identical), author, tags (1 to 3 lowercase words). No other fields. JSON indented 4 spaces, final newline.
README is only human-facing file: plain prose, existing row style, no hype. Everything else follows SKILL.md rules below.
Frontmatter: --- is line 1, closed by ---. Invalid YAML drops every field silently. Field names exact and hyphenated. Never invent field names because unknown names are ignored silently. Valid: name, description, when_to_use, argument-hint, arguments, disable-model-invocation, user-invocable, allowed-tools, disallowed-tools, model, effort, context, agent, background, hooks, paths, shell. Set only fields skill needs; default pair is name and description. No < or > in any frontmatter value because frontmatter enters system prompt as injection path, and claude.ai and Skills API reject it.
description: starts with what skill does, then trigger phrases user says. Third person, no "I" or "you". Never summarizes body. Target under 300 characters; cap 1,024 because claude.ai and Skills API reject longer; Claude Code alone allows 1,536 shared with when_to_use. Name concrete nouns and verbs of task because routing sees only descriptions. Another skill overlaps -> end with Not for X; use Y.
Skill deletes, overwrites, pushes, deploys, sends, or spends -> disable-model-invocation: true. Skill only helps Claude, never user -> user-invocable: false. allowed-tools lists only tools skill's own commands need, never destructive command because permission prompt is its guard; grant ends at next user message.
Skill takes input -> set argument-hint; reference input with arguments placeholder ($ immediately followed by ARGUMENTS), indexed placeholder ($ plus digit), or named arguments. No placeholder -> harness appends ARGUMENTS: <value>.
Body cap 500 lines, target under 60 non-blank lines, because body stays in context all session after load. Hardest rules first because compaction keeps only first 5,000 tokens.
Body form, this file is reference: one rule per line, no hard wrapping, related constraints joined by semicolons when they fit one line. Never use bullets, numbered or ordered lists, tables, headings, bold, or blockquotes. Never use step, phase, workflow, option, menu, or checklist framing; skill is rules, not playbook.
Order-dependent actions: state as Before X: Y. or After X: Y. lines; never number them.
Flow with two or more decision points, or any node reached by more than one edge -> one ```mermaid fenced flowchart replacing those prose lines, never both. Single condition -> action and fan-out without rejoin stay lines. Never ASCII art.
Diagram nodes name literal tools, files, commands, states; edges carry conditions; labels holding $ { } / : ( ) , go in ["..."]; never angle brackets or double quotes inside labels; command strings needing quotes stay prose lines that diagram nodes name.
Wording: drop articles, filler, hedges, pleasantries, intros, outros, persona lines, restatements of description. Never use should, could, may, might, can, consider, try, prefer (as soft advice), please, you. Use imperatives, Never, Always, Must, condition -> action. Every rule checkable: pass or fail decidable from output alone.
Precision: name exact tools, flags, paths, field names, literal strings in backticks. Never write vague references like "relevant file". Define term once; never alias it. State positive action; negate only for hard prohibitions.
Reasons: only when rule's edge-case behavior depends on it; one trailing clause starting because. Examples: only when exact output format needs one to be stated; then literal output alone.
Body over 60 non-blank lines: move conditional detail to file in references/; add rule Before <trigger>: read <skill dir path>/<file>, path written as in scripts rule. Reference files follow same form rules; link only from SKILL.md, never from another reference file; over 100 lines -> open with one line naming every section, because partial reads stop near line 100.
Before changing frontmatter, layout, or limit rules: read ${CLAUDE_SKILL_DIR}/references/sources.md.
Scripts: bundled paths are $ immediately followed by {CLAUDE_SKILL_DIR}, then /<file>, forward slashes on every OS; harness substitutes it before model reads body. Needed on Windows and POSIX -> ship .ps1 and .sh with identical output, pick by OS.
Check with code-decidable outcome (format, count, existence, equality) -> bundled script, never prose, because code is deterministic and language interpretation is not.
In new skill write placeholders and CLAUDE_SKILL_DIR paths joined, as single literal token. This body splits them only because harness substitutes it at load; never copy that split.
Never use inline shell injection (bang before backticked command) unless output needed on every invocation, because harness runs it at load. Any non-zero exit aborts whole skill; append || true when failure tolerable.
Before finishing: run claude plugin validate <root>; fix every error. Confirm both JSON files parse, plugin.json and marketplace.json versions equal, SKILL.md line 1 is ---, name at most 64 characters, description under 1,024, new SKILL.md after closing --- has zero lines outside fenced blocks starting with -, *, |, #, or digits followed by ..
Then report in at most 3 lines: files written, invocation /<plugin>:<skill>, new version. Never commit unless asked.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub xve-bv/claude-marketplace --plugin meta