// Creates slash commands for Claude Code following Sando's Golden Rule - only create commands that add intelligent value over bash (analysis, insights, multi-source aggregation, troubleshooting). Use when user requests new slash command or workflow automation that justifies token cost.
| name | command-creator |
| description | Creates slash commands for Claude Code following Sando's Golden Rule - only create commands that add intelligent value over bash (analysis, insights, multi-source aggregation, troubleshooting). Use when user requests new slash command or workflow automation that justifies token cost. |
| allowed-tools | Read, Write, Edit, Glob, Bash |
This skill generates slash commands that follow Sando Design System philosophy: only create commands that justify token cost by adding intelligent value.
CRITICAL: Command functionality must respect Sando guidelines when analyzing/validating project artifacts.
Primary Guidelines for Command Logic:
Full Index: .claude/guidelines/GUIDELINES_INDEX.md
Guideline Priority:
Before creating ANY slash command, validate:
❌ NO if only executes bash command
- Wrapper of package.json script
- No analysis or context added
- Example: /build → pnpm build
- Action: Use bash directly (free)
✅ YES if adds intelligent value:
✓ Combines multiple sources
✓ Analyzes and interprets results
✓ Generates AI-powered recommendations
✓ Provides context requiring intelligence
✓ Debugging/troubleshooting automation
✓ Example: /status → git + builds + tests + analysis
✅ YES if skill shortcut (convenience):
✓ /new-component faster than full sentence
✓ Invokes skill explicitly
✓ Frequent workflow meriting shortcut
cat package.json | grep -A 50 '"scripts"'
/status - Multi-Source AnalysisWhy good:
/coverage - Intelligent InsightsWhy good:
/review-component <name> - 50+ Criteria ChecklistWhy good:
/build - Simple WrapperWhy bad:
pnpm buildpnpm build directly (free)/test - No Added ValueWhy bad:
pnpm testpnpm test directly (free)Slash commands stored in .claude/commands/category-name/command-name.md:
.claude/commands/
├── status/
│ ├── status.md # /status command
│ ├── coverage.md # /coverage command
│ └── why-failing.md # /why-failing command
├── review/
│ ├── component.md # /review-component command
│ ├── tokens.md # /review-tokens command
│ └── a11y.md # /review-a11y command
└── new/
├── component.md # /new-component command
├── flavor.md # /new-flavor command
└── variant.md # /add-variant command
Every command file follows this structure:
---
description: Brief description (shown in /help)
allowed-tools: Tool1, Tool2, Tool3
argument-hint: [arg-name (optional)] # If accepts arguments
---
Brief introduction.
# Section 1: Data Gathering
Explain what information to collect from where.
Reference guidelines for validation thresholds.
# Section 2: Analysis
Explain how to interpret data.
Apply guideline standards (TEST_COVERAGE.md thresholds, etc.).
# Section 3: Recommendations
Provide actionable recommendations.
# Output Format
Show example output format.
# Check package.json script
cat package.json | grep -A 50 '"scripts"' | grep "command-name"
# If exists → STOP, use bash
# If not exists → Continue
If none → ❌ Command NOT justified
.claude/commands/status/.claude/commands/review/.claude/commands/new/.claude/commands/debug/.claude/commands/performance/Using template structure with guideline references.
At end of command file:
---
## 💰 Token Cost Justification
**Why this command is worth token cost:**
- ✅ Combines X sources of information
- ✅ Analyzes per GUIDELINE.md standards (lines X-Y)
- ✅ Generates Z actionable recommendations
- ✅ Cannot be done with single bash command
**Estimated tokens per use:** ~XXX tokens
**Value added:** [Specific value]
**ROI:** Positive after X uses
/command-name [arguments]
# Verify it:
# 1. Executes without errors
# 2. Provides intelligent analysis
# 3. Applies guideline standards correctly
# 4. Generates actionable recommendations
# 5. Justifies token cost
Commands working with tokens must understand per TOKEN_ARCHITECTURE.md:
Example: /review-tokens validates this architecture
Commands working with components must validate per COMPONENT_ARCHITECTURE.md:
Example: /review-component checks all 7 files
Commands analyzing quality must apply per guidelines:
Example: /coverage uses TEST_COVERAGE.md thresholds
Commands must understand per MONOREPO_STRUCTURE.md:
Example: /status checks build artifact timestamps
"El mejor comando es el que no necesitas crear porque bash ya lo hace gratis."
Only create commands that justify token cost through intelligent analysis, multi-source aggregation, troubleshooting automation, or convenience shortcuts to existing skills.
When in doubt: "¿Puedo hacer esto con bash directamente?"