Streamline PR creation with automatic label, assignee, and issue linking.

Install

mkdir -p .claude/skills/pr-phel-lang && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13468" && unzip -o skill.zip -d .claude/skills/pr-phel-lang && rm skill.zip

Installs to .claude/skills/pr-phel-lang

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Push branch and open a PR (assigned to @me, labeled, Closes #N)
63 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Update `CHANGELOG.md` with unreleased changes
  • Derive PR title from branch prefix using conventional commit format
  • Select a label for the pull request based on branch type
  • Create a pull request with a structured body and linked issue
  • Report the URL of the created pull request

How it works

The skill automates the process of pushing a branch and creating a pull request, enforcing specific conventions for changelog updates, titles, and descriptions.

Inputs & outputs

You give it
Current Git branch with local commits and an optional issue number
You get back
A pull request created on GitHub, potentially with an updated `CHANGELOG.md`

When to use pr

  • Opening PRs with labels
  • Linking PRs to issues
  • Automating changelog updates

About this skill

PR

Context

!git branch --show-current !git log main..HEAD --oneline

Instructions

  1. If ## [Unreleased] in CHANGELOG.md wasn't updated, update it and commit: docs: update changelog.
  2. git push -u origin HEAD.
  3. Title: <type>(<scope>): <short> (conventional, under 70 chars). Derive type from branch prefix (feat/feat, fix/fix, docs/docs, ref/ref). If $ARGUMENTS is an issue number, pull the title via gh issue view <num> --json title -q '.title'.
  4. Pick one label: bug (fix/), enhancement (feat/), documentation (docs/), refactoring, pure testing, dependencies.
  5. Open:
    gh pr create --title "<title>" --assignee @me --label "<label>" --body "$(cat <<'EOF'
    ## Summary
    - <what + why, one or two bullets>
    
    ## Test plan
    - [ ] `composer test` green locally
    - [ ] CI green
    
    Closes #<issue-number>
    EOF
    )"
    
    Drop the Closes line if there's no linked issue. Body under 15 lines.
  6. Report URL.

When not to use it

  • The user does not want to update `CHANGELOG.md`
  • The user does not want to use conventional commit format for PR titles
  • The user does not want to link PRs to issue numbers

Limitations

  • It requires `gh` CLI for creating the pull request
  • It assumes a `CHANGELOG.md` file exists
  • It enforces specific branch prefixes for deriving PR types

How it compares

This workflow simplify PR creation by automating changelog updates, title generation, and issue linking, reducing manual steps and ensuring consistency.

Compared to similar skills

pr side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pr (this skill)03moReviewIntermediate
resolve-conflicts818moReviewIntermediate
dependency-upgrade265moReviewIntermediate
git-commits214moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry