commit
無料요청한 범위(경로·주제)의 변경만 목적별로 그룹화하여 커밋 생성. 범위를 지정하지 않으면 전체 변경 대상
日本語の概要は準備中です。原文の説明を表示しています。
Guide for creating and managing slash commands in Claude Code. Use when (1) creating new slash commands, (2) learning command syntax and features, (3) deciding between commands vs skills, (4) implementing advanced command features (arguments, hooks, bash execution), or (5) organizing and managing command libraries.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill provides guidance for creating and managing slash commands in Claude Code. Slash commands are Markdown files that define frequently used prompts and workflows for Claude to execute.
mkdir -p .claude/commands
echo "Review this code for security vulnerabilities:" > .claude/commands/security-review.md
Usage: /security-review
mkdir -p ~/.claude/commands
echo "Explain this code in simple terms:" > ~/.claude/commands/explain.md
Usage: /explain
Use slash commands for:
Use Skills for:
See skills-vs-commands.md for detailed comparison.
.claude/commands/) or Personal (~/.claude/commands/).claude/commands/(project) in /help~/.claude/commands/(user) in /helpPriority: Project commands take precedence over personal commands if both have the same name.
/plugin-name:command-name/mcp__<server-name>__<prompt-name>/mcp commandSee command-types.md for detailed information.
/<command-name> [arguments]
.md extension)$ARGUMENTS: All arguments as a single string$1, $2, $3: Individual positional argumentsSee syntax-and-arguments.md for detailed syntax and argument handling.
Command files support frontmatter for metadata:
---
description: Brief description of the command
allowed-tools: Bash(git add:*), Bash(git status:*)
argument-hint: [message]
---
| Field | Purpose | Default |
|---|---|---|
description | Brief description | First line of prompt |
allowed-tools | Tools command can use | Inherits from conversation |
argument-hint | Arguments expected | None |
model | Specific model to use | Inherits from conversation |
disable-model-invocation | Block Skill tool invocation | false |
hooks | Command-scoped hooks | None |
See frontmatter-reference.md for complete frontmatter reference.
Execute bash commands before the slash command runs:
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
---
Current git status: !`git status`
Use ! prefix to include bash command output in command context.
Include file contents using @ prefix:
Review the implementation in @src/utils/helpers.js
Define hooks scoped to command execution:
---
description: Deploy to staging
hooks:
PreToolUse:
- matcher: "Bash"
hooks:
- type: command
command: "./scripts/validate-deploy.sh"
once: true
---
Deploy to staging environment.
Trigger extended thinking by including extended thinking keywords in the command content.
See advanced-features.md for detailed advanced features.
Organize commands in subdirectories:
.claude/commands/
├── frontend/
│ ├── review.md # Creates /review (project:frontend)
│ └── test.md # Creates /test (project:frontend)
└── backend/
├── review.md # Creates /review (project:backend)
└── deploy.md # Creates /deploy (project:backend)
Subdirectories appear in the command description but don't affect the command name.
/ at any position to see available commands.claude/commands/~/.claude/commands/The Skill tool allows Claude to programmatically invoke commands during conversations. To encourage Claude to use a specific command, reference it in prompts or CLAUDE.md:
> Run /review before committing changes.
Commands with disable-model-invocation: true cannot be invoked via the Skill tool.
See best-practices.md for usage patterns and recommendations.
Basic command:
---
description: Review code for security vulnerabilities
---
Review this code for security vulnerabilities:
- SQL injection risks
- XSS vulnerabilities
- Authentication/authorization issues
- Input validation problems
Command with arguments:
---
argument-hint: [type] [description]
description: Create a git commit
---
Create a git commit with type "$1" and description "$2".
Commit format: $1: $2
Command with bash execution:
---
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
description: Create a commit from staged changes
---
## Current status
!git status
## Changes to commit
!git diff --cached
Create a meaningful commit message for these changes.
See examples.md for more examples.
Claude Code provides 35+ built-in commands. Common ones include:
| Command | Purpose |
|---|---|
/help | Get usage help |
/clear | Clear conversation history |
/context | Visualize current context usage |
/cost | Show token usage statistics |
/config | Open Settings interface |
/memory | Edit CLAUDE.md memory files |
/model | Select or change AI model |
/plan | Enter plan mode |
/review | Request code review |
Built-in commands are not available through the Skill tool.
| Issue | Solution |
|---|---|
| Command not found | Check filename matches command name |
| Arguments not working | Verify placeholder syntax ($1, $2, $ARGUMENTS) |
| Bash execution failing | Add command to allowed-tools |
| Project command ignored | Personal command may have same name (project takes precedence) |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
요청한 범위(경로·주제)의 변경만 목적별로 그룹화하여 커밋 생성. 범위를 지정하지 않으면 전체 변경 대상
日本語の概要は準備中です。原文の説明を表示しています。
GitHub URL로 Codex 스킬을 설치합니다. GitHub 저장소의 스킬 폴더 URL을 입력하면 해당 스킬의 모든 파일을 자동으로 다운로드하여 .codex/skills/ 에 설치합니다.
日本語の概要は準備中です。原文の説明を表示しています。
GitHub URL로 Claude Code 스킬을 설치합니다. GitHub 저장소의 스킬 폴더 URL을 입력하면 해당 스킬의 모든 파일을 자동으로 다운로드하여 .claude/skills/ 에 설치합니다.
日本語の概要は準備中です。原文の説明を表示しています。
Search and preview Irasutoya illustrations with the installed `irasutoya` command-line tool. Use this skill whenever the user wants to find, recommend, preview, randomly pull up, or get the page/image URL of an Irasutoya (いらすとや) image — from a topic, scene, Korean/Japanese/English phrase, visual description, emotion, character, object, or action — even if they don't say "Irasutoya" by name but clearly want a free, cute illustration for a slide, 발표자료, blog, doc, or chat. Also use it to optimize vague requests into fast Japanese keyword candidates and to return page/image URLs. Do NOT use it to generate brand-new AI art (e.g. DALL·E, Midjourney), draw charts or diagrams, design logos or icons, cut out/edit existing images, or recommend other stock-image sites — it only searches Irasutoya's existing catalog.
지정한 포트에서 실행 중인 프로세스를 찾아 종료합니다.
日本語の概要は準備中です。原文の説明を表示しています。
Run a Codex prompt repeatedly on a fixed interval. Use for "/loop", "run this every N minutes/hours", "poll X every 5 minutes", "repeat this Codex prompt", or any recurring interval-based Codex job. This is the interval-repeat companion to the separate `schedule` skill (cron / specific-time). For a durable, always-on alternative that survives reboots and terminal exits, prefer Codex app Automations; this local CLI is a terminal fallback that only fires while its daemon process is running.
日本語の概要は準備中です。原文の説明を表示しています。