/command-creator
Creates new Claude Code slash commands with frontmatter and validation. Triggers: new slash command, create command, command scaffold.
$ npx -y skills add softspark/ai-toolkit --skill command-creator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/command-creator
Context preview
The summary Claude sees to decide when to auto-load this skill.
Creates new Claude Code slash commands with frontmatter and validation. Triggers: new slash command, create command, command scaffold.
SKILL.md
command-creator.SKILL.mdname: command-creator
description: "Creates new Claude Code slash commands with frontmatter and validation. Triggers: new slash command, create command, command scaffold."
effort: high
disable-model-invocation: true
argument-hint: "[command name or description]"
allowed-tools: Read, Write, Edit, Bash, Grep, Glob
Command Creator
$ARGUMENTS
Create a new Claude Code slash command following ai-toolkit conventions.
Workflow
1. **Capture intent** -- what should the command do and who invokes it? 2. **Pick scope** -- project command, user command, or plugin command? 3. **Define frontmatter** -- description, argument hint, allowed tools, model if needed 4. **Write command body** -- instructions for Claude, not explanation for the user 5. **Add validation context** -- expected output, constraints, follow-up checks 6. **Test and iterate** -- invoke the command with representative arguments
Command Locations
- Project: `.claude/commands/<name>.md`
- User: `~/.claude/commands/<name>.md`
- Plugin: `plugin-name/commands/<name>.md`
In `ai-toolkit`, command-development guidance belongs in skill form and any reusable command templates should live under `app/skills/<skill-name>/templates/` or KB docs.
Frontmatter Template
---
description: "One-line help text shown in /help"
argument-hint: "[target]"
allowed-tools: Read, Grep, Bash
model: sonnet
---
Command Authoring Rules
- Write commands as **instructions for Claude**, not marketing copy for the user
- Keep the first paragraph action-oriented and deterministic
- Use `$ARGUMENTS` early when the command takes user input
- Prefer numbered phases for multi-step workflows
- List required checks explicitly (`lint`, `tests`, `docs`, etc.)
- Avoid hidden assumptions about project structure unless the command is project-specific
- **Description ≥50 chars** with a trigger hint (`Use when…`) — short descriptions cause adjacent commands to fight for the same query
- Include **hard rules** (MUST / NEVER / CRITICAL) so the agent cannot improvise around safety boundaries
- Include **"When NOT to use"** naming 2-3 adjacent commands, to prevent over-triggering
Minimal Template
---
description: "{Third-person description, min 50 chars, with trigger hint like 'Use when...'}"
argument-hint: "[arguments]"
allowed-tools: Read, Grep, Bash
---
# {Command Title}
$ARGUMENTS
Perform the requested task using this workflow:
1. Gather context from the repository.
2. Ask clarifying questions if critical information is missing.
3. Execute the task using the smallest safe set of changes.
4. Validate the result.
5. Summarize outcome and follow-up actions.
## Example
\`\`\`
/{command} example-argument
\`\`\`
## Rules
- **MUST** {non-negotiable rule}
- **NEVER** {forbidden action}
## Gotchas
- {environment-specific trap — only if the command has one; omit the section otherwise}
## When NOT to Use
- For {adjacent use case} -- use `/{other-command}` instead
- If {precondition} is not metFollow [Anthropic's Gotchas guidance](https://agentskills.io/skill-creation/best-practices.md#gotchas-sections): *"concrete corrections to mistakes the agent will make without being told otherwise"* — not general advice. Omit the section when no domain traps exist.
Validation Checklist
- [ ] Command file uses markdown and valid YAML frontmatter
- [ ] Description ≥50 chars, third-person, with trigger hint
- [ ] At least one concrete code-fenced example
- [ ] `## Rules` with MUST / NEVER / CRITICAL (prescriptive)
- [ ] `## Gotchas` when the command has real environment-specific traps (optional)
- [ ] `## When NOT to Use` section naming 2-3 adjacent commands
- [ ] Body is instruction-oriented, not user-facing prose
- [ ] `$ARGUMENTS` is present when arguments are expected
- [ ] Validation steps are explicit
- [ ] Command has been tested with at least one realistic invocation
Read more
name: command-creator description: "Creates new Claude Code slash commands with frontmatter and validation. Triggers: new slash command, create command, command scaffold." effort: high disable-model-invocation: true argument-hint: "[command name or description]" allowed-tools: Read, Write, Edit, Bash, Grep, Glob
Command Creator
$ARGUMENTS
Create a new Claude Code slash command following ai-toolkit conventions.
Workflow
1. **Capture intent** -- what should the command do and who invokes it? 2. **Pick scope** -- project command, user command, or plugin command? 3. **Define frontmatter** -- description, argument hint, allowed tools, model if needed 4. **Write command body** -- instructions for Claude, not explanation for the user 5. **Add validation context** -- expected output, constraints, follow-up checks 6. **Test and iterate** -- invoke the command with representative arguments
Command Locations
- Project: `.claude/commands/<name>.md`
- User: `~/.claude/commands/<name>.md`
- Plugin: `plugin-name/commands/<name>.md`
In `ai-toolkit`, command-development guidance belongs in skill form and any reusable command templates should live under `app/skills/<skill-name>/templates/` or KB docs.
Frontmatter Template
--- description: "One-line help text shown in /help" argument-hint: "[target]" allowed-tools: Read, Grep, Bash model: sonnet ---
Command Authoring Rules
- Write commands as **instructions for Claude**, not marketing copy for the user
- Keep the first paragraph action-oriented and deterministic
- Use `$ARGUMENTS` early when the command takes user input
- Prefer numbered phases for multi-step workflows
- List required checks explicitly (`lint`, `tests`, `docs`, etc.)
- Avoid hidden assumptions about project structure unless the command is project-specific
- **Description ≥50 chars** with a trigger hint (`Use when…`) — short descriptions cause adjacent commands to fight for the same query
- Include **hard rules** (MUST / NEVER / CRITICAL) so the agent cannot improvise around safety boundaries
- Include **"When NOT to use"** naming 2-3 adjacent commands, to prevent over-triggering
Minimal Template
---
description: "{Third-person description, min 50 chars, with trigger hint like 'Use when...'}"
argument-hint: "[arguments]"
allowed-tools: Read, Grep, Bash
---
# {Command Title}
$ARGUMENTS
Perform the requested task using this workflow:
1. Gather context from the repository.
2. Ask clarifying questions if critical information is missing.
3. Execute the task using the smallest safe set of changes.
4. Validate the result.
5. Summarize outcome and follow-up actions.
## Example
\`\`\`
/{command} example-argument
\`\`\`
## Rules
- **MUST** {non-negotiable rule}
- **NEVER** {forbidden action}
## Gotchas
- {environment-specific trap — only if the command has one; omit the section otherwise}
## When NOT to Use
- For {adjacent use case} -- use `/{other-command}` instead
- If {precondition} is not metFollow [Anthropic's Gotchas guidance](https://agentskills.io/skill-creation/best-practices.md#gotchas-sections): *"concrete corrections to mistakes the agent will make without being told otherwise"* — not general advice. Omit the section when no domain traps exist.
Validation Checklist
- [ ] Command file uses markdown and valid YAML frontmatter
- [ ] Description ≥50 chars, third-person, with trigger hint
- [ ] At least one concrete code-fenced example
- [ ] `## Rules` with MUST / NEVER / CRITICAL (prescriptive)
- [ ] `## Gotchas` when the command has real environment-specific traps (optional)
- [ ] `## When NOT to Use` section naming 2-3 adjacent commands
- [ ] Body is instruction-oriented, not user-facing prose
- [ ] `$ARGUMENTS` is present when arguments are expected
- [ ] Validation steps are explicit
- [ ] Command has been tested with at least one realistic invocation
Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety, 109 skills, 44 agents, expanded lifecycle hooks, persona presets, experimental opt-in plugin packs, and benchmark tooling — works with Claude Code, Claude Chat/Cowork,
Repo: softspark/ai-toolkit
Other skills on ai-toolkit.
- /ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every technical, coding, debugging, review, architecture, DevOps, data, or file-editing task in Chat or Cowork.
Open skill - /mem-search
Search past coding sessions using natural language. Finds relevant observations, decisions, and context from previous work.
Open skill - /a11y-validate
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen reader.
Open skill - /agent-creator
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold, specialized agent.
Open skill - /analyze
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture signal.
Open skill - /api-patterns
REST/GraphQL API design: naming, versioning, pagination, idempotency, OpenAPI. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, idempotency, rate limit.
Open skill

