git-pr

Generate PR Description

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "git-pr" with this command: npx skills add toilahuongg/shopify-agents-kit/toilahuongg-shopify-agents-kit-git-pr

Generate PR Description

Create a comprehensive pull request description based on the branch diff.

Process

  1. Gather Context

Get current branch name

git branch --show-current

Find base branch (usually main or master)

git remote show origin | grep 'HEAD branch'

Get all commits on this branch

git log main..HEAD --oneline

Get the full diff

git diff main...HEAD --stat git diff main...HEAD

  1. Analyze Changes

Categorize the changes:

  • Features: New functionality

  • Fixes: Bug fixes

  • Refactors: Code improvements without behavior change

  • Docs: Documentation updates

  • Tests: Test additions/changes

  • Chores: Dependencies, configs, tooling

  1. Generate PR Description

Use this format:

Summary

[2-3 sentences describing what this PR does and why]

Changes

  • [Bullet point for each logical change]
  • [Group related file changes together]
  • [Focus on what changed, not how]

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to change)
  • Refactor (no functional changes)
  • Documentation update

Testing

[How was this tested? What should reviewers verify?]

  • Unit tests pass
  • Integration tests pass
  • Manual testing completed

Screenshots (if applicable)

[Add screenshots for UI changes]

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review
  • I have added tests that prove my fix/feature works
  • New and existing unit tests pass locally
  • Any dependent changes have been merged

Generated with Claude Code

  1. Determine Title

PR title format: type(scope): description

Examples:

  • feat(auth): add OAuth2 login support

  • fix(api): handle null response from payment service

  • refactor(db): extract query builder into separate module

  1. Output

Provide:

  • Suggested PR title

  • Full PR description in markdown

  • Suggested reviewers (if CODEOWNERS exists)

  • Labels to add (if .github/labels.yml exists)

  1. Create PR (Optional)

If user confirms, create the PR:

gh pr create --title "..." --body "..."

Guidelines

  • Focus on why over what (the diff shows what)

  • Link to related issues: Fixes #123 or Relates to #456

  • Call out breaking changes prominently

  • Mention any manual steps required post-merge

  • Keep bullet points scannable (one line each)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

shopify-polaris-icons

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

shopify-polaris-viz

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

shopify-api

No summary provided by upstream source.

Repository SourceNeeds Review