From scaffold
Interview the user, then author a new Claude Code skill into their personal config repo (skills/<name>/SKILL.md). Use when the user says "add a skill", "create a skill", "build me a skill for X", "/add-skill", or describes a repeatable workflow they want Claude to run on command. Asks targeted questions first so the skill's description and trigger are specific, not vague.
How this skill is triggered — by the user, by Claude, or both
Slash command
/scaffold:add-skillThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Author a new skill into the user's config repo (the one scaffolded by
Author a new skill into the user's config repo (the one scaffolded by
/scaffold-config, default ~/claude-config). Skills are verbs the main
session performs — repeatable workflows Claude follows with its own tools.
Resolve in order: $CLAUDE_CONFIG_REPO, then ~/claude-config, then ask. If no
skills/ dir exists there, suggest running /scaffold-config first.
Use AskUserQuestion for the choices, plain questions for free text. Get:
write-pr, tidy-note, release).
Confirm it matches the [a-z0-9-]+ convention and isn't already taken."draft a PR", "/write-pr", "after finishing a feature"). These become the
description, which is what actually fires the skill — make it specific and
example-rich.Write skills/<name>/SKILL.md with frontmatter name (== folder) and
description (the triggers, written so they match). Body: numbered workflow
steps, a ## Rules section for guardrails, and any examples. Drop helper files
alongside if useful. Keep it under ~150 lines — long skills lose adherence.
Skill body structure to follow:
---
name: <name>
description: <what it does> Use when the user says "<trigger>", "/<name>", or <situation>. <key qualifiers>.
---
# <name>
<one-paragraph purpose>
## Steps
1. ...
## Rules
- ...
bash <repo>/bootstrap.sh validate.skills/ directory symlink (if bootstrap has run
before) — tell the user to start a new session to pick it up, or run
./bootstrap.sh if this is a brand-new repo.user-CLAUDE.md's "Skills I prefer" list.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub markusjohansen/mj-plugins --plugin scaffold