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.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sangrokjung/claude-forge/HEAD/commands/quick-commit.md -o ~/.claude/commands/quick-commit.mdquick-commit.md
# /quick-commit - 빠른 커밋 (v6)
---
## 0단계: 메시지 확인
커밋 메시지가 인자로 제공되었는지 확인한다.
메시지가 없으면 에러를 출력하고 종료한다.
```
사용법: /quick-commit "커밋 메시지"
```
---
## 1단계: 변경사항 확인
```bash
git status --short
git diff --stat
```
변경사항이 없으면 에러를 출력하고 종료한다.
변경 규모 체크:
- 변경 파일 3개 초과 또는 20줄 초과 시 경고:
```
변경이 큽니다. 전체 워크플로우 권장:
/handoff-verify → /sync-docs → /commit-push-pr --merge
그래도 빠른 커밋하려면 "계속"이라고 입력하세요.
```
---
## 2단계: 빠른 검증
`git diff`로 변경 내용을 확인한다:
- 명백한 오류만 체크
- 문제 있으면 안내 후 중단
---
## 3단계: 커밋 실행
```bash
git add -A
git commit -m "{메시지}"
git push
```
---
## 4단계: 출력
### 성공 시
```
════════════════════════════════════════════════════════════════
Quick Commit v6
════════════════════════════════════════════════════════════════
커밋: {short_hash}
메시지: {메시지}
변경: +{N} -{N} ({N} files)
════════════════════════════════════════════════════════════════
```
### 메시지 누락 시
```
════════════════════════════════════════════════════════════════
Quick Commit v6
════════════════════════════════════════════════════════════════
커밋 메시지가 필요합니다.
사용법: /quick-commit "fix: 오타 수정"
════════════════════════════════════════════════════════════════
```
### 변경사항 없을 때
```
════════════════════════════════════════════════════════════════
Quick Commit v6
════════════════════════════════════════════════════════════════
커밋할 변경사항이 없습니다.
git status: clean
════════════════════════════════════════════════════════════════
```전문 에이전트 자동 라우팅. 법률, 재무, 특허, SEO, 마케팅, 기획, BM 설계(BMC/Lean/JTBD/Wardley/Blue Ocean/Lightning Sprint), 코드리뷰, 아키텍처, 견적, CRM, HR/인사, 노무(노동법/해고/산재/취업규칙), 리서치, 데이터 분석, 제1원칙 사고, 주식 투자, 부동산 투자, 명리학, 회사운영(노란우산/창업혜택/고용지원/세무일정), 디자인 제작(배너/카드뉴스/SNS/광고/인포그래픽), FAQ/지식베이스(KCS/셀프서비스/아티클), 고객지원(CS응답/에스컬레이션) 등 50+ 에이전트
|
계획부터 PR까지 원버튼 자동 실행. 중간에 멈추지 않습니다.
|
빌드 에러를 자동으로 분석하고 수정합니다.
Use when detecting and running project build systems automatically. Supports npm/yarn/pnpm/pip/poetry/gradle/maven/cargo/go/make. Triggers on build, test run, project setup, package manager detection.
|
Use when starting Claude Code projects, writing CLAUDE.md/spec.md, dispatching subagents, or requesting Agent Teams parallel development. Covers Spec-Driven Development, Context Engineering, and post-dev workflow.