commit-push skill
Conventional Commits 형식을 사용하여 로컬 변경 사항을 커밋하고 원격 저장소로 푸시합니다.
- GitHub 스타
- 87
- 파일
- 1
- 마지막 커밋
- 2026년 9월 15일
- 라이선스
- Apache-2.0
- 허용된 도구
- —
commit-push skill은 무엇을 하나요?
commit-push은(는) agent skill입니다. Conventional Commits 형식을 사용하여 로컬 변경 사항을 커밋하고 원격 저장소로 푸시합니다.
skill의 SKILL.md에서 생성된 요약입니다.
commit-push skill 정보
터미널 기반 환경에서 작업하는 개발자를 위해 코드 변경 사항의 스테이징, 커밋, 푸시 프로세스를 자동화합니다. 에이전트는 코딩 작업을 완료하고 로컬 수정 사항을 원격 저장소와 동기화해야 할 때 이 도구를 로드해야 합니다. 이 프로세스는 diff를 정확히 이해하고, 커밋 메시지가 Conventional Commits 형식을 준수하며, 스테이징 영역이 의도한 변경 사항과 일치하는지 확인하기 위해 엄격한 검증 단계를 거칩니다.
이 SKILL은 git status, git diff, git log와 같은 표준 git 명령어를 활용하여 변경 사항이 feat, fix, docs, refactor, test, chore, perf 또는 ci 중 무엇인지 분석합니다. type, 선택 사항인 scope, description을 포함하는 구조화된 커밋 메시지를 생성하며, 여러 줄의 본문과 이슈 참조도 처리합니다. 워크플로우는 git push 명령 실행 후 로컬 브랜치가 upstream과 최신 상태로 동기화되었는지 확인하며 마무리됩니다.
agent가 수행할 수 있는 작업
- 1커밋 히스토리 표준화AI 에이전트가 모든 로컬 변경 사항을 Conventional Commits 사양에 맞춰 포맷팅하여 깔끔한 프로젝트 로그를 유지할 수 있습니다.
- 2Breaking Changes 문서화에이전트가 커밋 scope에 적절한 느낌표를 추가하여 하위 호환성이 깨지는 업데이트를 식별하고 표시할 수 있습니다.
- 3로컬 작업과 원격 저장소 동기화에이전트가 완료된 기능을 원격 저장소에 푸시하고 브랜치가 성공적으로 업데이트되었는지 확인할 수 있습니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
commit-push skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 commit-push skill 설치
/plugin marketplace add existential-birds/beagle /plugin install beagle-core@existential-birds
Claude Code에 commit-push skill 설치
~/.claude/skills/commit-push/SKILL.md
$ npx degit existential-birds/beagle/plugins/beagle-core/skills/commit-push ~/.claude/skills/commit-pushClaude Code (project)에 commit-push skill 설치
.claude/skills/commit-push/SKILL.md
$ npx degit existential-birds/beagle/plugins/beagle-core/skills/commit-push .claude/skills/commit-pushCodex에 commit-push skill 설치
~/.agents/skills/commit-push/SKILL.md
$ npx degit existential-birds/beagle/plugins/beagle-core/skills/commit-push ~/.agents/skills/commit-pushGemini CLI에 commit-push skill 설치
~/.gemini/skills/commit-push/SKILL.md
$ npx degit existential-birds/beagle/plugins/beagle-core/skills/commit-push ~/.gemini/skills/commit-pushClaude.ai에 commit-push skill 설치
npx degit existential-birds/beagle/plugins/beagle-core/skills/commit-push commit-push && zip -r commit-push.zip commit-push # claude.ai → Customize → Skills → + → Create skill → Upload a skill → commit-push.zip
SKILL.md
GitHub에서 보기Commit and Push
Commit all local changes following Conventional Commits format and push to remote.
Gates
Complete in order. Do not run the next action until the Pass condition is satisfied (use command output as evidence, not memory).
- Diff understood — Pass when: Outputs from
git status,git diff, andgit diff --cachedare consistent with your one-sentence description of what changed (or you recorded that there is nothing to commit). - Commit line chosen — Pass when: You have a draft first line
type(scope): description(ortype: descriptionif omitting scope) that matches the change set you intend to ship. - Staging matches intent — Pass when: After
git add,git diff --cached --stat(and spot-checkgit diff --cachedif needed) shows only the paths you meant to include; adjust staging before committing if not. - Push target confirmed — Pass when: Current branch and remote are the ones you intend (
git branch -vv,git remote -v); then push. - Remote caught up — Pass when:
git statusis clean andgit status -sbshows the branch is up to date with its configured upstream (no unexpected unpushed commits left for this task).
Step 1: Gather Context
Run these commands in parallel to understand the changes:
# See all untracked and modified files
git status
# See staged and unstaged changes
git diff
git diff --cached
# See recent commit messages for style reference
git log --oneline -10
Step 2: Analyze Changes
Review the changes and determine:
-
Type: What kind of change is this?
feat- New feature or capabilityfix- Bug fixdocs- Documentation onlyrefactor- Code restructure without behavior changetest- Adding or updating testschore- Maintenance, dependency updatesperf- Performance improvementci- CI/CD changes
-
Scope: Which component is affected?
- Examine the changed files and determine the appropriate scope
- Use consistent scope names within the project (check
git logfor patterns) - (omit scope for cross-cutting changes)
-
Breaking: Does this break backward compatibility? If yes, add ! after scope.
Step 3: Write Commit Message
Format:
type(scope): description
[optional body explaining why, not what]
[optional footer with issue references]
Rules:
- Use imperative mood: "add feature" not "added feature"
- Keep first line under 72 characters
- Focus on why in the body, the diff shows what
- Reference issues:
Closes #123orFixes #456
Step 4: Stage, Commit, and Push
Satisfy Gates 1–3 before git commit; satisfy Gate 4 before git push; satisfy Gate 5 after push.
# Stage all changes (or selectively stage)
git add -A
# Gate 3: confirm staged set before committing
git diff --cached --stat
# Commit with message (use HEREDOC for multi-line)
git commit -m "$(cat <<'EOF'
type(scope): description
Optional body explaining the motivation.
Closes #123
EOF
)"
# Push to remote
git push
Examples
# Simple feature
git commit -m "feat(api): add pagination support to list endpoints"
# Bug fix with body
git commit -m "$(cat <<'EOF'
fix(auth): handle token expiration during long requests
The previous implementation did not account for tokens expiring
during the processing of long-running requests.
Fixes #42
EOF
)"
# Breaking change
git commit -m "$(cat <<'EOF'
feat!(api): change response format for user endpoints
BREAKING CHANGE: The `status` field is now an object with `state` and
`message` properties instead of a plain string.
EOF
)"
Optionally append a co-author or footer trailer per project convention (e.g. a Co-Authored-By: line or a tool-attribution footer). Omit it when the project has no such convention.
Step 5: Verify
After pushing, satisfy Gate 5: run git status and git status -sb and confirm a clean tree and upstream sync (or an expected ahead/behind you can explain, e.g. fork workflow).
이 스킬의 파일
1commit-push skill 질문
Claude Code에 commit-push skill을 어떻게 설치하나요?
npx degit existential-birds/beagle/plugins/beagle-core/skills/commit-push ~/.claude/skills/commit-push를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
commit-push skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
이 SKILL은 어떤 커밋 형식을 사용하나요?
이 SKILL은 type, 선택 사항인 scope, description을 포함하는 Conventional Commits 형식을 따릅니다.
커밋 메시지의 description은 어떻게 작성해야 하나요?
'added feature' 대신 'add feature'와 같이 명령형을 사용해야 하며, 첫 줄은 72자 이내로 유지해야 합니다.