command-creator

Solid

Create Claude Code custom slash commands with proper structure, frontmatter, and best practices. Use this skill whenever the user wants to create a new command, add a slash command, build a custom command, or mentions "create-command", "new command", "add command", or "make a command" for Claude Code. Also trigger when the user wants to turn a workflow into a reusable command.

AI & Automation 1,684 stars 241 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Command Creator Create Claude Code custom slash commands with proper structure and best practices. ## Understanding Commands Claude Code commands are Markdown files with YAML frontmatter that define reusable workflows invoked via `/command-name`. They live in specific locations depending on scope: - **Project-level**: `.claude/commands/` in the project root (shared via git) - **User-level**: `~/.claude/commands/` (personal, available everywhere) - **Categorized**: Nest under subdirectories for namespacing (e.g., `gh/review-pr.md` becomes `/gh:review-pr`) ## Process ### 1. Clarify Intent Before writing anything, understand: - What should the command do? (single clear purpose) - Who uses it — just this user, or the whole team? (determines project vs user-level) - Does it need arguments? What kind? - What tools does it need access to? - Is there a category it belongs to? (e.g., `gh` for GitHub, `cc` for Claude Code meta-commands) ### 2. Write the Command Every command file follows this structure: ```markdown --- description: Brief description shown in command list argument-hint: [expected-arguments] allowed-tools: Tool1, Tool2, Bash(prefix:*) --- # Command Name What this command does and when to use it. ## Process: Step-by-step instructions for the agent to follow. ## Your Task: Act on "$ARGUMENTS" following these guidelines. ``` #### Frontmatter fields | Field | Required | Purpose | |-------|----------|---------| | `description` | Yes | Short description sho...

Details

Author
feiskyer
Repository
feiskyer/claude-code-settings
Created
1 years ago
Last Updated
2 weeks ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category