commit-push-pr skill
브랜치 생성, 변경 사항 커밋, origin으로의 push, pull request 관리 등 전체 Git 워크플로우를 자동화합니다.
- GitHub 스타
- 75
- 파일
- 1
- 마지막 커밋
- 2026년 9월 14일
- 라이선스
- MIT
- 허용된 도구
- 10
commit-push-pr skill은 무엇을 하나요?
브랜치 생성, 변경 사항 커밋, origin으로의 push, pull request 관리 등 전체 Git 워크플로우를 자동화합니다.
skill의 SKILL.md에서 생성된 요약입니다.
commit-push-pr skill 정보
이 SKILL은 로컬 변경 사항부터 pull request에 이르기까지 전체 Git 라이프사이클을 자동화하여 개발자에게 제공합니다. main 브랜치에서 feature 브랜치로의 전환을 관리하고, staging 및 commit을 처리하며, 코드를 origin으로 push하고 GitHub CLI를 사용하여 pull request를 관리합니다. 사용자가 코드 변경을 완료하고 공식적인 리뷰 프로세스로 넘기고자 할 때 에이전트가 이 SKILL을 로드해야 합니다.
워크플로우는 표준 Git 명령과 GitHub CLI에 의존하며, 특히 git checkout, git commit, git push, gh pr 명령과 같은 도구를 사용합니다. main 브랜치에 대한 force push나 git hook 건너뛰기와 같은 파괴적인 동작을 방지하기 위한 안전 프로토콜이 포함되어 있습니다. 또한 pull request에 구조화된 요약과 테스트 계획 체크리스트가 포함되도록 보장합니다. 현재 브랜치와 main 브랜치 사이의 전체 diff를 분석하여 의미 있는 커밋 메시지와 PR 설명을 생성한다는 점이 특징입니다.
agent가 수행할 수 있는 작업
- 1새로운 기능 완성새 브랜치를 생성하고, 변경 사항을 커밋하며, 요약 및 테스트 계획이 포함된 pull request를 생성합니다.
- 2기존 pull request 업데이트이미 열려 있는 pull request의 제목과 본문을 수정합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
commit-push-pr skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 commit-push-pr skill 설치
/plugin marketplace add sneg55/agent-starter /plugin install agent-starter@agent-starter
Claude Code에 commit-push-pr skill 설치
~/.claude/skills/commit-push-pr/SKILL.md
$ npx degit sneg55/agent-starter/skills/commit-push-pr ~/.claude/skills/commit-push-prClaude Code (project)에 commit-push-pr skill 설치
.claude/skills/commit-push-pr/SKILL.md
$ npx degit sneg55/agent-starter/skills/commit-push-pr .claude/skills/commit-push-prCodex에 commit-push-pr skill 설치
~/.agents/skills/commit-push-pr/SKILL.md
$ npx degit sneg55/agent-starter/skills/commit-push-pr ~/.agents/skills/commit-push-prGemini CLI에 commit-push-pr skill 설치
~/.gemini/skills/commit-push-pr/SKILL.md
$ npx degit sneg55/agent-starter/skills/commit-push-pr ~/.gemini/skills/commit-push-prClaude.ai에 commit-push-pr skill 설치
npx degit sneg55/agent-starter/skills/commit-push-pr commit-push-pr && zip -r commit-push-pr.zip commit-push-pr # claude.ai → Customize → Skills → + → Create skill → Upload a skill → commit-push-pr.zip
자동 검사
2026년 11월 15일에 실행됨전체 보고서 →아직 검증되지 않았습니다. 스킬은 점수 80, 심각한 발견 없음, 검사에 충분한 데이터가 필요합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능sneg55/agent-starter/skills/commit-push-pr is public and reachablegithub.com/sneg55/agent-starter/tree/HEAD/skills/commit-push ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-09-14github.com/sneg55/agent-starter/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/sneg55/agent-starter/blob/HEAD/skills/commit-push ↗통과
- 사전 허용 도구가 제한됨Bash(git push:*) lets the agent download, delete, escalate or reach other machines without askinggithub.com/sneg55/agent-starter/blob/HEAD/skills/commit-push ↗결함 발견
- SKILL.md가 Agent Skills 형식을 따름the description does not say when to use the skillgithub.com/sneg55/agent-starter/blob/HEAD/skills/commit-push ↗결함 발견
SKILL.md
GitHub에서 보기Commit, Push, and Open PR
Context
Gather this context first:
git statusgit diff HEADgit branch --show-currentgit diff main...HEAD(or default branch)gh pr view --json number 2>/dev/null || true
Git Safety Protocol
- NEVER update the git config
- NEVER run destructive/irreversible git commands (like push --force, hard reset, etc) unless the user explicitly requests them
- NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
- NEVER run force push to main/master, warn the user if they request it
- Do not commit files that likely contain secrets (.env, credentials.json, etc)
- Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported
Task
Analyze ALL changes that will be included in the pull request - look at ALL commits from git diff main...HEAD, not just the latest commit.
Based on the changes:
1. Create branch (if on main/master)
Use the format username/feature-name:
git checkout -b username/descriptive-feature-name
2. Create a single commit
Use heredoc syntax for the message:
git commit -m "$(cat <<'EOF'
Commit message here.
EOF
)"
- Follow the repo's commit message style (check
git log --oneline -10) - Focus on "why" not "what"
- Keep it concise (1-2 sentences)
3. Push the branch
git push -u origin HEAD
4. Create or update PR
Check if a PR already exists (from the gh pr view output above).
If PR exists - update it:
gh pr edit --title "Short title" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>
## Test plan
- [ ] Test item 1
- [ ] Test item 2
EOF
)"
If no PR - create one:
gh pr create --title "Short, descriptive title" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>
## Test plan
- [ ] Test item 1
- [ ] Test item 2
EOF
)"
Rules:
- Keep PR titles under 70 characters. Use the body for details.
- Summary should be 1-3 bullet points covering WHAT changed and WHY
- Test plan should be a checklist of verification steps
5. Return the PR URL
Do all of the above in a single message using multiple tool calls. Return the PR URL when done.
이 스킬의 파일
1commit-push-pr skill 질문
Claude Code에 commit-push-pr skill을 어떻게 설치하나요?
npx degit sneg55/agent-starter/skills/commit-push-pr ~/.claude/skills/commit-push-pr를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
commit-push-pr skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
git 작업 중 어떤 안전 프로토콜이 적용되나요?
이 SKILL은 git config 업데이트, 권한 없는 force push와 같은 파괴적인 명령 실행, hook 건너뛰기 또는 대화형 플래그 사용을 방지합니다.
pull request 설명은 어떻게 구성되나요?
pull request에는 짧은 제목과 함께 1~3개의 불렛 포인트로 구성된 요약 및 테스트 계획 체크리스트가 포함됩니다.
현재 브랜치에 이미 pull request가 존재하면 어떻게 되나요?
새로운 pull request를 생성하는 대신, 기존 pull request의 제목과 본문을 업데이트합니다.