본문으로 건너뛰기
cccskills
무료GitHub에 공개

git-commit-push-pr

Commit all changes, push to remote, and open a pull request in one go. Use when the user says "commit push pr", "ship it", "open a pr", or invokes /git-commit-push-pr.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Git Commit, Push & PR

Context

  • Current git status: !git status
  • Current git diff (staged and unstaged changes): !git diff HEAD
  • Current branch: !git branch --show-current
  • Main branch: !git rev-parse --verify main 2>/dev/null && echo main || echo master
  • Recent commits: !git log --oneline -10

Your task

Review the changes in the repo and ship them as a pull request in one go.

Step 1 — Analyze changes and plan commits

Before committing, analyze git status and git diff HEAD to identify logically distinct groups of changes. Group by feature or concern — for example:

  • New files that form a self-contained module → one commit
  • Modifications to an existing file that depend on the new module → separate commit
  • Config or tooling changes → separate commit

Print a short commit plan (list of planned commits with the files in each) so the grouping is visible.

Step 2 — Commit

  • Create one commit per logical group identified above. Stage only the files for that group using explicit file names (never git add -A; never stage .env or credential files).
  • Write a clean, descriptive commit message for each commit using conventional commits style.
  • End every commit message with: Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
  • Use a HEREDOC to pass the commit message for correct formatting.

Step 3 — Push

  • If the current branch is main or master, create a new feature branch first (use a descriptive name based on the changes).
  • Push the branch to origin with -u to set upstream tracking.

Step 4 — Pull Request

  • Create a PR using gh pr create targeting the main branch.
  • Keep the PR title short (under 70 characters), using conventional commit style.
  • Use a HEREDOC for the PR body with this format:
## Summary
<1-3 bullet points describing the changes>

## Test plan
- [ ] <testing checklist items>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Step 5 — Report

  • Print the PR URL so the user can see it.

Rules

  • Do all steps in as few messages as possible. Parallelize independent tool calls.
  • Do not read or explore code beyond what git provides in the context above.
  • Do not use interactive git flags (-i).
  • Never force-push or amend existing commits.
  • If a pre-commit hook fails, fix the issue and create a NEW commit (do not amend).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request. Use when the user says "close task and ship it", "close task commit push pr", or invokes /close-task-commit-push-pr.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devoxx/DevoxxGenieIDEAPlugin6852026년 10월 18일 업데이트

release

무료

Release a new version of the DevoxxGenie IntelliJ plugin — prompt for the target version, bump it in the build files, write a curated CHANGELOG.md entry and plugin.xml change-notes from the git/PR history since the last tag, build to verify, then commit, tag, and publish a matching GitHub release. Use this whenever the user wants to cut, ship, publish, or tag a new plugin release, bump the version for a release, or asks to "release vX.Y.Z" / "do a release" / "make a new version".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devoxx/DevoxxGenieIDEAPlugin6852026년 10월 18일 업데이트

review

무료

Review local code changes for bugs, regressions, missing tests, and pragmatic improvements. Use when the user asks to review the current changes from `git status`, or to review a specific backlog task by id such as `task-65` or `TASK-65`. Also trigger when the user says things like "review", "review current changes", "check my changes", "look over the diff", or "review task-42".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devoxx/DevoxxGenieIDEAPlugin6852026년 10월 18일 업데이트

Create a feature branch for a backlog task, switch to it, and start implementation. Use when the user says "start task-123", "work on task-123", "implement task-123", or invokes /start-task with a task ID.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devoxx/DevoxxGenieIDEAPlugin6852026년 10월 18일 업데이트

devoxx의 스킬 모두 보기

이 스킬의 문제 신고