command-creation

Create Claude Code slash commands with front matter and execution flow.

3|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/bcasci/hustle-marketplace --skill command-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-creation
Source: https://github.com/bcasci/hustle-marketplace/tree/main/hustle-plugin/skills/command-creation
Command: npx skills add https://github.com/bcasci/hustle-marketplace --skill command-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of Claude Code slash commands, ensuring they have proper front matter, optimized content, and follow best practices for reliable execution. It streamlines the process of creating custom AI commands, saving you time and effort.

Core Features & Use Cases

  • Front Matter Generation: Defines command interface with description, argument-hint, and allowed-tools for clear invocation.
  • Execution Flow Control: Automatically applies robust execution flow patterns for multi-step commands, preventing premature stopping and ensuring reliable completion.
  • Content Optimization: Integrates with the prompt-architecting skill to ensure command content is concise, clear, and bloat-free.
  • Argument Design: Guides the selection and implementation of command arguments ($ARGUMENTS vs. $1, $2) for flexible command usage.
  • Use Case: A developer frequently performs a multi-step git operation. Instead of typing out the full prompt each time, they can use this Skill to create a /git-sync command that automates the entire sequence, including user prompts and conditional logic, ensuring it executes reliably.

Quick Start

Create a user-level command named 'deploy-staging' that takes a branch name as an argument and deploys it. Make a project-level command 'review-pr' that takes a PR number and provides feedback.