command-creator

Create Claude Code slash command definitions with YAML frontmatter and Markdown bodies.

6|1|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/auldsyababua/instructor-workflow --skill command-creator-auldsyababua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-creator
Source: https://github.com/auldsyababua/instructor-workflow/tree/main/skills/command-creator
Command: npx skills add https://github.com/auldsyababua/instructor-workflow --skill command-creator-auldsyababua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the creation of Claude Code slash command prompts with YAML frontmatter and markdown bodies, enabling repeatable command templates.

Core Features & Use Cases

  • Frontmatter-based command creation with optional args and bash support
  • YAML frontmatter validation and template scaffolding
  • Directory organization for project commands and user commands

Quick Start

Create a new command with a descriptive name and an optional argument hint; customize the body later.

Frequently Asked Questions about command-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create reusable Claude Code slash commands?

Create slash commands by defining Markdown files in .claude/commands/ with YAML frontmatter containing description and optional fields, then invoke them via /command-name. The frontmatter supports dynamic placeholders ($ARGUMENTS, $1, $2), file references with @, allowed-tools configuration, and optional Bash pre-execution for automation.

What's the structure of a Claude Code command file?

Command files use YAML frontmatter at the top to specify metadata like description, arguments, and tool constraints, followed by a Markdown body. Frontmatter can include disable-model-invocation, bash execution blocks, and file reference scoping; subdirectories under .claude/commands/ organize commands by project or context.

Can I use placeholders and file references in command templates?

Yes. Commands support argument placeholders ($ARGUMENTS for all args, $1/$2 for specific positions) and file references using @ syntax. Bash pre-execution runs before the command, and allowed-tools restricts which tools the agent can invoke, giving you precise control over command behavior and scope.

How do I share commands across environments?

Organize commands in .claude/commands/ subdirectories scoped to projects or users, and use symlink integration to share command definitions across environments. This lets teams maintain centralized command templates while keeping them available locally in each workspace.

Do I need to validate YAML frontmatter when creating commands?

The Skill includes YAML frontmatter validation and template scaffolding to ensure your command definitions are valid before deployment. This prevents syntax errors and makes it easier to bootstrap new commands with correct structure and optional fields.

What control do I have over which models and tools a command uses?

Commands support allowed-tools to restrict tool access and disable-model-invocation to prevent model execution when needed. These model controls let you create commands that are purely Bash-based, tool-only, or fully model-integrated depending on your use case.