Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
.claude/skills/jdrhyne-command-creator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 3% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 21% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 41% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 50% | 0% |
This skill guides the creation of Claude Code slash commands - reusable workflows that can be invoked with /command-name in Claude Code conversations.
Slash commands are markdown files stored in .claude/commands/ (project-level) or ~/.claude/commands/ (global/user-level) that get expanded into prompts when invoked. They're ideal for:
Invoke this skill when users:
This skill includes reference documentation for detailed guidance:
references folder - Command patterns (workflow automation, iterative fixing, agent delegation, simple execution)references folder - Real command examples with full source (submit-stack, ensure-ci, create-implementation-plan)references folder - Quality checklist, common pitfalls, writing guidelines, template structureLoad these references as needed when creating commands to understand patterns, see examples, or ensure quality.
Every slash command is a markdown file with:
markdown--- description: Brief description shown in /help (required) argument-hint: <placeholder> (optional, if command takes arguments) --- # Command Title [Detailed instructions for the agent to execute autonomously]
Auto-detect the appropriate location:
git rev-parse --is-inside-work-tree 2>/dev/null.claude/commands/~/.claude/commands/~/.claude/commands/.claude/commands/Report the chosen location to the user before proceeding.
Help the user understand different command types. Load patterns.md from this skill's references folder to see available patterns:
Ask the user: "Which pattern is closest to what you want to create?" This helps frame the conversation.
Ask the user for key information:
Ask:
Guidelines:
submit-stack, ensure-ci, create-from-plansubmit_stack, ensure_ci, create_from_planmy-command.md → invoked as /my-command/help output)Ask:
If command takes arguments:
argument-hint: <placeholder> to frontmatter<angle-brackets> for required arguments[square-brackets] for optional argumentsAsk:
Gather details about:
Ask:
Create the command file with agent-ready instructions. Load best-practices.md from this skill's references folder for:
Key principles:
.claude/commands/[command-name].md~/.claude/commands/[command-name].mdbash mkdir -p [directory-path]
/command-name [arguments]If the user wants to test:
You can test this command by running: /command-name [arguments]For detailed guidance, load the bundled references:
references folder when designing the command workflowreferences folder to see how existing commands are structuredreferences folder before finalizing to ensure qualityCommon patterns to remember:
pytest, pyright, ruff, prettier, make, gt commands.PLAN.md) before proceedingWhen creating a command:
Focus on creating commands that agents can execute autonomously, with clear steps, explicit tool usage, and proper error handling.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-13 | pass→pass | 12,900 | 6,381 | -51% | 1 | 1 | 0% | 2,122 | 2,752 | +30% | 0 | 0 | — |
case-01 | fail→fail | 8,765 | 7,148 | -18% | 1 | 1 | 0% | 1,532 | 2,291 | +50% | 0 | 0 | — |
case-02 | fail→fail | 12,165 | 3,214 | -74% | 1 | 1 | 0% | 1,904 | 2,083 | +9% | 0 | 0 | — |
case-03 | fail→pass | 15,762 | 6,156 | -61% | 1 | 1 | 0% | 2,627 | 2,712 | +3% | 0 | 0 | — |
case-04 | pass→pass | 6,114 | 6,453 | +6% | 1 | 1 | 0% | 1,078 | 2,855 | +165% | 0 | 0 | — |
case-05 | pass→pass | 11,048 | 17,030 | +54% | 1 | 1 | 0% | 1,947 | 5,075 | +161% | 0 | 0 | — |
case-06 | pass→pass | 8,384 | 4,627 | -45% | 1 | 1 | 0% | 1,471 | 2,526 | +72% | 0 | 0 | — |
case-07 | fail→fail | 10,260 | 4,910 | -52% | 1 | 1 | 0% | 1,748 | 2,208 | +26% | 0 | 0 | — |
case-08 | pass→pass | 8,911 | 4,251 | -52% | 1 | 1 | 0% | 1,387 | 2,348 | +69% | 0 | 0 | — |
case-14 | pass→pass | 2,320 | 1,794 | -23% | 1 | 1 | 0% | 337 | 1,999 | +493% | 0 | 0 | — |
case-09 | fail→pass | 12,297 | 5,078 | -59% | 1 | 1 | 0% | 2,268 | 2,598 | +15% | 0 | 0 | — |
case-10 | fail→pass | 11,360 | 2,986 | -74% | 1 | 1 | 0% | 1,753 | 2,128 | +21% | 0 | 0 | — |
case-11 | pass→pass | 6,433 | 2,608 | -59% | 1 | 1 | 0% | 990 | 2,134 | +116% | 0 | 0 | — |
case-12 | pass→pass | 10,589 | 4,821 | -54% | 1 | 1 | 0% | 1,526 | 2,461 | +61% | 0 | 0 | — |
case-15 | pass→pass | 6,865 | 4,013 | -42% | 1 | 1 | 0% | 1,093 | 2,368 | +117% | 0 | 0 | — |
case-16 | pass→pass | 9,583 | 4,026 | -58% | 1 | 1 | 0% | 1,480 | 2,349 | +59% | 0 | 0 | — |
case-17 | fail→pass | 13,724 | 6,416 | -53% | 1 | 1 | 0% | 2,011 | 2,837 | +41% | 0 | 0 | — |
case-18 | fail→pass | 11,590 | 5,816 | -50% | 1 | 1 | 0% | 1,774 | 2,665 | +50% | 0 | 0 | — |
case-19 | pass→pass | 9,840 | 4,015 | -59% | 1 | 1 | 0% | 1,576 | 2,324 | +47% | 0 | 0 | — |
case-20 | pass→pass | 11,091 | 4,633 | -58% | 1 | 1 | 0% | 1,617 | 2,369 | +47% | 0 | 0 | — |
case-21 | pass→pass | 12,468 | 5,101 | -59% | 1 | 1 | 0% | 1,897 | 2,575 | +36% | 0 | 0 | — |
case-22 | pass→pass | 17,625 | 14,017 | -20% | 1 | 1 | 0% | 2,734 | 3,472 | +27% | 0 | 0 | — |
case-23 | pass→pass | 3,067 | 1,895 | -38% | 1 | 1 | 0% | 422 | 2,063 | +389% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 22 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +22 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.