smithery.ai

pr

Create pull requests via git and GitHub CLI while following repo templates and Conventional Commits. Use when a user asks to make a PR, push a branch, open a GitHub PR.

First seen Mar 19, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,337 B
  • docs SUMMARY.md 178 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 19 installs

SKILL.md

PR

Overview

Create a PR end-to-end: stage and commit changes, push the branch, fill the PR template, ask for confirmation, then open the PR with gh.

Workflow

  1. Inspect git state: run git status -sb, identify uncommitted or untracked changes, and confirm which files to include. Avoid modifying unrelated files.
  2. Stage changes: git add <paths> for the approved files only, then re-check status.
  3. Commit: generate a Conventional Commit message when requested and run git commit -m "<message>".
  4. Push branch: git push origin <branch> or git push -u origin <branch> if needed. If push fails due to auth/remote issues, ask for next steps.
  5. Build PR body: read .github/pullrequesttemplate.md if present and fill required sections (Summary, Type of Change, Related Issues). Keep checkboxes accurate.
  6. Create PR: gh pr create --base <base> --head <branch> --title "<title>" --body "<body>", then return the PR URL.

Notes

  • Follow repo conventions for templates, required sections, and Conventional Commits.
  • Require explicit confirmation before any network operations: git push or gh pr create