Skip to main content
ClaudeWave
Slash Command745 repo starsupdated 24d ago

quick-commit

The quick-commit command executes a rapid git workflow by validating a commit message, checking for changes, and automatically staging, committing, and pushing modifications. Use this command for small, straightforward code fixes when you want to bypass the more comprehensive handoff-verify workflow, though it will prompt for confirmation if changes exceed three files or twenty lines.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/HEAD/commands/quick-commit.md -o ~/.claude/commands/quick-commit.md
Then start a new Claude Code session; the slash command loads automatically.

quick-commit.md

# /quick-commit - 빠른 커밋 (v6)

---

## 0단계: 메시지 확인

커밋 메시지가 인자로 제공되었는지 확인한다.
메시지가 없으면 에러를 출력하고 종료한다.

```
사용법: /quick-commit "커밋 메시지"
```

---

## 1단계: 변경사항 확인

```bash
git status --short
git diff --stat
```

변경사항이 없으면 에러를 출력하고 종료한다.

변경 규모 체크:
- 변경 파일 3개 초과 또는 20줄 초과 시 경고:
  ```
  변경이 큽니다. 전체 워크플로우 권장:
  /handoff-verify → /commit-push-pr

  그래도 빠른 커밋하려면 "계속"이라고 입력하세요.
  ```

---

## 2단계: 빠른 검증

`git diff`로 변경 내용을 확인한다:
- 명백한 오류만 체크
- 문제 있으면 안내 후 중단

---

## 3단계: 커밋 실행

```bash
git add -A
git commit -m "{메시지}"
git push
```

---

## 4단계: 출력

### 성공 시

```
════════════════════════════════════════════════════════════════
  Quick Commit v6
════════════════════════════════════════════════════════════════

  커밋: {short_hash}
  메시지: {메시지}
  변경: +{N} -{N} ({N} files)

  다음 단계: /sync (git pull + 문서 동기화)

════════════════════════════════════════════════════════════════
```

### 메시지 누락 시

```
════════════════════════════════════════════════════════════════
  Quick Commit v6
════════════════════════════════════════════════════════════════

  커밋 메시지가 필요합니다.

  사용법: /quick-commit "fix: 오타 수정"

════════════════════════════════════════════════════════════════
```

### 변경사항 없을 때

```
════════════════════════════════════════════════════════════════
  Quick Commit v6
════════════════════════════════════════════════════════════════

  커밋할 변경사항이 없습니다.
  git status: clean

════════════════════════════════════════════════════════════════
```
architectSubagent

Software architecture specialist for system design, scalability, and technical decision-making. Use PROACTIVELY when planning new features, refactoring large systems, or making architectural decisions.

build-error-resolverSubagent

Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur. Fixes build/type errors only with minimal diffs, no architectural edits. Focuses on getting the build green quickly.

code-reviewerSubagent

Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.

database-reviewerSubagent

PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.

doc-updaterSubagent

Documentation and codemap specialist. Use PROACTIVELY for updating codemaps and documentation. Runs /update-codemaps and /update-docs, generates docs/CODEMAPS/*, updates READMEs and guides.

e2e-runnerSubagent

End-to-end testing specialist using Vercel Agent Browser (preferred) with Playwright fallback. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.

plannerSubagent

Expert planning specialist for complex features and refactoring. Use PROACTIVELY when users request feature implementation, architectural changes, or complex refactoring. Automatically activated for planning tasks.

refactor-cleanerSubagent

Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it.