create-command
Create a new slash command following best practices. Use when establishing new CLI commands, documenting reusable command patterns, or building automated command templates.
What this skill does
# Create Custom Slash Command 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. **Coherence Mandate.** Every edit must produce one continuous, deliberate work. Rewrite over restructure, restructure over integrate, never append. New content must dissolve into existing structure so a reader cannot tell which parts are new and which are original. Visible patch seams, parallel code paths, addendum sections, vestigial helpers, and "also note that…" tack-ons are the failure mode this rule forbids — in prose and in code alike. The generated command must already read as a single coherent instruction sheet — purpose, tools, and workflow integrated into the template's voice — never as the template skeleton with the author's intent dropped into trailing notes or comment-style addenda for the next maintainer to merge. ## Purpose & Scope **What this command does NOT do**: - Modify existing commands (use update-command) - Create non-command files - Override existing files without confirmation **When to REJECT**: - Empty or unclear purpose - Command already exists - Invalid command name format - Updating existing commands - Creating regular markdown documentation - Modifying template files ## Workflow ultrathink: you'd perform the following steps ### Step 1: Follow Create Command Skill - Execute the create-command skill process ### Step 2: Reporting **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 ``` ## Examples ### Basic Command Creation ```bash /create-command fix-issue --purpose="fix bugs from issue tracker" # Generates: fix-issue.md # Tools: Bash, Edit, Read, Grep, Task ``` ### Analysis Command ```bash /create-command analyze-quality --purpose="analyze code quality and metrics" # Generates: analyze-quality.md # Tools: Read, Grep, Glob, Task # Pattern: Analysis skill ``` ### Build Command with Restrictions ```bash /create-command build-deploy --purpose="build and deploy application" # Generates: build-deploy.md # Tools: Bash(npm:*), Bash(docker:*), Read # Security: Restricted bash commands ``` ### Namespaced Testing Command ```bash /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 ``` ### Error Case Handling ```bash /create-command # Error: Missing command name # Prompt: "What command name would you like?" # Action: Wait for user input before proceeding ``` ### With Skill Override ```bash /create-command custom-task --purpose="perform custom analysis" --skill="analysis" # Uses analysis skill pattern # Configures read-only tools # Generates analytical skill structure ```
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.