← ClaudeAtlas

command-creatorlisted

Guides creation of Claude Code slash commands. Use when users ask to "create a command", "make a slash command", "add a command", want to automate a repetitive workflow ("I keep doing X, can we make a command for it?"), or want to document a consistent process as a reusable slash command — project-level or global.
svyatov/agent-toolkit · ★ 0 · AI & Automation · score 72
Install: claude install-skill svyatov/agent-toolkit
# Command Creator Create Claude Code slash commands — reusable workflows invoked with `/command-name`. A slash command is a markdown file in `.claude/commands/` (project-level) or `~/.claude/commands/` (global) that expands into a prompt when invoked. Good candidates: repetitive workflows (code review, PR submission, CI fixing), multi-step processes that need consistency, agent delegation patterns, and project-specific automation. ## Bundled Resources Load these as needed during the workflow below: - **references/patterns.md** — command patterns (workflow automation, iterative fixing, agent delegation, simple execution) - **references/examples.md** — real command examples with full source (submit-stack, ensure-ci, create-implementation-plan) - **references/best-practices.md** — template structure, writing guidelines, quality checklist, common pitfalls ## Workflow ### Step 1: Determine Location Check `git rev-parse --is-inside-work-tree 2>/dev/null`: inside a git repo → project-level `.claude/commands/`; otherwise → global `~/.claude/commands/`. An explicit user request ("global", "user-level", "project") overrides the default. Report the chosen location before proceeding. ### Step 2: Identify Command Pattern Load **references/patterns.md** to understand the available patterns: - **Workflow Automation** — Analyze → Act → Report (e.g., submit-stack) - **Iterative Fixing** — Run → Parse → Fix → Repeat (e.g., ensure-ci) - **Agent Delegation** — Context → Delegate → Iter