From project-toolkit
Creates production-ready custom slash commands using 5-phase workflow with multi-agent validation and quality gates. Use for new slash command requests, reusable prompt automation, or repetitive workflow conversion.
npx claudepluginhub rjmurillo/ai-agents --plugin project-toolkitThis skill uses the workspace's default tool permissions.
Create production-ready custom slash commands following ai-agents quality standards.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
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.
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.md