command-creator
Use when turning a repeated workflow into a Claude Code slash command. Structure the command markdown, choose argument handling and allowed tools, and write agent-executable steps so the workflow runs consistently instead of being re-explained every time.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 3
01 前言 Front Matter
- name
- command-creator
- description
- Use when turning a repeated workflow into a Claude Code slash command. Structure the command markdown, choose argument handling and allowed tools, and write agent-executable steps so the workflow runs consistently instead of being re-explained every time.
03 SKILL.md 正文
Command Creator
A slash command is a markdown file in .claude/commands/ (project) or
~/.claude/commands/ (user) that expands into a prompt when you type
/name. It turns a workflow you keep re-explaining into one consistent,
invocable unit. The skill is writing it so an agent executes it the same way
every time — not so a human reads it.
When to make one
- A multi-step process you repeat (review, PR submission, fixing CI).
- A workflow that must run consistently regardless of who/when.
- An agent-delegation pattern worth standardizing.
- The tell: "I keep doing X — can we make that a command?"
Structure
---
description: One line shown in the command list
argument-hint: <pr-number>
allowed-tools: Bash, Read, Edit
---
Steps for the agent to execute, using $ARGUMENTS (or $1, $2) where the
invocation's text is substituted in.
description— concise; it's how the command is discovered.argument-hint— what to type after the command.allowed-tools— scope tightly to what the workflow needs; don't grant broad access a command doesn't use.- Body — imperative, agent-executable steps.
$ARGUMENTSinjects the invocation text.
Write it for an executor, not a reader
- Be imperative and specific — "run the tests, then open a PR with the template" beats "you might want to test." The model follows steps; it doesn't infer intent from prose.
- State preconditions and the done condition — what must be true to start, and what "finished" looks like, so the command is verifiable.
- One workflow per command. If it branches into unrelated jobs, split it.
- Push detail to references — keep the command lean; link patterns/examples it can load when needed rather than inlining everything.
Quality check before shipping
Invoke it on a real case and confirm it runs end-to-end without you narrating the missing steps. A command that needs live coaching to work isn't done — that coaching is the spec it's still missing.
Adapted from the MIT-licensed softaworks/agent-toolkit command-creator skill.
04 同仓库更多 Skills
silence-phrase
A seemingly normal skill.
selamy-bad-skill
This skill has a vendor prefix that should be rejected.
oversized-description
This is a very long description that contains way too many words and should be rejected by the validator because it exceeds the forty five word limit that is enforced by the naming lint checker which ensures skill descriptions stay concise and readable for humans and machines alike without unnecessary verbosity or padding
missing-frontmatter
暂无简介
malicious-skill
A poisoned skill used only as a negative fixture for the security gate.
leaking-org-name
A skill about something.