본문으로 건너뛰기

슬래시 명령 라이브러리

중급

이것들을 .claude/commands/<name>.md(프로젝트) 또는 ~/.claude/commands/<name>.md(개인)에 복사하세요. 파일 이름이 명령이 됩니다. 동작 방식은 커스텀 슬래시 명령을 보세요.

/commit — 스테이징된 diff로부터 Conventional Commit 작성

---
description: Write a Conventional Commit message from the staged changes
---
Run `git diff --cached`. Write ONE Conventional Commit message (feat/fix/docs/
refactor/test/chore) describing the change. Output only the message.

/review — 파일 또는 diff 검토

---
description: Review code for bugs, edge cases, and clarity
---
Review the target for correctness bugs, missing edge cases, and clarity issues.
Report only real, high-confidence findings as a checklist. Target: $ARGUMENTS

/pr — PR 설명 초안 작성

---
description: Draft a pull request description from the branch diff
---
Compare against the default branch (`git diff main...HEAD`). Write a PR
description: what changed, why, and how it was verified. Use short sections.

/explain — 코드를 평이한 언어로 설명

---
description: Explain how something works
---
Explain $ARGUMENTS in plain language: what it does, how it flows, and any gotchas.
Read the relevant files first.

/scaffold — 새 컴포넌트/모듈

---
description: Scaffold a new component following project conventions
---
Create a new $ARGUMENTS following this repo's existing patterns (structure,
naming, tests). Show a plan first, then create the files.

/changelog — 최근 변경 요약

---
description: Summarize recent commits into a changelog entry
---
Run `git log --oneline -20`. Group the changes into Added / Changed / Fixed in
Keep a Changelog style.

:::tip 플러그인으로 공유하세요 팀이 즐겨 쓰는 명령(그리고 hooks와 스킬)을 플러그인으로 묶으면 모두가 한 번에 설치할 수 있습니다. :::

다음