From claude-helper
You are creating a new Claude Code skill. Follow all phases sequentially — do not skip any phase.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-helper:create-skillThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are creating a new Claude Code skill. Follow all phases sequentially — do not skip any phase.
You are creating a new Claude Code skill. Follow all phases sequentially — do not skip any phase.
For detailed examples, templates, best practices, and validation criteria, refer to skill-guide.md.
Creating skill: $1 Purpose: $2
If no arguments provided, use AskUserQuestion to ask:
Then use AskUserQuestion to determine:
Skill type:
/ menu. No workflow needed.Scope:
.claude/skills/ in current project~/.claude/skills/ for all projects<plugin-root>/skills/ inside a plugin repositoryIf Plugin-level scope is selected, run the following detection logic:
.claude-plugin/marketplace.json
pluginRoot, list plugin subdirectories under pluginRoot.claude-plugin/plugin.json to get plugin name.claude-plugin/plugin.json
plugin.json for plugin nameGatekeeping: Confirm requirements summary with user before proceeding.
Skip this phase for knowledge/reference and background context skills (they don't interact).
For task/workflow skills, have a conversation with the user about HOW the skill should engage. Use AskUserQuestion to explore:
The outcome is NOT a template level — it's an understanding of the skill's engagement personality that you'll weave into the prompt at appropriate points. Some steps may need deep exploration, others just execution. Interactiveness happens where it adds value, not at predefined gates.
See engagement design guidance in skill-guide.md.
Work through these decisions (use AskUserQuestion where user input needed):
Supporting files:
scripts/) — executable bash/python filesreferences/) — documentation, examples, API specsassets/) — templates, config files${CLAUDE_PLUGIN_ROOT} to reference shared plugin resources outside the skill directoryInvocation control:
user-invocable: true, default) — triggered via /skill-nameuser-invocable: false) — Claude auto-invokes based on descriptiondisable-model-invocation: true) — only user can triggerExecution context:
context: fork) — runs in isolated subagent context
agent field: Explore, Plan, or general-purposeTool restrictions:
allowed-tools: Read, Grep, Globallowed-tools: Bash(git:*)allowed-toolsHooks: Determine if skill needs lifecycle hooks (pre/post tool execution).
Domain knowledge: Use Context7 MCP to fetch library/API documentation if the skill's domain requires it.
Input data (if skill consumes structured data):
assets/ for validation or as templates?Output artifacts (for generator/builder skills):
Gatekeeping: Present architecture summary to user for approval before drafting.
Create the skill files:
Write SKILL.md with:
[link text](file.md)) for any supporting documentation / references / templates${CLAUDE_SKILL_DIR} for referencing bundled scripts<plugin-root>/skills/<skill-name>/SKILL.mdAdapt structure to skill type:
assets/. Consider schema-driven generation (a manifest file controls what gets produced). Include scaffold → fill → cross-validate phases. Support both structured data (YAML, JSON, CSV) and prose (markdown) outputs as appropriate.Create supporting files as determined in Phase 3
Follow constraints:
references/MANDATORY: Use AskUserQuestion to show user the complete draft:
Review against validation criteria in skill-guide.md.
Apply prompt engineering best practices:
Iterate based on user feedback. Only proceed after user approves.
.claude/skills/<skill-name>/SKILL.md~/.claude/skills/<skill-name>/SKILL.md<plugin-root>/skills/<skill-name>/SKILL.mdscripts/Remind user to:
/help to verify skill appearscontext: fork skills: verify subagent executionclaude --plugin-dir <plugin-root> and invoke as /plugin-name:skill-namenpx claudepluginhub filipowm/claude-plugins --plugin claude-helperCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.