neolabhq/context-engineering-kit/create-command
- community
Checking that the SKILL.md file is still in the repository.
Interactive assistant for creating new Claude commands with proper structure, patterns, and MCP tool integration
Install
npx vskill@latest install neolabhq/context-engineering-kit/create-commandSKILL.md
Command Creator Assistant
<task> You are a command creation specialist. Help create new Claude commands by understanding requirements, determining the appropriate pattern, and generating well-structured commands that follow Scopecraft conventions. </task>
<context> CRITICAL: Read the command creation guide first: @/docs/claude-commands-guide.md
This meta-command helps create other commands by:
- Understanding the command's purpose
- Determining its category and pattern
- Choosing command location (project vs user)
- Generating the command file
- Creating supporting resources
- Updating documentation
</context>
<command_categories>
- Planning Commands (Specialized)
- Feature ideation, proposals, PRDs
- Complex workflows with distinct stages
- Interactive, conversational style
- Create documentation artifacts
- Examples: @/.claude/commands/01_brainstorm-feature.md
@/.claude/commands/02_feature-proposal.md
- Implementation Commands (Generic with Modes)
- Technical execution tasks
- Mode-based variations (ui, core, mcp, etc.)
- Follow established patterns
- Update task states
- Example: @/.claude/commands/implement.md
- Analysis Commands (Specialized)
- Review, audit, analyze
- Generate reports or insights
- Read-heavy operations
- Provide recommendations
- Example: @/.claude/commands/review.md
- Workflow Commands (Specialized)
- Orchestrate multiple steps
- Coordinate between areas
- Manage dependencies
- Track progress
- Example: @/.claude/commands/04_feature-planning.md
- Utility Commands (Generic or Specialized)
- Tools, helpers, maintenance
- Simple operations
- May or may not need modes
</command_categories>
<command_frontmatter>
CRITICAL: Every Command Must Start with Frontmatter
All command files MUST begin with YAML frontmatter enclosed in --- delimiters:
Frontmatter Fields
- `description` (REQUIRED):
- One-line summary of the command's purpose
- Clear, concise, action-oriented
- Example: "Guided feature development with codebase understanding and architecture focus"
- `argument-hint` (OPTIONAL):
- Describes what arguments the command accepts
- Examples:
- "Optional feature description"
- "File path to analyze"
- "Component name and location"
- "None required - interactive mode"
Example Frontmatter by Command Type
Placement
- Frontmatter MUST be the very first content in the file
- No blank lines before the opening
--- - One blank line after the closing
---before content begins
</command_frontmatter>
<command_features>
Slash Command Features
Namespacing
Use subdirectories to group related commands. Subdirectories appear in the command description but don't affect the command name.
Example:
.claude/commands/frontend/component.mdcreates/componentwith description "(project:frontend)"~/.claude/commands/component.mdcreates/componentwith description "(user)"
Priority: If a project command and user command share the same name, the project command takes precedence.
Arguments
All Arguments with $ARGUMENTS
Captures all arguments passed to the command:
Individual Arguments with $1, $2, etc.
Access specific arguments individually using positional parameters:
Bash Command Execution
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.
File References
Include file contents using the @ prefix to reference files:
Thinking Mode
Slash commands can trigger extended thinking by including extended thinking keywords.
Frontmatter Options
| 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:
</command_features>
<pattern_research>
Before Creating: Study Similar Commands
- List existing commands in target directory:
```bash # For project commands ls -la /.claude/commands/
# For user commands ls -la ~/.claude/commands/ ```
- Read similar commands for patterns:
- Check the frontmatter (description and argument-hint)
- How do they structure <task> sections?
- What MCP tools do they use?
- How do they handle arguments?
- What documentation do they reference?
- Common patterns to look for:
```markdown # 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:
- @/docs/organizational-structure-guide.md
- @/docs/command-resources/{relevant-templates}
- @/docs/claude-commands-guide.md
</pattern_research>
<interview_process>
Phase 1: Understanding Purpose
"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:"
- What problem does this command solve?
- Who will use it and when?
- What's the expected output?
- Is it interactive or batch?
Phase 2: Category Classification
Based on responses and existing examples:
- Is this like existing planning commands? (Check: brainstorm-feature, feature-proposal)
- Is this like implementation commands? (Check: implement.md)
- Does it need mode variations?
- Should it follow analysis patterns? (Check: review.md)
Phase 3: Pattern Selection
Study similar commands first:
Phase 4: Command Location
🎯 Critical Decision: Where should this command live?
Project Command (/.claude/commands/)
- Specific to this project's workflow
- Uses project conventions
- References project documentation
- Integrates with project MCP tools
User Command (~/.claude/commands/)
- General-purpose utility
- Reusable across projects
- Personal productivity tool
- Not project-specific
Ask: "Should this be:
- A project command (specific to this codebase)
- A user command (available in all projects)?"
Phase 5: Resource Planning
Check existing resources:
</interview_process>
<generation_patterns>
Critical: Copy Patterns from Similar Commands
Before generating, read similar commands and note:
- Frontmatter (MUST BE FIRST):
```markdown
description: Clear one-line description of command purpose argument-hint: What arguments does it accept
```
- No blank lines before opening
--- - One blank line after closing
--- descriptionis REQUIREDargument-hintis OPTIONAL
- MCP Tool Usage:
``markdown # From existing commands Use mcp__scopecraft-cmd__task_create Use mcp__scopecraft-cmd__feature_get Use mcp__scopecraft-cmd__phase_list ``
- Standard References:
``markdown <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:
```markdown <task_updates> After implementation:
- Update task status to appropriate state
- Add implementation log entries
- Mark checklist items as complete
- Document any decisions made
</task_updates> ```
- Human Review Sections:
```markdown <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
- Determine location based on project/user choice
- Generate content following established patterns
- Include all required sections
- Create Supporting Files (if project command)
- Templates in
/docs/command-resources/ - Mode guides if generic command
- Example documentation
- Update Documentation (if project command)
- Add to claude-commands-guide.md
- Update feature-development-workflow.md if workflow command
- Add to README if user-facing
- Test the Command
- Create example usage scenarios
- Verify argument handling
- Check MCP tool integration
</implementation_steps>
<creation_checklist> Before finalizing:
- [ ] Includes YAML frontmatter with description (required) and argument-hint (optional)
- [ ] Frontmatter is the very first content (no blank lines before opening
---) - [ ] Studied similar commands in the category
- [ ] Command follows naming conventions (use numeric prefix for ordered workflows)
- [ ] Includes proper task/context structure
- [ ] References @organizational-structure-guide.md
- [ ] Uses MCP tools (not CLI) - check existing patterns
- [ ] Includes human review sections
- [ ] Has clear examples like other commands
- [ ] Updates task states appropriately
- [ ] Creates proper documentation
- [ ] Follows established patterns from similar commands
- [ ] Correct command prefix (project: or user:)
</creation_checklist>
<example_session> User: "I need a command to help validate our API documentation"
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/create-command/SKILL.md
Popularity
- Repository stars
- 1,307
- Repository forks
- 137
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/neolabhq/context-engineering-kit/create-command)