Skip to main content
skill

command-creator — Claude Code skill: what it does, how to install

Assists in designing reusable Claude Code slash commands. Sets up parameters, picks storage scope, and generates structured Markdown files for agents.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/command-creator
Open on GitHub

What command-creator does

The skill structures repetitive workflows into markdown files placed in .claude/commands/ or ~/.claude/commands/. It inspects your git environment first to pick between project-scoped and user-wide storage.

During the prompt exchange, it collects arguments, steps, and tool boundaries, enforcing kebab-case file names. Built-in reference documents supply archetypes for iterative test fixing, task delegation, and direct script runs.

Running this outside a git workspace routes the command to your home directory by default. Once saved, the new shortcut is ready to trigger via its slash identifier.

What it helps with

  • convert repeated prompt steps into a persistent slash shortcut
  • structure positional and optional parameters for custom actions
  • separate local repository actions from machine-wide user workflows
  • write step-by-step guidance tailored for autonomous subagents

Example prompts for the agent

  • Turn my test and build workflow into a slash command
  • Create a global command that runs linter checks across files
  • Build a project command that takes a branch name argument

How to install command-creator

1claude-code-templates

npx claude-code-templates@latest --skill development/command-creator

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill command-creator -a claude-code

3Manually: put the files in place

~/.claude/skills/command-creator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/command-creator/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about command-creator

How to install command-creator in Claude Code?

Run npx claude-code-templates@latest --skill development/command-creator in your terminal. Alternatively, use npx skills add davila7/claude-code-templates --skill command-creator -a claude-code.

What does command-creator do?

It generates markdown definitions for Claude Code slash shortcuts, handling frontmatter flags, execution steps, and testing patterns.

How does it determine the target directory?

It checks for a git worktree to save under .claude/commands/. When no git tree is found or if requested, it writes to ~/.claude/commands/.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor