create-command
Skill5 starsChanged 5 months agoMITView on GitHub
Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt body, then regenerating the registry. Use when creating, scaffolding, or reviewing a slash command in this repo.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- pahlevikun/levistacktheir own version, first seen Oct 4, 2026
- fxmartin/claude-code-configtheir own version, first seen Oct 2, 2026
- evolution-foundation/evo-nexustheir own version, first seen Apr 20, 2026
- NeoLabHQ/context-engineering-kittheir own version, first seen Apr 16, 2026
- timominkus/obsidian-para-gtd-aitheir own version, first seen Apr 4, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- evolution-foundation/evo-nexus★ 544same name
- timominkus/obsidian-para-gtd-ai★ 9same name
- fxmartin/claude-code-config★ 0same name
- pahlevikun/levistack★ 0same 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 repository89 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- site/llms-full.txtllms.txt
- site/llms.txtllms.txt
- improveSkill
- academic-writingSkill
- benchmark-reportingSkill
- bibtex-managerSkill
- citation-graphSkill
- citation-verifierSkill
- design-science-methodologySkill
- docx-thesisSkill
- experiment-reproducibilitySkill
- latex-toolkitSkill
- literature-searchSkill
- lit-review-synthesisSkill
- paper-readerSkill
- proofread-academicSkill
- research-figuresSkill
- research-methodologySkill
- research-questionSkill
- statistics-advisorSkill
- supervisor-updateSkill
- systematic-reviewSkill
- thesis-proposalSkill
- coolify-image-appSkill
- coolify-vps-baselineSkill
- deploy-verificationSkill
- express-prisma-coolify-imageSkill
- ghcr-coolify-pipelineSkill
- live-domain-cutoverSkill
- nextjs-coolify-imageSkill
- proxy-client-addressSkill
- vps-ops-toolkitSkill
- adr-writingSkill
- openapi-specSkill
- readme-writingSkill
- technical-writingSkill
- adversarial-reviewerSkill
- api-design-reviewSkill
- code-review-responseSkill
- create-agentSkill
- create-hookSkill
- create-skillSkill
- db-migration-safetySkill
- dependency-upgradeSkill
- dockerfile-best-practicesSkill
- error-handling-patternsSkill
- executing-plansSkill
- explain-codebaseSkill
- fix-ciSkill
- github-actions-pipelineSkill
- grill-with-docsSkill
- incident-postmortemSkill
- logging-and-observabilitySkill
- parallel-agentsSkill
- performance-optimizationSkill
- refactoring-recipesSkill
- solid-principlesSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 0 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Create a slash command: a prompt the user invokes by typing /<name>.
- Very specific: line 14
File layout: only
COMMAND.md: No companion files; pnpm gen rejects extras because the command installs as one file. - Very specific: line 15
Gate side effects: If the command commits, pushes, deploys, deletes, or sends anything, state exactly what will happen and confirm before …
- Very specific: line 17
Never hand-write
registry.jsonor the README catalog: Run pnpm gen. - Very specific: line 47
Write description third person, leading with the action.
- Very specific: line 58
If the command takes arguments but the body omits $ARGUMENTS, Claude Code appends what the user typed automatically, but referencing it …
“Common” is measured: kept by at least 6 in 10 of the 5 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 prompt the user invokes by typing /<name>. Make it do one well-scoped action, accept its arguments cleanly, and read like a tight instruction set. Then regenerate the derived files and validate.
Source layout is commands/<category>/<name>/COMMAND.md. Commands are file-layout: the folder must contain only COMMAND.md, because it installs as the single file .claude/commands/<name>.md. The /<name> the user types comes from that filename. The category is the folder; registry.json and the README catalog are generated by pnpm gen. Never hand-edit generated files.
Hard rules: never break these
- One command, one action. A command is something the user deliberately triggers (
/write-tests,/deploy). Keep it to a single, well-scoped job. - File layout: only
COMMAND.md. No companion files;pnpm genrejects extras because the command installs as one file. - Gate side effects. If the command commits, pushes, deploys, deletes, or sends anything, state exactly what will happen and confirm before doing it. Consider
disable-model-invocation: trueso only the user can fire it. nameis globally unique and equals the folder name, kebab-case.- Never hand-write
registry.jsonor the README catalog. Runpnpm gen. - No AI/co-author mentions anywhere in the command or its output.
Step 1: Define the command
- The one action it performs, in a sentence.
- The arguments it takes, if any, and what each means.
- Who invokes it. User-only (set
disable-model-invocation: true) for anything with side effects or timing you want to control; both you and Claude for safe, read-only helpers.
Step 2: Scaffold it
From the repo root:
pnpm new --type command --category <category> --name <name> --description "<what it does>"Current command categories: academic, documentation, engineering, productivity, review, security, testing, version-control (run ls commands for the live list). Reuse one or add a new folder if a different family is justified. The scaffolder enforces kebab-case and global name uniqueness and regenerates the registry.
Step 3: Write the frontmatter
Required: name, description. Useful optional fields:
| Field | Purpose |
argument-hint | Autocomplete hint for expected args, e.g. [file] or [issue-number] [format]. Omit if none. |
allowed-tools | Tools the command may use without a permission prompt while active. Space/comma string or list. |
disable-model-invocation | true so only the user can run it (Claude won't auto-trigger). Use for side-effecting commands. |
model | Pin a model for this command. Defaults to the session model. |
Write description third person, leading with the action; avoid a : (it is YAML).
Step 4: Write the body with arguments
The markdown body is the prompt that runs when the command is invoked. Address the agent, imperative. Wire in input:
$ARGUMENTSexpands to everything the user typed after the command.$1,$2, … expand to positional arguments.- A leading
!line runs a shell command and inlines its output (needsallowed-tools), e.g.!`git diff --stat`to ground the prompt in live state. @path/to/filepulls a file's contents into the prompt.
If the command takes arguments but the body omits $ARGUMENTS, Claude Code appends what the user typed automatically, but referencing it explicitly reads better.
Step 5: Regenerate and validate
pnpm gen
pnpm validateFix the source COMMAND.md if validation complains; never patch generated output.
Step 6: Review against the bar
- Invoking
/<name>does the one action cleanly, with arguments handled. - Side effects are gated and, where appropriate,
disable-model-invocation: trueis set. - The folder contains only
COMMAND.md. pnpm validatepasses and the README catalog shows the new row.
Report the command's path, category, how it's invoked, and the validation result. Leave committing to the user.
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.

