From governance
Create a new slash command following best practices. Use when establishing new CLI commands, documenting reusable command patterns, or building automated command templates.
How this skill is triggered — by the user, by Claude, or both
Slash command
/governance:create-commandopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a new slash command using $ARGUMENTS (format: <command-name> [--purpose=...] [--skill1=...]) following the latest best practices and template structure. Generates new slash commands from templates, configures appropriate tools and permissions, creates clean comment-free command files, and follows latest template structure from template:command. Ultrathink mode.
Create a new slash command using $ARGUMENTS (format: [--purpose=...] [--skill1=...]) following the latest best practices and template structure. Generates new slash commands from templates, configures appropriate tools and permissions, creates clean comment-free command files, and follows latest template structure from template:command. Ultrathink mode.
What this command does NOT do:
When to REJECT:
ultrathink: you'd perform the following steps
Output Format:
[✅/❌] Command: $ARGUMENTS
## Summary
- Command created: [name].md
- Location: .claude/commands/[path]
- Tools configured: [list]
## Actions Taken
1. Generated command from template
2. Configured tools and permissions
3. Created file at specified location
## Configuration Applied
- Allowed tools: [tools]
- Model: [if specified]
- Security restrictions: [if any]
## Next Steps
- Test command: /[command-name] "test-argument"
- Customize skill if needed
- Add to documentation if public command
/create-command fix-issue --purpose="fix bugs from issue tracker"
# Generates: fix-issue.md
# Tools: Bash, Edit, Read, Grep, Task
/create-command analyze-quality --purpose="analyze code quality and metrics"
# Generates: analyze-quality.md
# Tools: Read, Grep, Glob, Task
# Pattern: Analysis skill
/create-command build-deploy --purpose="build and deploy application"
# Generates: build-deploy.md
# Tools: Bash(npm:*), Bash(docker:*), Read
# Security: Restricted bash commands
/create-command test/unit-utilities --purpose="testing utilities for unit tests"
# Generates: test/unit-utilities.md
# Creates: .claude/commands/test/ directory
# Tools: Bash(npm test:*), Read, Edit
/create-command
# Error: Missing command name
# Prompt: "What command name would you like?"
# Action: Wait for user input before proceeding
/create-command custom-task --purpose="perform custom analysis" --skill="analysis"
# Uses analysis skill pattern
# Configures read-only tools
# Generates analytical skill structure
npx claudepluginhub alvis/.claude --plugin governanceCreates new Claude Code slash commands with YAML frontmatter, supporting argument hints, allowed tools, bash execution, file references, and advanced features.
Create custom slash commands for Claude Code including syntax, arguments, bash execution, file references, and frontmatter configuration. Use when creating slash commands, custom commands, .md command files, or when asked about command creation, /command syntax, or command best practices.
Creates production-ready custom slash commands via 5-phase workflow with multi-agent validation. Use for user requests, reusable prompt automation, or repetitive workflow conversion.