/git-workflow:commitfrom Git Workflow
Validate and split the current worktree into logical Conventional Commits linked to a GitHub Issue.
Ships in Git Workflow. 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.
현재 작업 트리의 변경을 GitHub Issue 단위로 검토하고 논리적인 커밋으로 나눈다.
${CLAUDE_PLUGIN_ROOT}/references/github-conventions.md를 읽고 branch와 commit 규칙을 적용한다.
현재 브랜치와 작업 트리를 확인한다.
git branch --show-current
git status --short
이전 handoff가 있으면 ${CLAUDE_PLUGIN_ROOT}/references/workflow-handoff.md의 freshness 규칙으로 Issue, HEAD, 범위와 quality 상태를 다시 확인한다.
브랜치 이름의 <type>/ 바로 뒤에서 GitHub Issue 번호를 추출한다.
main, master, dev 같은 보호 대상 브랜치에는 직접 커밋하지 않는다.현재 저장소의 Issue를 조회한다.
gh issue view <issue-number> --json number,title,body,labels,state,url
마지막 코드 변경 이후 quality-check skill이 실행되지 않았다면 해당 검증 절차를 먼저 수행한다.
tdd-workflow의 quality-check skill을 사용할 수 있으면 실행한다.변경 전체를 확인한다.
git diff --stat
git diff
git diff --cached
git status --short
.env, 인증 키, 토큰, 개인 정보, 대용량 생성 파일이 포함되지 않았는지 검사한다.Issue의 작업 범위와 변경 내용을 기준으로 파일을 논리적 단위로 그룹화한다.
각 그룹을 명시적으로 stage하고 diff를 다시 확인한 뒤 커밋한다.
git add <files>
git diff --cached
git commit -m "<conventional-commit> (#<issue-number>)"
모든 커밋 후 상태를 확인한다.
git status --short
git log --oneline -n <생성한-커밋-수>
완료 후 다음 형식으로 출력한다.
✅ 커밋 완료 (N개) — GitHub Issue #123
- <commit hash> <commit message>
커밋하지 않은 변경:
- 없음 또는 제외한 파일과 이유
완료 보고 뒤에 commit hash, 남은 변경과 현재 HEAD를 반영한 committed handoff를 추가하고 다음 skill을 pr로 기록한다.
git push는 명시적으로 요청받았을 때만 실행한다.git add . 대신 커밋 그룹에 속한 파일 경로를 명시한다.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gulsam00/sham-agent-tools --plugin git-workflow2 skills in this plugin