Claude Code / 에이전트

Custom Slash Command

Claude Code / 에이전트

프로젝트용 슬래시 커맨드 프롬프트 작성

언제 쓰나 · 반복 작업을 /command 로 만들 때

#slash-command#workflow
다운로드
Create a slash command file `.claude/commands/{{command}}.md`.

The file body is the prompt that runs when the user types `/{{command}} {{args}}`.

Structure:
1. One-line statement of the command's goal.
2. Steps to perform, each with a verification check.
3. What to output at the end (a summary, a diff, a report).

Use `$ARGUMENTS` where the user's args should be injected. Keep side effects explicit and ask before anything irreversible.
jt · v1 · CC0-1.0 · 복사 0