skill-creator
Interactive skill builder: guides the user through defining a new skill as a structured SOP, then generates the SKILL.md and installs it.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Interactive skill builder: guides the user through defining a new skill as a structured SOP, then generates the SKILL.md and installs it.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactive agent builder: guides the user through defining a new agent as a behavioral spec, then generates the agent .md and installs it.
Cross-repo investigation: research planning issues, break down into sub-issues, generate ralph session prompts per repo.
Three-phase QA orchestrator: parallel scan, interactive triage, guided fix.
Interactive feature builder with subagent delegation and approval gates.
Interactive rule builder: guides the user through defining a new rule as a constraint doc, then generates the rule .md and installs it.
Review code changes for architectural issues — module boundaries, coupling, and dependency direction.
| name | skill-creator |
| description | Interactive skill builder: guides the user through defining a new skill as a structured SOP, then generates the SKILL.md and installs it. |
Build a new toolkit skill interactively. Each skill is a mini SOP (Standard Operating Procedure) — scoped, self-contained, with clear inputs, process, human gates, and defined output.
<skill-name> — name for the new skill (e.g., /skill-creator api-designer)Generate a production-ready SKILL.md file that follows the toolkit's SOP structure, install it into the project's .claude/skills/ directory, and optionally register it as a global slash command.
Read — read existing skills for pattern referenceWrite — create the SKILL.md fileBash — install to project, optionally register global commandGlob — find existing skills to avoid name collisionsSkills follow a strict SOP structure:
1. Name & Trigger — skill-name + when Claude should activate
2. Goal — one clear desired-outcome
3. Dependencies — tools, connectors, MCP servers needed
4. Context — background knowledge Claude needs
5. Process — step-by-step with human checkpoints (APPROVAL GATEs)
6. Output — where result goes + what the final deliverable is
Critical rules:
Parse $ARGUMENTS for skill name. If empty, ask:
"What skill do you want to create? Describe what it should do in 1-2 sentences."
Check for name collisions:
Glob: .claude/skills/*/SKILL.md
If a skill with the same name exists, warn and ask to proceed or rename.
Ask the user these questions (batch them, don't ask one at a time):
Skill Definition Questionnaire:
- What does this skill do? (one sentence — this becomes the Goal)
- When should it trigger? (e.g., "when the user types /foo", "when reviewing PRs")
- What inputs does it need? (arguments, files, context)
- What does it produce? (file, PR, report, code changes)
- Are there external tools needed? (MCP servers, APIs, CLIs)
- How many phases? (suggest 3-6 based on complexity)
- Where should the user approve/review? (which phase boundaries)
If the user's description is vague, present 2-3 structured interpretations:
"I see a few ways to interpret this. Which fits best?"
APPROVAL GATE: Present the interpreted spec back to the user. Wait for confirmation.
Based on the intake answers, design the phase breakdown:
**APPROVAL GATE** markers where the user indicated review pointsFor each phase, determine:
Design the error handling table:
| Situation | Action |
|---|
Design the internal checklist (verification steps before the skill completes)
Present the full phase outline to the user:
Proposed Structure:
- Phase 1: [name] — [what it does]
- APPROVAL GATE after this phase
- Phase 2: [name] — [what it does]
- Phase 3: [name] — [what it does]
- APPROVAL GATE after this phase
- Output: [deliverable] → [location]
APPROVAL GATE: Wait for user to approve the structure. Accept modifications.
Read 1-2 existing skills for tone and formatting reference:
Read: .claude/skills/plan/SKILL.md
Read: .claude/skills/code-review/SKILL.md
Generate the full SKILL.md following this template:
---
name: <skill-name>
description: "<one-line description>"
---
# /<skill-name>
<2-3 sentence overview>
## Arguments: $ARGUMENTS
- `<arg>` — description
- No args — default behavior
---
## Goal
<One clear desired-outcome sentence>
---
## Dependencies
### Tools
- `<Tool>` — why needed
### Connectors
- `<MCP server or API>` — why needed
- None required (if none)
---
## Context
<Background knowledge Claude needs to execute this skill properly>
---
## Phase 1: <Name>
1. Step one
2. Step two
3. Present findings to user
**APPROVAL GATE**: <what the user reviews>
---
## Phase 2: <Name>
...
---
## Error Handling
| Situation | Action |
|-----------|--------|
| <situation> | <action> |
## Checklist (Internal — verify before completing)
- [ ] Item 1
- [ ] Item 2
Present the generated SKILL.md content to the user for review.
APPROVAL GATE: User reviews the full SKILL.md. Accept edits before writing.
Write the file:
Write: .claude/skills/<skill-name>/SKILL.md
Ask the user if they also want a global slash command:
"Want to register
/<skill-name>as a global command? (works across all projects)"
If yes, create the command file:
# Template for ~/.claude/commands/<skill-name>.md
Read and execute the skill defined in .claude/skills/<skill-name>/SKILL.md
User arguments: $ARGUMENTS
Verify the install:
Glob: .claude/skills/<skill-name>/SKILL.md
Report to user:
"Skill installed:
.claude/skills/<skill-name>/SKILL.md- Global command:
/<skill-name>(if registered)Try it:
/<skill-name> <example-args>"
| Situation | Action |
|---|---|
| Skill name already exists | Warn user, offer to overwrite or rename |
| User gives vague description | Present 2-3 interpretations to choose from |
No .claude/skills/ directory | Create it |
| Generated skill is too complex (>6 phases) | Suggest splitting into two skills |
| User wants to edit after install | Re-read, apply edits, re-write |
.claude/skills/<name>/SKILL.md