---description: Refactor a fileargument-hint: <file> <action> <target>---# Refactor CommandFile: $ARGUMENTS[0]Action: $ARGUMENTS[1]Target: $ARGUMENTS[2]Validation:- If any argument is missing, ask the user for clarification- File must exist (use Read tool to verify)- Action must be one of: rename, extract, inline, move
---description: Run tests with coverageargument-hint: [pattern]---# Run TestsPattern: $ARGUMENTS[0] or "**/*.test.ts" if not provided\`\`\`bashPATTERN="${ARGUMENTS[0]:-**/*.test.ts}"npm test -- "$PATTERN" --coverage\`\`\`
---description: Advanced search with flagsargument-hint: <query> [--category=X] [--project=Y] [--limit=N]---# Search with FlagsParse arguments:\`\`\`bashQUERY="$ARGUMENTS[0]"CATEGORY=""PROJECT=""LIMIT=10for arg in $ARGUMENTS[1:]; do case $arg in --category=*) CATEGORY="${arg#*=}" ;; --project=*) PROJECT="${arg#*=}" ;; --limit=*) LIMIT="${arg#*=}" ;; esacdone\`\`\`
---description: Create a new agentargument-hint: <name> <description>---# Create AgentName: $ARGUMENTS[0]Description: $ARGUMENTS[1:]Validation:1. Check name format (lowercase, hyphens only)2. Check if agent already exists3. Validate description is not emptyIf validation fails, show error and exit.
---description: Create new featureargument-hint: [feature-name]---# Create FeatureFeature name: $ARGUMENTS[0]If not provided, ask: "What feature are you building?"Then ask: "Which files will this touch? (comma-separated)" "Any dependencies to install?" "Should I create tests?"Collect all inputs before proceeding.
# Test command with various inputs/my-command test/my-command "test with spaces"/my-command test arg1 arg2/my-command# Debug argument parsingecho "Arguments: $ARGUMENTS"echo "Count: ${#ARGUMENTS[@]}"echo "First: $ARGUMENTS[0]"echo "Rest: $ARGUMENTS[1:]"