Agent skill

command-creator

Create custom slash commands for Claude Code

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/MacHu-GWU/sanhe-claude-code-plugins/tree/main/plugins/claude-code/claude-code-plugin-creator/skills/command-creator

SKILL.md

Command Creator

Create custom slash commands following the official Claude Code documentation.

Instructions

Before creating any slash command, read the reference documentation:

  • references/Slash-Commands.md - Official slash command documentation

When creating multiple slash commands in sequence, reuse the same reference without re-reading.

Key Points

  • Project commands: .claude/commands/
  • Personal commands: ~/.claude/commands/
  • Use frontmatter for metadata (allowed-tools, description, argument-hint, etc.)
  • Use $ARGUMENTS for all args or $1, $2 for positional args
  • Use ! prefix for bash execution
  • Use @ prefix for file references

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results