원클릭으로
create-command
Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review your local uncommitted working-tree changes (git diff plus untracked files) and return actionable improvement suggestions. Use before committing, when nothing has been pushed yet.
Review an existing GitHub pull request and post inline review comments on its diff. Use when the changes are on an opened PR rather than your local working tree.
Add missing test coverage for your local code changes by generating new test files (covers uncommitted and untracked changes, or the latest commit if everything is committed). Use when you want write tests for new logic or increase test coverage.
Run independent tasks concurrently across multiple files or targets using parallel sub-agents, with per-task model selection and LLM-as-a-judge verification. Use when tasks do not depend on each other and can run side by side.
Execute one complex task as ordered, dependent steps run sequentially, passing context from each step to the next, with per-step LLM-as-a-judge verification. Use when later steps depend on the results of earlier ones.
Verify what PR review comments have been addressed (committed/pushed OR uncommitted local changes) and resolve the threads that are genuinely fixed or no longer relevant.
| name | create-command |
| description | Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration |
| argument-hint | Optional command name or description of command purpose |
This meta-command helps create other commands by:
<command_categories>
Planning Commands (Specialized)
Implementation Commands (Generic with Modes)
Analysis Commands (Specialized)
Workflow Commands (Specialized)
Utility Commands (Generic or Specialized)
<command_frontmatter>
All command files MUST begin with YAML frontmatter enclosed in --- delimiters:
---
description: Brief description of what the command does
argument-hint: Description of expected arguments (optional)
---
description (REQUIRED):
argument-hint (OPTIONAL):
# Planning Command
---
description: Interactive brainstorming session for new feature ideas
argument-hint: Optional initial feature concept
---
# Implementation Command
---
description: Implements features using mode-based patterns (ui, core, mcp)
argument-hint: Mode and feature description (e.g., 'ui: add dark mode toggle')
---
# Analysis Command
---
description: Comprehensive code review with quality assessment
argument-hint: Optional file or directory path to review
---
# Utility Command
---
description: Validates API documentation against OpenAPI standards
argument-hint: Path to OpenAPI spec file
---
------ before content begins
</command_frontmatter><command_features>
Use subdirectories to group related commands. Subdirectories appear in the command description but don't affect the command name.
Example:
.claude/commands/frontend/component.md creates /component with description "(project:frontend)"~/.claude/commands/component.md creates /component with description "(user)"Priority: If a project command and user command share the same name, the project command takes precedence.
$ARGUMENTSCaptures all arguments passed to the command:
# Command definition
echo 'Fix issue #$ARGUMENTS following our coding standards' > .claude/commands/fix-issue.md
# Usage
> /fix-issue 123 high-priority
# $ARGUMENTS becomes: "123 high-priority"
$1, $2, etc.Access specific arguments individually using positional parameters:
# Command definition
echo 'Review PR #$1 with priority $2 and assign to $3' > .claude/commands/review-pr.md
# Usage
> /review-pr 456 high alice
# $1 becomes "456", $2 becomes "high", $3 becomes "alice"
Execute bash commands before the slash command runs using the ! prefix. The output is included in the command context.
Note: You must include allowed-tools with the Bash tool.
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a git commit
---
## Context
- Current git status: !`git status`
- Current git diff: !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`
Include file contents using the @ prefix to reference files:
Review the implementation in @src/utils/helpers.js
Compare @src/old-version.js with @src/new-version.js
Slash commands can trigger extended thinking by including extended thinking keywords.
| Frontmatter | Purpose | Default |
|---|---|---|
allowed-tools | List of tools the command can use | Inherits from conversation |
argument-hint | Expected arguments for auto-completion | None |
description | Brief description of the command | First line from prompt |
model | Specific model string | Inherits from conversation |
disable-model-invocation | Prevent Skill tool from calling this command | false |
Example with all frontmatter options:
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
argument-hint: [message]
description: Create a git commit
model: claude-3-5-haiku-20241022
---
Create a git commit with message: $ARGUMENTS
</command_features>
<pattern_research>
List existing commands in target directory:
# For project commands
ls -la /.claude/commands/
# For user commands
ls -la ~/.claude/commands/
Read similar commands for patterns:
Common patterns to look for:
# MCP tool usage for tasks
Use tool: mcp__scopecraft-cmd__task_create
Use tool: mcp__scopecraft-cmd__task_update
Use tool: mcp__scopecraft-cmd__task_list
# NOT CLI commands
❌ Run: scopecraft task list
✅ Use tool: mcp__scopecraft-cmd__task_list
Standard references to include:
<interview_process>
"Let's create a new command. First, let me check what similar commands exist..."
Use Glob to find existing commands in the target category
"Based on existing patterns, please describe:"
Based on responses and existing examples:
Study similar commands first:
# Read a similar command
@{similar-command-path}
# Note patterns:
- Task description style
- Argument handling
- MCP tool usage
- Documentation references
- Human review sections
🎯 Critical Decision: Where should this command live?
Project Command (/.claude/commands/)
User Command (~/.claude/commands/)
Ask: "Should this be:
Check existing resources:
# Check templates
ls -la /docs/command-resources/planning-templates/
ls -la /docs/command-resources/implement-modes/
# Check which guides exist
ls -la /docs/
</interview_process>
<generation_patterns>
Before generating, read similar commands and note:
Frontmatter (MUST BE FIRST):
---
description: Clear one-line description of command purpose
argument-hint: What arguments does it accept
---
------description is REQUIREDargument-hint is OPTIONALMCP Tool Usage:
# From existing commands
Use mcp__scopecraft-cmd__task_create
Use mcp__scopecraft-cmd__feature_get
Use mcp__scopecraft-cmd__phase_list
Standard References:
<context>
Key Reference: @/docs/organizational-structure-guide.md
Template: @/docs/command-resources/planning-templates/{template}.md
Guide: @/docs/claude-commands-guide.md
</context>
Task Update Patterns:
<task_updates>
After implementation:
1. Update task status to appropriate state
2. Add implementation log entries
3. Mark checklist items as complete
4. Document any decisions made
</task_updates>
Human Review Sections:
<human_review_needed>
Flag decisions needing verification:
- [ ] Assumptions about workflows
- [ ] Technical approach choices
- [ ] Pattern-based suggestions
</human_review_needed>
</generation_patterns>
<implementation_steps>
Create Command File
Create Supporting Files (if project command)
/docs/command-resources/Update Documentation (if project command)
Test the Command
<creation_checklist> Before finalizing:
---)<example_session> User: "I need a command to help validate our API documentation"
🔍 Research: Let me check existing analysis commands...
Use Read tool to examine: /.claude/commands/review.md
I notice the review command:
🤔 Question: Can you tell me more about this API documentation validation?
User: "It's OpenAPI specs, need to check for completeness and consistency"
💡 Category: This is an Analysis command similar to 'review'.
🔍 Pattern Check: Looking at review.md, I see it:
<task>
You are a code reviewer conducting a comprehensive review...
</task>
<mcp_usage>
Always use MCP tools:
- mcp__scopecraft-cmd__task_list
- mcp__scopecraft-cmd__task_update
</mcp_usage>
🎯 Location Question: Should this be:
User: "Project command - it needs to reference our specific API standards"
✅ Creating project command: /.claude/commands/validate-api.md
Generated command (following review.md patterns):
---
description: Validates API documentation against OpenAPI standards for completeness and consistency
argument-hint: Path to OpenAPI spec file (optional, will search if not provided)
---
<task>
You are an API documentation validator reviewing OpenAPI specifications for completeness and consistency.
</task>
<context>
References:
- API Standards: @/docs/api-standards.md
- Organizational Structure: @/docs/organizational-structure-guide.md
Similar to: @/.claude/commands/review.md
</context>
<validation_process>
1. Load OpenAPI spec files
2. Check required endpoints documented
3. Validate response schemas
4. Verify authentication documented
5. Check for missing examples
</validation_process>
<mcp_usage>
If issues found, create tasks:
- Use tool: mcp__scopecraft-cmd__task_create
- Type: "bug" or "documentation"
- Phase: Current active phase
- Area: "docs" or "api"
</mcp_usage>
<human_review_needed>
Flag for manual review:
- [ ] Breaking changes detected
- [ ] Security implications unclear
- [ ] Business logic assumptions
</human_review_needed>
</example_session>
<final_output> After gathering all information:
Command Created:
Resources Created:
Usage Instructions:
/{prefix}:{name}Next Steps: