PR Template — Git skill for Claude Code
Generate a pull request description for the current branch by analyzing all commits and changes since diverging from main.
How to install PR Template
Installs to ~/.claude/commands/cognigy-cognigy-plugin-pr-template.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Cognigy/cognigy-plugin/HEAD/.claude/commands/pr-template.md -o ~/.claude/commands/cognigy-cognigy-plugin-pr-template.md Restart Claude Code, or start a new session, for it to be picked up.
What PR Template does
Generate a pull request description for the current branch by analyzing all commits and changes since diverging from main.
Steps
Run these commands in parallel to gather context:
git log main..HEAD --oneline— list commits on this branchgit diff main...HEAD --stat— files changed summarygit diff main...HEAD— full diff for content analysis
Analyze the changes and determine:
- What type of change this is (feature, fix, refactor, docs, chore, release)
- Whi
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
- Generate PR Description — You are tasked with generating a comprehensive pull request description following the repository's standard te 10k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
PR Description Generator
Generate pull request descriptions by analyzing commits and changes
Review Commit PR Discipline
Review the current branch's commits and working tree for commit and pull-request discipline, then produce well
PR Desc
Reads git diff between the current branch and main (or a specified base branch), analyzes changed files, and g
Gl Mr
Open a draft GitLab merge request for the current branch (push, title and description from the commits, "Close
Dbdocs PR
Open a GitHub PR for the current branch with a body that follows .github/PULL_REQUEST_TEMPLATE.md, filled from
Hef.Pr
Open or update the pull request for the current branch via the review-coordinator agent — never merges; --summ
Related Agents
PR Open
Create a pull request for the current branch. Analyzes all commits, runs validation, and opens a well-formatte
Yago
Use this agent when the user asks to write, create, or generate a pull request description, PR description, or
Mr Handler
Handle a GitLab MR for the current (or specified) branch — detect whether to create a new MR or update an exis