semantic-pr

Installation
SKILL.md

Workflow

Step 1 - Identify branch, target, and template

  1. Run git branch --show-current.
  2. Check for a project PR template at (in priority order): .github/pull_request_template.md, .github/PULL_REQUEST_TEMPLATE.md, pull_request_template.md, PULL_REQUEST_TEMPLATE.md, .github/PULL_REQUEST_TEMPLATE/*.md.
  3. If found, read it and ask: "O projeto possui um template de PR (<path>). Deseja usar o template do projeto ou o template padrão da skill?" If multiple exist in PULL_REQUEST_TEMPLATE/, list them and ask the user to choose. Store the choice for Step 4.
  4. Ask for the target branch (if not provided), a brief explanation of the task/feature, and the Jira task link (skip the field entirely if not provided — no placeholder).

Step 2 - Check for existing PR

Run gh pr list --head <current_branch> --base <target_branch> --state open --json number,title,url. If a PR exists, edit it; otherwise create a new one.

Step 3 - Analyze commits

Run in parallel:

  • git log <target_branch>..<current_branch> --oneline
  • git diff <target_branch>...<current_branch> --stat
Related skills
Installs
6
GitHub Stars
1
First Seen
Mar 30, 2026