.claude/skills/slash-command-creator/SKILL.md
Guide for creating Claude Code slash commands. Use when the user wants to create a new slash command, update an existing slash command, or asks about slash command syntax, frontmatter options, or best practices.
npx skillsauth add greatsumini/cc-system slash-command-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create custom slash commands for Claude Code to automate frequently-used prompts.
Initialize a new command:
scripts/init_command.py <command-name> [--scope project|personal]
Slash commands are Markdown files with optional YAML frontmatter:
---
description: Brief description shown in /help
---
Your prompt instructions here.
$ARGUMENTS
| Scope | Path | Shown as |
|----------|-------------------------|-------------------|
| Project | .claude/commands/ | (project) |
| Personal | ~/.claude/commands/ | (user) |
Organize commands in subdirectories:
.claude/commands/frontend/component.md → /component shows "(project:frontend)"~/.claude/commands/backend/api.md → /api shows "(user:backend)"All arguments - $ARGUMENTS:
Fix issue #$ARGUMENTS following our coding standards
# /fix-issue 123 → "Fix issue #123 following..."
Positional - $1, $2, etc.:
Review PR #$1 with priority $2
# /review 456 high → "Review PR #456 with priority high"
Execute shell commands with ! prefix (requires allowed-tools in frontmatter):
---
allowed-tools: Bash(git status:*), Bash(git diff:*)
---
Current status: !`git status`
Changes: !`git diff HEAD`
Include file contents with @ prefix:
Review @src/utils/helpers.js for issues.
Compare @$1 with @$2.
| Field | Purpose | Required |
|---------------------------|----------------------------------------|----------|
| description | Brief description for /help | Yes |
| allowed-tools | Tools the command can use | No |
| argument-hint | Expected arguments hint | No |
| model | Specific model to use | No |
| disable-model-invocation| Prevent SlashCommand tool invocation | No |
See references/frontmatter.md for detailed reference.
See references/examples.md for complete examples including:
scripts/init_command.py <name>data-ai
유튜브 채널을 등록하고 새 컨텐츠를 수집하여 자막 기반 요약을 생성하는 skill. 사용자가 (1) 유튜브 채널 등록/관리를 요청하거나, (2) 등록된 채널의 새 영상 수집을 요청하거나, (3) 유튜브 영상 요약을 요청할 때 사용. 데이터는 .reference/ 폴더에 YAML 형식으로 저장됨.
tools
Create specialized Claude Code sub-agents with custom system prompts and tool configurations. Use when users ask to create a new sub-agent, custom agent, specialized assistant, or want to configure task-specific AI workflows for Claude Code.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
tools
Create and configure Claude Code hooks for customizing agent behavior. Use when the user wants to (1) create a new hook, (2) configure automatic formatting, logging, or notifications, (3) add file protection or custom permissions, (4) set up pre/post tool execution actions, or (5) asks about hook events like PreToolUse, PostToolUse, Notification, etc.