create-command
Skill0 starsChanged 18 days agoMITView on GitHub
Create, audit or improve slash commands (commands/<name>.md, .claude/commands, .cursor/commands): saved prompts you run as /name, with arguments. Use when asked to add a slash command or custom command, pass arguments to one, make a repeatable prompt, or choose between a command and a skill.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- fxmartin/claude-code-configtheir own version, first seen Oct 31, 2026
- tony-hoang-ai-automation/mkt-skillstheir own version, first seen Oct 25, 2026
- EvolutionAPI/evo-nexustheir own version, first seen Oct 8, 2026
- KhaledSaeed18/dotclaudetheir own version, first seen Jul 4, 2026
- evolution-foundation/evo-nexustheir own version, first seen Apr 20, 2026
- lxyer/multi-agent-collaboration-systemtheir own version, first seen Apr 16, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- EvolutionAPI/evo-nexus★ 545same name
- evolution-foundation/evo-nexus★ 535same name
- timominkus/obsidian-para-gtd-ai★ 9same name
- KhaledSaeed18/dotclaude★ 5same name
- tony-hoang-ai-automation/mkt-skills★ 4same name
- fxmartin/claude-code-config★ 2same name
- lxyer/multi-agent-collaboration-system★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/comments.mdcCursor rule
- .cursor/rules/commit-messages.mdcCursor rule
- .cursor/rules/git-workflow.mdcCursor rule
- .cursor/rules/manage-stack.mdcCursor rule
- .cursor/rules/no-worktrees.mdcCursor rule
- manage-stackSkill
- convert-as-skillSkill
- create-agentSkill
- create-agents-mdSkill
- create-hookSkill
- create-ruleSkill
- create-skillSkill
- retrospectiveSkill
- super-architectureSkill
- super-cachingSkill
- super-elixirSkill
- super-nodejsSkill
- super-protobufSkill
- super-tech-blueprintSkill
- atomic-semantic-commitSkill
- code-reviewSkill
- create-bruno-collectionSkill
- create-documentationSkill
- create-ticketsSkill
- ready-specSkill
- write-adrSkill
- write-changelogSkill
- write-mr-descriptionSkill
- write-planSkill
- write-postmortemSkill
- write-runbookSkill
- noslopSkill
- output-saversSkill
- safe-refactorSkill
- tddSkill
- verifySkill
- get-movingSkill
- later-listSkill
- standupSkill
- challenge-meSkill
- codebase-learnerSkill
- researchSkill
- second-opinionSkill
- traceSkill
- color-kitSkill
- design-system-kitSkill
- diagramSkill
- infographicSkill
- product-polish-workflowSkill
- prototype-wireframeSkill
- ui-ux-kitSkill
- evidenceSkill
- find-skillsSkill
- handoffSkill
- rumblingSkill
- use-levistackSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 45
Default to a command when the repo or target tool uses one.
- Distinctive: line 69
Add the guardrails: "Do not commit the file", "Do not include secrets".
- Distinctive: line 75
Put secrets, personal paths or employer names in a shared command.
- Very specific: line 76
Add allowed-tools broader than the command needs.
- Distinctive: line 77
Leave a side effect (commit, push, post) implicit.
- Distinctive: line 91
No existing command or skill already does this.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a slash command
A command is a saved prompt the user runs as /name. The body is an instruction to the agent, with optional arguments. It runs when the user asks for it, not when the model decides.
Principles
- One command, one outcome.
/handoffwrites a handoff note. If the name needs "and", split it. - A command is for explicit, repeatable actions. Anything with side effects (commit, deploy, post, delete) belongs behind a command, so the user stays in control.
- Short and imperative. Say the outcome, the inputs, the output, and what not to do, in under about 30 lines. Point to a skill for the method instead of repeating it.
- Handle empty arguments. State what to do when nothing is typed after the name (infer from context, or ask once).
- Do not rely on shell injection in a shared command. Backticked commands prefixed with
!run before the model sees the prompt, and plugin-supplied commands do not run them.
Command or skill?
Claude Code has merged commands into skills: .claude/commands/deploy.md and .claude/skills/deploy/SKILL.md both create /deploy, and the skill wins if both exist.
| You need | Use |
A short prompt, one file, typed as /name | Command (this skill) |
| Supporting files, scripts, or the model loading it on its own | Skill with disable-model-invocation: true if it must stay manual (create-skill) |
| A command that already exists and has grown | Convert it (convert-as-skill) |
Default to a command when the repo or target tool uses one; Cursor and catalog commands/ trees are command-based. Otherwise a skill is the more capable format.
Steps
- Gather requirements. Infer from the conversation; ask only for what is missing: the outcome, the arguments it takes, any side effects, and where it lives.
- Check overlap. List existing commands and skills with the same intent. Extend one instead of adding another.
Pick the location (formats in formats.md):
Target File Claude Code, project or user .claude/commands/<name>.md,~/.claude/commands/<name>.mdCursor, project or user .cursor/commands/<name>.md,~/.cursor/commands/<name>.mdA shared catalog or plugin commands/<name>.md- Name it. Lowercase, hyphens, a verb or a clear noun (
handoff,review-diff). The filename without.mdis the command name. Subfolders namespace it in Claude Code (frontend/component.mdis/frontend:component). - Write it from templates/command.md: a one-line quoted
description, anargument-hintwhen it takes arguments, then the body. Use$ARGUMENTSfor everything typed after the name. - Check it. The description is one line, says what it does, and the body names the output. If the repo has its own validation (for example
npm run validate), run it. Cursor commands are plain Markdown; frontmatter there is optional. - Run it with
/nameand with no arguments, then with a typical argument. Fix the wording until both behave.
Writing the body
- Lead with the outcome: "Write a dated handoff note ...".
- Name the arguments and the empty case: "Topic:
$ARGUMENTS(infer it from the work when empty)". - State the output: a file path, a short summary, a prompt to paste.
- Add the guardrails: "Do not commit the file", "Do not include secrets".
- Reference a skill by name when one exists for the method.
Do not
- Copy a skill's whole procedure into the command.
- Put secrets, personal paths or employer names in a shared command.
- Add
allowed-toolsbroader than the command needs. - Leave a side effect (commit, push, post) implicit.
Related skills
create-skill: the prompt needs scripts, references or model-triggered loading.create-hook: the action must run on an event, not on /name.convert-as-skill: turn a command into a skill.create-agent: the job needs its own context and tools.
Done when
- The file is at the right path for its tool and the filename is the intended
/name. - The description is one quoted line; arguments are named and the empty case is handled.
- It ran with and without arguments and produced the stated output.
- No existing command or skill already does this.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

