Generates a PR title and structured markdown summary from commits on the current branch. Useful when drafting or requesting a PR description.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
NEVER use cd <path> && git compound commands — they trigger security approval prompts. Run git commands directly (the working directory is already the target repo), or use git -C <path> if you need to target a different directory.
Run the following to identify the base branch:
git remote show origin | grep "HEAD branch" | sed 's/.*: //'
If this fails, fall back to main or master (whichever exists).
Store the result as BASE_BRANCH.
Run these commands to collect all information about the current branch's changes:
git branch --show-current # Current branch name
git log origin/${BASE_BRANCH}..HEAD --oneline # All commits on this branch
git log origin/${BASE_BRANCH}..HEAD --format="%s%n%b" # Full commit messages with bodies
git diff origin/${BASE_BRANCH}..HEAD --stat # Changed files overview
For a thorough understanding, also run:
git diff origin/${BASE_BRANCH}..HEAD --name-only # List of all changed files
If the changeset is complex (many files across multiple areas), also run:
git diff origin/${BASE_BRANCH}..HEAD # Full diff for deeper analysis
Create a concise PR title (under 70 characters) that reads as plain, normal text:
type: or type(scope): prefix, even when the commits use one| Instead of | Write |
|---|---|
fix(auth): refresh expired tokens | Refresh expired tokens before retrying requests |
feat: add device search paging | Add paging to device search |
Produce a markdown summary with these sections:
# Summary — A brief overview of what this PR accomplishes and why, written as bullet points (not a paragraph). Each bullet should be a single short line. Must be rendered as a markdown heading with a single #.
# Changes — Categorized list of all changes. Must be rendered as a markdown heading with a single #. Group and prefix with emojis:
| Category | Emoji | When to Use |
|---|---|---|
| New features | :sparkles: | New functionality added |
| Bug fixes | :bug: | Bugs fixed, errors resolved |
| Breaking changes | :boom: | Breaking API or behavior changes |
| Refactoring | :recycle: | Code restructured without behavior change |
| Documentation | :memo: | Docs, README, comments |
| Configuration | :wrench: | Config files, build settings |
| Performance | :zap: | Performance improvements |
| Styling | :art: | Code formatting, style changes |
| Dependencies | :package: | Dependency updates |
| Removal | :fire: | Removed code or files |
| Security | :lock: | Security fixes or improvements |
| CI/CD | :construction_worker: | Pipeline, build, deployment changes |
# Breaking Changes — Detail any breaking changes with migration steps.
Wrap the entire PR suggestion inside a markdown code fence (triple backticks). This prevents the terminal from rendering # signs as headings — the user needs them as literal characters for copy-paste into a PR description.
Output ONLY the fenced code block — nothing else. Do not add any preamble before it or commentary after it: no branch analysis, no "this branch is N commits ahead", no summary of what you did, no closing remarks, no offers to help further. The fenced block is the complete response. Stop immediately after the closing fence.
Every line must be self-contained — never break a sentence or bullet across multiple lines. The output is displayed in a terminal code block. If a line exceeds the terminal width, the terminal soft-wraps it and injects whitespace. When the user copies that text, those extra spaces and line breaks come along, requiring manual cleanup. To prevent this:
Use this structure:
```
PR Title: <the suggested title>
# Summary
- Improve git skills for staged-only changes
- Fix copy-paste issues in PR output format
- Bump git plugin version to 3.1.0
# Changes
### :sparkles: Features
- Add new auth endpoint for OAuth2 flow
- Implement token refresh mechanism
### :bug: Fixes
- Fix null reference in user profile loading
- Resolve race condition in session management
### :recycle: Refactoring
- Simplify database query builder logic
- Extract common validation into shared module
### :memo: Documentation
- Update API reference for new auth endpoints
```
ALWAYS:
NEVER include:
# Notes section or any extra reviewer notes — the PR body is only # Summary, # Changes, and optionally # Breaking ChangesWhat SKILL.md sets; muted values are Claude Code's defaults
/git:suggest-prfrom git
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin git3 skills in this plugin
/rebase-branchFetch a base branch (the default branch, unless another is named, such as develop) and rebase the current branch onto it, keeping uncommitted work exactly as it was — staged stays staged, unstaged stays unstaged, untracked files stay. Use when the user wants to update or sync their branch with main, rebase onto main or another base branch, or says "rebase branch" or "rebase on main"./suggest-commitGenerate conventional commit message suggestions for staged git changes, aligned with the repository's commit style. Use when the user wants a commit message suggestion, asks what to commit, or says "suggest commit".Other plugins' skills for the same job