git-pr-changelog
Manages git commits, branch pushing, PR creation, and changelog updates.
Install
mkdir -p .claude/skills/git-pr-changelog && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18310" && unzip -o skill.zip -d .claude/skills/git-pr-changelog && rm skill.zipInstalls to .claude/skills/git-pr-changelog
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create commits, push branches, open pull requests (gh or manual), and update changelogs with PR numbers. Use when a user asks for commit/push/PR creation or changelog updates tied to a PR.Key capabilities
- →Inspect repository state
- →Stage specific changes
- →Commit changes with a clear message
- →Push branches to remote
- →Create pull requests using GitHub CLI or compare URL
How it works
The skill orchestrates a standard Git workflow by inspecting the repository state, staging changes, committing, pushing, creating a pull request, and updating the `CHANGELOG.md` file with the PR number.
Inputs & outputs
When to use git-pr-changelog
- →Opening a new pull request
- →Updating project changelogs
- →Standardizing git workflows
About this skill
Git PR + Changelog Workflow
Overview
Execute the standard flow: verify repo state, stage changes, commit, push, open a PR, and update CHANGELOG.md with the PR number.
Workflow
1) Inspect repo state
- Confirm repo root:
git rev-parse --show-toplevel - Check status:
git status -sb - Note branch:
git rev-parse --abbrev-ref HEAD - Check remotes:
git remote -v
If there are unrelated changes, keep them untouched and only stage the files requested by the user.
2) Stage changes
- Stage specific paths:
git add <path>... - If the user did not specify which files to include, ask before staging everything.
3) Commit
- Use a clear message:
git commit -m "<message>" - Do not amend or reword existing commits unless explicitly asked.
4) Push
- If upstream is missing, set it:
git push -u origin <branch> - Otherwise:
git push
5) Create PR
Prefer GitHub CLI if available:
- Check:
command -v gh - Create:
gh pr create --fill - Capture PR number/URL:
gh pr view --json number,url
If gh is unavailable, provide the compare URL:
- Get remote URL:
git remote get-url origin - Build:
https://github.com/<org>/<repo>/compare/<branch>?expand=1
6) Update changelog
- Find
CHANGELOG.md(usually repo root); search forUnreleasedor the latest version section. - Add a bullet under the correct section with the PR number, e.g.
- add clause loader concurrency (#1234). - If the PR number is not known yet, update it after the PR is created.
7) Commit changelog
- Stage changelog only:
git add CHANGELOG.md - Commit as a follow-up:
git commit -m "Update changelog for <topic>" - Push:
git push
Output checklist
- Provide commit SHA(s) and the PR URL.
- Mention changelog location and the inserted entry.
When not to use it
- →When the user does not want to update `CHANGELOG.md` with the PR number
- →When the user explicitly asks to amend or reword existing commits
- →When the user does not specify which files to include for staging
Prerequisites
Limitations
- →The skill will not amend or reword existing commits unless explicitly asked.
- →The skill will ask the user before staging everything if specific files are not provided.
- →The skill updates `CHANGELOG.md` only after the PR is created if the PR number is not known.
How it compares
This skill automates the entire Git commit-push-PR-changelog update sequence, including checking the repo state and using GitHub CLI, which is more structured than performing each step manually.
Compared to similar skills
git-pr-changelog side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| git-pr-changelog (this skill) | 0 | 6mo | No flags | Intermediate |
| codex-cli-bridge | 9 | 9mo | Review | Intermediate |
| github-contributor | 1 | 1mo | Review | Intermediate |
| open-source-maintainer | 1 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
github-contributor
daymade
Strategic guide for becoming an effective GitHub contributor. Covers opportunity discovery, project selection, high-quality PR creation, and reputation building. Use when looking to contribute to open-source projects, building GitHub presence, or learning contribution best practices.
open-source-maintainer
numman-ali
End-to-end GitHub repository maintenance for open-source projects. Use when asked to triage issues, review PRs, analyze contributor activity, generate maintenance reports, or maintain a repository. Triggers include "triage", "maintain", "review PRs", "analyze issues", "repo maintenance", "what needs attention", "open source maintenance", or any request to understand and act on GitHub issues/PRs. Supports human-in-the-loop workflows with persistent memory across sessions.
mflux-release
filipstrand
Prepare a release in mflux (version bump, changelog, uv lock) without tagging/publishing.
code-changelog
bear2u
AI가 만든 모든 코드 변경사항을 reviews 폴더에 기록하고 간단한 HTML 뷰어로 웹 브라우저에서 실시간 확인할 수 있습니다. 매 수정마다 문서가 생성되고 Python 서버로 즉시 확인 가능합니다.
commit-helper
cockroachdb
Help create git commits and PRs with properly formatted messages and release notes following CockroachDB conventions. Use when committing changes or creating pull requests.