Commit, push, and PR from a working branch off a chosen base, with structured Korean commit messages: '커밋해줘', '커밋하고 푸시해', '푸시해줘', '올려줘'. Branch-based commit expert. Selects a base branch, creates a working branch, and automatically generates structured commit messages in Korean. Use when user says 'commit', 'auto commit', 'push', 'ship it', 'PR올려', '커밋해줘', '커밋하고 푸시해', '변경사항 올려', '푸시해줘', '배포해줘', '올려줘'.
Ships in toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Creates a branch and automatically generates structured commit messages in Korean. Executes step-by-step according to the operation scope (commit/push/pr).
Variables: ORIG_BRANCH (current branch), BASE_BRANCH (branching base), HAS_STAGED, OPERATION_SCOPE, PR_CREATED=false, PR_URL=""
⚠️ MANDATORY: You MUST ask both questions via the host's question tool (question() in OpenCode, AskUserQuestion in Claude Code; a plain-text numbered question if neither exists, as on Codex CLI). A missing question tool is not a missing human: ask anyway. NEVER guess. NEVER skip. STOP if you proceed without asking.
Q1 — Base Branch: Run git branch -a --sort=-committerdate | sed '/HEAD ->/d' | head -20, present as options (allow custom). Strip remotes/origin/ prefix → BASE_BRANCH.
Q2 — Operation Scope: Present 3 options as a question:
commit — Commit only (Up to Step 4)push — Commit + Push (Up to Step 5)pr — Commit + Push + PR (Up to Step 6)Do NOT auto-set from trigger keyword. Wait for explicit selection.
Save current branch & check Detached HEAD:
ORIG_BRANCH=$(git branch --show-current)
[ -z "$ORIG_BRANCH" ] && { echo "⚠️ Detached HEAD. Please checkout a branch and try again."; false; }
Sync Base Branch (MUST before branch creation):
git fetch origin <base-branch>
LOCAL=$(git rev-parse <base-branch> 2>/dev/null)
REMOTE=$(git rev-parse origin/<base-branch> 2>/dev/null)
| Status | Action |
|---|---|
| Equal | Proceed |
| Behind (ff) | Stash → git checkout <base> → git pull origin <base> → git checkout $ORIG_BRANCH → restore stash |
| Ahead | Notify user, proceed |
| Diverged | STOP — request manual merge/rebase |
| No local | git branch --track <base> origin/<base> |
| No remote | Confirm with user, proceed local |
⚠️ "Behind" 상태에서는 반드시 git pull로 working tree까지 최신화해야 함. update-ref만으로는 working tree가 갱신되지 않아 이후 branch 생성 시 오래된 base에서 분기됨.
git status --porcelain && git diff --cached && git remote -v
HAS_STAGED=$([ -n "$(git diff --cached --name-only)" ] && echo true || echo false)
true → only staged files are targets (check --name-status for renames)false → all changes + untrackedNo changes → STOP. Do NOT run git log for conventions (already defined below).
<type>(<scope>): <Korean title, ≤50 chars, noun-ending>
<optional body: Korean bullets if 3+ files>
<AGENT_TRAILER>
AGENT_TRAILER = the invoking agent's own standard attribution (e.g. Claude Code: Co-Authored-By: Claude <[email protected]>; OpenCode/Sisyphus: Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)). Never sign as an agent that didn't do the work.
Type: feat | fix | refactor | docs | style | test | chore | perf
Scope: Core module/directory name. Omit if unclear → <type>: <Korean title>
Title: Korean, ≤50 chars, no period, noun-ending (~추가/~수정/~삭제/~개선)
Body: Korean bullets for major changes (3+ files). Omit if self-explanatory.
Trailer: Always include AGENT_TRAILER (never omit).
Examples:
feat(auth): JWT 토큰 기반 인증 미들웨어 추가
refactor(api): 에러 핸들링 구조 개선
- 커스텀 에러 클래스 ErrorResponse 도입
- try-catch를 공통 미들웨어로 통합
- 에러 응답 포맷 { code, message } 통일
Forbidden: Emojis | Polite/honorific language | English titles | Missing type | Over 50 chars | Paragraph-style body
Analyze changes → determine prefix (feat/, fix/, hotfix/, refactor/, docs/, test/, chore/) → propose name → user approval required.
Rules — ENGLISH ONLY, [a-z0-9/-], max 50 chars. Validate:
if echo "<branch-name>" | LC_ALL=C grep -q '[^ -~]'; then echo "⚠️ Non-ASCII. English only."; false; fi
if echo "<branch-name>" | grep -qEv '^[a-z0-9/-]{1,50}$'; then echo "⚠️ Invalid chars."; false; fi
STOP if matches protected: main, master, prod, dev, stag, stage.
Check duplicates: git show-ref --verify. If exists → propose -YYYYMMDD suffix (user approval required).
Case A: ORIG_BRANCH == BASE_BRANCH — no stash needed:
git checkout -b <branch-name>
# Changes (staged/unstaged/untracked) preserved automatically
Case B: ORIG_BRANCH ≠ BASE_BRANCH — stash, switch, reapply:
git stash push -u -m "auto-commit-push: temp stash"
STASH_REF="stash@{0}"
git checkout -b <branch-name> <base-branch>
# Apply stash
INDEX_RESTORED=false; CONFLICT_DETECTED=false
if [ "$HAS_STAGED" = true ]; then
git stash apply --index "$STASH_REF" && INDEX_RESTORED=true || {
echo "⚠️ --index failed, retrying without --index"
git stash apply "$STASH_REF" || CONFLICT_DETECTED=true
}
else
git stash apply "$STASH_REF" || CONFLICT_DETECTED=true
fi
[ "$CONFLICT_DETECTED" = false ] && git stash drop "$STASH_REF"
If conflict → hunk-level resolution (see below). Set INDEX_RESTORED=false after resolution.
Execute ONLY if CONFLICT_DETECTED=true.
git diff --name-only --diff-filter=Ugit checkout --conflict=merge . && git reset HEAD . → switch to $ORIG_BRANCH → git branch -D <branch-name> → stash preserved.git checkout --ours/--theirs -- "$FILE").git add $CONFLICTED_FILES → verify no remaining conflicts → git stash drop "$STASH_REF".Staging:
HAS_STAGED=true + INDEX_RESTORED=true → skipHAS_STAGED=true + INDEX_RESTORED=false → git add -A -- <staged-files> (include OLD/NEW paths for renames)HAS_STAGED=false → git add .Secret check (post-stage):
git diff --cached --name-only | grep -iE '\.env|credentials|secret|\.pem|\.key' | while IFS= read -r f; do
git restore --staged -- "$f" 2>/dev/null || git reset HEAD -- "$f"; echo "⚠️ Removed: $f"
done || true
Empty after secrets removed → delete branch, return to $ORIG_BRANCH, STOP.
Atomic commit splitting: Separate by modules/concerns. Include tests with implementation.
Execute:
git commit -m "<type>[(<scope>)]: <Korean title>" \
-m "- bullet (optional)" \
-m "<AGENT_TRAILER>"
Each -m = separate paragraph. Do NOT use \n inside -m.
Skip if OPERATION_SCOPE=commit.
git push -u origin <branch-name>
Protected branch force push forbidden. Diverged → propose --force-with-lease (user confirm). Rejected → STOP, guide rebase/merge (no auto pull-rebase).
Skip if OPERATION_SCOPE≠pr. Check existing: gh pr list --head <branch> --json url --jq '.[0].url // empty'. If exists → skip.
TITLE=$(git log --reverse --format=%s --max-count=1 "$BASE_BRANCH"..HEAD)
gh pr create --base <base> --title "$TITLE" --body "$(cat <<'EOF'
## Summary
<1-3 bullets>
## Changes
<commit list>
---
<AGENT_TRAILER>
EOF
)"
gh missing/unauth → guide install, provide manual URL: https://github.com/<owner>/<repo>/compare/<branch>?expand=1
Return to original branch: git checkout "$ORIG_BRANCH"
RESULT
======
Original Branch: <orig-branch> (Return complete)
Base Branch: <base-branch>
Branch: <branch-name>
Scope: <operation-scope>
Commits: <N>
- <hash> <message>
Push: ✅/❌
PR: $PR_URL or N/A
[a-z0-9/-] only. STOP on non-ASCII. Suggest English alternative.git checkout -b. Different base → stash & reapply.type(scope): 한글 제목 — noun-ending..env / secret files: never stage.OPERATION_SCOPE.ORIG_BRANCH after operations.Error Recovery:
git checkout <base>, git pull, return to orig, restore stashgit branch --track | No remote → confirm with usergit remote -v | gh not installed → guide install | gh unauth → gh auth login --webWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/toolkit:auto-commit-pushfrom toolkit
npx claudepluginhub siu9068/ggyul-skills --plugin toolkit49 skills in this plugin
/artifact-build디자인 소스 링크 하나(Claude 아티팩트, Claude Design 캔버스, Claude Docs, Figma, Open Design)를 받아 앱을 처음부터 완성까지 끌고 가는 오케스트레이터. claude.ai 채팅 링크(`claude.ai/chat/...?artifact=...`)나 아티팩트 링크를 붙여넣고 그대로 만들어 달라는 요청이면 링크가 문서인지 캔버스인지 확인하는 일까지 이 스킬이 맡으니 docs 도구로 먼저 가지 말고 이 스킬을 켠다. 모든 페이지를 읽어 스펙을 만들고, 프로젝트가 아직 없으면 project-setup 질문지만 사용자에게 묻고 세팅한 뒤, 나머지 결정은 자동승인 게이트가 내리며 api-creator, screen-creator, android-screen-creator, ios-screen-creator로 병렬 구현하고, 아티팩트 기준 검증에서 FAIL이 0이 될 때까지 갭을 고치고 다시 검증하기를 반복한다. 트리거: "이 아티팩트 링크대로 앱 만들어줘", "claude.ai/artifact/... 이거 보고 완성까지 자동으로 개발해줘", "피그마 링크 줄게 백엔드랑 안드로이드 iOS까지 다 만들어", "디자인 캔버스에 작업목록까지 있으니 끝까지 구현하고 검증해줘", "Open Design 시안대로 처음부터 끝까지". Do NOT use for: 링크 없이 스택만 세팅 (`project-setup`), 이미 있는 스펙 문서 구현 (`spec-implementer`), 한 줄 요청 구체화 후 구현 (`feature-builder`), 아티팩트에서 스펙만 뽑기 (`artifact-build-ingest`), 검증만 (`artifact-build-verify`), 레퍼런스로 토큰만 (`design-system-import`)./artifact-build-ingest디자인 소스 링크(Claude 아티팩트, Claude Design 캔버스, Claude Docs 문서, Figma 파일, Open Design 같은 웹 디자인 도구)의 모든 페이지를 로컬로 받아, 페이지 묶음마다 서브에이전트를 병렬로 돌려 요구사항을 뽑고, 출처 페이지가 달린 spec-creator 형식의 스펙(`docs/specs/` 아래 마크다운)과 소스 매니페스트로 만든다. 아티팩트에 작업목록 페이지가 있으면 그 목록을 작업 표의 뼈대로 쓴다. 트리거: "이 아티팩트 읽어서 스펙으로 뽑아줘", "피그마 링크 전체 페이지 요구사항 정리해줘", "claude.ai/artifact 링크 화면 목록이랑 작업 표로 만들어줘", "이 디자인 캔버스 모든 페이지 보고 docs/specs에 정리". 링크를 받아 세팅, 구현, 검증까지 끝까지 가는 전체 요청이면 `artifact-build` 경유. Do NOT use for: 인터뷰로 스펙을 새로 쓰는 일 (`spec-creator`), 이미 있는 스펙을 구현하는 일 (`spec-implementer`), 구현이 아티팩트를 충족하는지 판정하는 일 (`artifact-build-verify`), 레퍼런스로 디자인 토큰만 뽑는 일 (`design-system-import`, `native-design-system-import`).