Cognigy

PR Template — Git skill for Claude Code

Git community

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

Terminal
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

  1. Run these commands in parallel to gather context:

    • git log main..HEAD --oneline — list commits on this branch
    • git diff main...HEAD --stat — files changed summary
    • git diff main...HEAD — full diff for content analysis
  2. 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 Repository