Install
$ agentstack add skill-softspark-ai-toolkit-command-creator ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Command Creator
$ARGUMENTS
Create a new Claude Code slash command following ai-toolkit conventions.
Workflow
- Capture intent -- what should the command do and who invokes it?
- Pick scope -- project command, user command, or plugin command?
- Define frontmatter -- description, argument hint, allowed tools, model if needed
- Write command body -- instructions for Claude, not explanation for the user
- Add validation context -- expected output, constraints, follow-up checks
- Test and iterate -- invoke the command with representative arguments
Command Locations
- Project:
.claude/commands/.md - User:
~/.claude/commands/.md - Plugin:
plugin-name/commands/.md
In ai-toolkit, command-development guidance belongs in skill form and any reusable command templates should live under app/skills//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
$ARGUMENTSearly 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 met
Follow Anthropic's Gotchas guidance: "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
- [ ]
## Ruleswith MUST / NEVER / CRITICAL (prescriptive) - [ ]
## Gotchaswhen the command has real environment-specific traps (optional) - [ ]
## When NOT to Usesection naming 2-3 adjacent commands - [ ] Body is instruction-oriented, not user-facing prose
- [ ]
$ARGUMENTSis present when arguments are expected - [ ] Validation steps are explicit
- [ ] Command has been tested with at least one realistic invocation
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: softspark
- Source: softspark/ai-toolkit
- License: MIT
- Homepage: https://softspark.eu
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.