Autonomous meta-skill for creating high-quality custom slash commands using 5-phase workflow with multi-agent validation and quality gates. Use when user requests new slash command, reusable prompt automation, or wants to convert repetitive workflows into documented commands.
Creates custom slash commands through a 5-phase workflow with multi-agent validation and quality gates.
/plugin marketplace add rjmurillo/ai-agents/plugin install project-toolkit@ai-agentsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Create production-ready custom slash commands following ai-agents quality standards.
create slash command for [purpose]SlashCommandCreator: [description]design slash command that [does something]Agent Mode: Analyst
Tasks:
ls .claude/commands/**/*.md.agents/analysis/slashcommand-[name]-analysis.mdDeliverable: Analysis document with recommendation
Agent Mode: Architect
Tasks:
$ARGUMENTS$1, $2, $3 (positional)description (trigger-based per creator-001)argument-hint (if using arguments)allowed-tools (if using bash commands with ! or file references with @)model (opus for complex reasoning)disable-model-invocation (if pure prompt template)!git log --oneline -5)@.agents/HANDOFF.md)ultrathink keyword for complex reasoning (>5 steps)Deliverable: Design specification with frontmatter + prompt
Agent Mode: Orchestrator (coordinates 4 agents)
Agents:
Security:
allowed-tools constraintsArchitect:
Independent-Thinker:
Critic:
Unanimous Approval Required: All 4 agents must approve.
<!-- WHY: Ensures no single agent dimension (security, scope, necessity, completeness) is overlooked. Prevents security vulnerabilities from passing due to focus on functionality alone. Pattern proven by skillcreator 3.2.0 multi-agent synthesis. -->Invocation Pattern:
# Security review
Task(subagent_type="security", prompt="Review allowed-tools for command: [spec]")
# Architecture review
Task(subagent_type="architect", prompt="Check for duplication: [spec]")
# Challenge necessity
Task(subagent_type="independent-thinker", prompt="Is this command truly needed? [spec]")
# Frontmatter completeness
Task(subagent_type="critic", prompt="Validate frontmatter completeness: [spec]")
Deliverable: Validation report with approvals or revision requests
Agent Mode: Implementer
Tasks:
python3 .claude/skills/slashcommandcreator/scripts/new_slash_command.py.claude/commands/[namespace]/[command].mdDeliverable: Working slash command file
Agent Mode: Implementer (automatic validation)
Tasks:
python3 .claude/skills/slashcommandcreator/scripts/validate_slash_command.py --path [file]Deliverable: Validated slash command ready for use
SlashCommandCreator: create command for exporting Forgetful memories to JSON
SlashCommandCreator: design slash command for running security audit
create slash command that summarizes recent PR comments
Use Slash Command When:
Use Skill When:
Before marking complete:
description (trigger-based)argument-hint (if uses arguments)allowed-tools (if uses bash/file refs)allowed-toolsmarkdownlint-cli2 validationvalidate_slash_command.py validationSuccess Criteria:
| Metric | Target |
|---|---|
| Validation | Exit code 0 from validate_slash_command.py |
| Testing | Command runs without errors with sample arguments |
| Documentation | Description clearly explains when to use command |
| Security | All bash/file refs have explicit allowed-tools entries |
| Avoid | Why | Instead |
|---|---|---|
| Creating commands > 200 lines | Too complex for slash command format | Convert to a skill instead |
Overly permissive allowed-tools wildcards | Security risk | List specific tools needed |
| Skipping multi-agent validation | Miss security, scope, or necessity issues | Run all 4 validation agents |
| Duplicate commands for similar purposes | Confusing discoverability | Check existing commands first |
| Generic description without trigger keywords | Model cannot find the command | Include specific "Use when" phrases |
All checks from Verification section plus:
Creates a new slash command from a template.
python3 .claude/skills/slashcommandcreator/scripts/new_slash_command.py --name <name> --description <desc>
Validates slash command structure and frontmatter.
python3 .claude/skills/slashcommandcreator/scripts/validate_slash_command.py <skill-dir>
.agents/analysis/custom-slash-commands-research.md.agents/planning/slashcommandcreator-skill-spec.md.serena/memories/slashcommand-best-practices.mdActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.