Create valid PRs that meet all project quality requirements before submission.

Install

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

Installs to .claude/skills/pr-ashaychangwani

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.

Open a pull request with conventional title, structured description, and pre-flight checks.
91 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Run lint, typecheck, and test pre-flight checks
  • Gather Git context like current branch and commits
  • Determine PR title using conventional commit format
  • Write a structured PR description with summary and test plan
  • Create a pull request using `gh pr create`

How it works

The skill automates the pull request creation process by running pre-flight checks, gathering Git information, and structuring the PR title and description.

Inputs & outputs

You give it
Current Git branch with local commits
You get back
A pull request created on GitHub with a conventional title and structured description

When to use pr

  • Submitting feature PRs
  • Running CI checks before submission
  • Documenting changes and design decisions

About this skill

PR Skill

Open a pull request for the current branch with proper conventions.

Step 1 — Pre-flight checks

Run these in parallel and report results:

bun run lint
bun run typecheck
bun test

If any fail, show the errors and ask the user whether to proceed or fix first.

Step 2 — Gather context

Run these to understand the branch:

  • git branch --show-current — current branch name
  • git log main..HEAD --oneline — commits on this branch
  • git diff main..HEAD --stat — files changed

Step 3 — Determine PR title

The PR title must be a conventional commit format: <type>(<scope>): <description>

Pick type and scope the same way as the /commit skill, but based on the overall branch intent (not individual commits).

Step 4 — Write PR description

Use this structure:

## Summary
- Bullet 1: what changed and why
- Bullet 2: key design decisions
- Bullet 3: anything reviewers should pay attention to

## Test plan
- [ ] Tests pass locally
- [ ] Specific scenario tested

Step 5 — Check remote

Run git remote -v and git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null to check if the branch is pushed.

If not pushed, run git push -u origin <branch>.

Step 6 — Create PR

gh pr create --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"

Show the PR URL to the user when done.

When not to use it

  • The user does not want to enforce conventional commit format for PR titles
  • The user does not want to run automated pre-flight checks

Limitations

  • It relies on `bun` for lint, typecheck, and test commands
  • It enforces a specific conventional commit format for PR titles
  • It requires `gh` CLI for creating the pull request

How it compares

This workflow enforces conventions and automates checks, ensuring consistent and well-documented pull requests, unlike manual PR creation.

Compared to similar skills

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

SkillInstallsUpdatedSafetyDifficulty
pr (this skill)03moNo flagsIntermediate
dependency-upgrade265moReviewIntermediate
testing-workflow169moReviewIntermediate
finishing-a-development-branch43moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry