github-pr-workflow

github-pr-workflow is a skill for Claude Code from CHENyiru3/AI-Skills-Collections. It costs 49 tokens per session (607 once invoked), scanned A, a copy of github-pr-workflow, MIT.

A guide to the full GitHub pull-request process. A pull request is a proposed code change that others can review before it is merged into a repository.

In plain words
What is it for?
Use it to create branches, commit changes, open and monitor pull requests, respond to failed checks, and merge approved work.
Why use it?
It keeps branch creation, commits, review requests, build checks, failure fixes, and merging in one workflow. It supports either GitHub's command-line tool or direct API calls.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the platforms plugin — 10 skills shipped together

Good fit Use it to create branches, commit changes, open and monitor pull requests, respond to failed checks, and merge approved work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/github-pr-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CHENyiru3/AI-Skills-Collections --skill github-pr-workflow
Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections

Made for: Claude Code.

Or install platforms, the plugin that ships this one along with the rest of its 10 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-pr-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/github-pr-workflow/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/github-pr-workflow)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/github-pr-workflow"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/github-pr-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-pr-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/github-pr-workflow"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/github-pr-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 84% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00607
Opus 5.5 $0.00020 $0.00243
Sonnet 5.5 $0.00010 $0.00121
Haiku 4.5 $0.00005 $0.00061

Measured 20d ago against content hash 0a8a9aa9ca77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-pr-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

84% identical to github-pr-workflow — 399 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills-market/platforms/github/github-pr-workflow/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pull Request Workflow

Identify the host/repository, intended base/head, local work and authorized lifecycle steps. Reuse connected tools/gh and protected credentials. Discover the default/base branch rather than assuming main, and keep unrelated work outside the task's diff.

Create a branch/worktree when useful; do not pull/switch through a dirty checkout by default. Stage exact intended files after reviewing the diff, using the project's commit style. Avoid git add ./-A recipes that capture unrelated changes.

For a requested PR, prepare concrete changes and relevant validation, then create it against the correct base/head. Use structured body arguments or a temporary --body-file for multiline text, with accurate checks and intentional issue-closing keywords. Keep draft status when the work is not ready; do not invent passed tests.

For CI, bind statuses, check-runs and logs to the actual PR head SHA. A combined commit status alone may omit required checks. Distinguish pending, skipped, canceled, failed and unavailable evidence. Diagnose failures before editing, retry only supported fixes within scope, and stop expanding when the blocker requires external state/user information. Repeatedly pushing speculative fixes is not verification.

Authorized merge

Re-read the PR's current head, required checks/review state and merge method. Bind the operation to the reviewed/tested head, for example the installed gh option --match-head-commit or the REST merge request's expected sha. If the head changes, refresh the relevant evidence rather than merging a different revision silently. Respect repository protections/merge queues; do not bypass them because CI is slow.

Inspect actual merge/auto-merge/queue state after the request; queued is not merged. Delete only a task-owned branch when that cleanup is included and its result is safe. Report the PR URL, revision, relevant CI and actual merge status.

Use ci-troubleshooting.md only for a relevant CI failure; conventional-commits.md and the templates/ bodies are optional when the repository uses them. Stop at the requested lifecycle outcome. Reference: gh pr merge.

Read the full file on GitHub · 59 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago Changed · -309 lines scan D → A 0a8a9aa9ca77
  2. 2mo ago First seen · 368 lines · 49 tokens per session scan D 6aa76b342131

Subscribe to this mod's changes

github-pr-workflow is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (3 stars, last pushed 9d ago), licensed MIT. It adds 49 tokens to every session and 607 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 84% identical to github-pr-workflow, differing in 399 lines, and is treated as a copy.

Related

github-pr-workflow compared with skills from other repositories

github-pr-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-pr-workflowCHENyiru3/AI-Skills-CollectionsSkill39d agoMITA49Claude Code
review-implement-phaseprisma/ormSkill48ktodayApache-2.0A38Claude Code
github-pr-workflowpaperclipai/paperclipSkill119ktodayMITA39Claude Code, Codex
review-deltatirth8205/code-review-graphSkill33k15d agoMITA24Claude Code
github-contributordaymade/claude-code-skillsSkill1.6ktodayMITA105Claude Code, Codex
dyl-reviewcursor/pluginsSkill21ktodaynoneA80Claude Code, Cursor
git-pr-workflows-git-workflowrmyndharis/antigravity-skillsSkill2.2k24d agoMITA37Claude Code, Codex