command-development

Originally fromovachiever/droid-tings
Installation
Summary

Markdown-based slash commands for defining reusable prompts with dynamic arguments, file references, and bash execution.

  • Commands are instructions written for Claude (not users), stored as .md files in .claude/commands/, ~/.claude/commands/, or plugin directories
  • YAML frontmatter configures description, allowed tools, model selection, and argument hints; use $ARGUMENTS, $1, $2 for dynamic substitution and @file-path syntax for file inclusion
  • Bash execution via backticks gathers dynamic context; allowed-tools restricts access (e.g., Bash(git:*) for git-only commands)
  • Organize commands in flat or namespaced structures; plugin commands access ${CLAUDE_PLUGIN_ROOT} for portable resource references and can integrate with agents, skills, and hooks
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Command Development for Claude Code

Note: The .claude/commands/ directory is a legacy format. For new skills, use the .claude/skills/<name>/SKILL.md directory format. Both are loaded identically — the only difference is file layout. See the skill-development skill for the preferred format.

Overview

Slash commands are frequently-used prompts defined as Markdown files that Claude executes during interactive sessions. Understanding command structure, frontmatter options, and dynamic features enables creating powerful, reusable workflows.

Key concepts:

  • Markdown file format for commands
  • YAML frontmatter for configuration
  • Dynamic arguments and file references
  • Bash execution for context
  • Command organization and namespacing

Command Basics

What is a Slash Command?

Related skills

More from anthropics/claude-plugins-official

Installs
2.4K
GitHub Stars
19.2K
First Seen
Feb 5, 2026