github-pr

github-pr is a skill for Claude Code, Codex from mfmezger/ai_agent_dotfiles. It costs 65 tokens per session (1,068 once invoked), scanned A, original, MIT.

A workflow for moving finished code changes into a GitHub pull request, a proposal for reviewing changes before they are merged.

In plain words
What is it for?
Use it when a feature or fix is ready for review, including creating or updating a pull request and making follow-up changes.
Why use it?
It organizes branch creation, commits, pushing, and pull-request updates so the handoff to code review follows consistent rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a feature or fix is ready for review, including creating or updating a pull request and making follow-up changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mfmezger/ai_agent_dotfiles/github-pr
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 mfmezger/ai_agent_dotfiles --skill github-pr
Clone the repo
git clone --depth 1 https://github.com/mfmezger/ai_agent_dotfiles

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mfmezger/ai_agent_dotfiles/github-pr/github.svg)](https://agentmods.dev/skills/mfmezger/ai_agent_dotfiles/github-pr)
Your own site
<a href="https://agentmods.dev/skills/mfmezger/ai_agent_dotfiles/github-pr"><img src="https://agentmods.dev/badge/skills/mfmezger/ai_agent_dotfiles/github-pr/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mfmezger/ai_agent_dotfiles/github-pr"><img src="https://agentmods.dev/badge/skills/mfmezger/ai_agent_dotfiles/github-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,068 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 original No closer match found 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.00065 $0.01068
Opus 5.5 $0.00026 $0.00427
Sonnet 5.5 $0.00013 $0.00214
Haiku 4.5 $0.00006 $0.00107

Measured 1mo ago against content hash b70acba0f225, 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 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 1mo 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.

shared/skills/github-pr/SKILL.md · 89 lines

How it starts

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

GitHub Workflow

This skill guides the process of moving local changes to a GitHub Pull Request.

Prerequisites

  • git must be installed and configured.
  • gh (GitHub CLI) must be installed and authenticated.

Commit Message Format

Use Conventional Commits with this required format: <type>(<scope>): <summary>

  • type REQUIRED. Common values: feat, fix, docs, refactor, chore, test, perf, ci, build, style.
  • scope REQUIRED. Short noun for the changed area (for example: config, api, ui, docs).
  • summary REQUIRED. Imperative, <= 72 chars, no trailing period.

Rules:

  • Never add AI attribution anywhere in the GitHub workflow. Do not write Generated by ..., Co-authored-by: Claude, Co-authored-by: Opus, Co-authored-by: Sonnet, or any other AI/model/agent attribution.
  • This ban applies to commit subjects, commit bodies, commit footers, PR titles, PR bodies, and PR comments. Do not add it even if a default template, tool, model habit, or previous workflow suggests it.
  • Do not add sign-offs or breaking-change footers unless the user requests them.

Workflow Steps

Follow this order exactly: confirm branch state, stage, commit, push, then handle the PR.

  1. Branch Check / Creation

    • Check the current branch before doing anything else.
    • If already on a suitable non-default working branch, stay on it.
    • If on a default branch such as main or master, create a feature branch first.
    • Identify the scope of changes (e.g., feat, fix, docs, chore).
    • Propose a branch name following the pattern <type>/<kebab-case-description>.
    • Execute when a new branch is needed: git checkout -b <branch-name>
  2. Review & Stage Changes

    • Review changes with git status and git diff.
    • By default, stage only the files that belong to the current requested change.
    • If the user provided file paths/globs, stage only those files.
    • If there are ambiguous extra changed files, ask before staging/committing and leave them unstaged unless the user explicitly includes them.
    • Stage the intended files with git add ....
    • Optionally inspect recent subjects for local scope patterns: git log -n 10 --pretty=format:%s.

Read the full file on GitHub · 89 lines

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. 1mo ago First seen · 89 lines · 65 tokens per session scan A b70acba0f225

Subscribe to this mod's changes

github-pr is a skill published in the GitHub repository mfmezger/ai_agent_dotfiles (7 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 1,068 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

spec-finish

Post-implementation completion workflow for Spec-backed Plans. Use after spec-implement completes to validate, review, create stacked commits, and open a PR via code-pull-request. Triggers only with an active Spec-backed Plan after spec-implement completes, including when the user says "finish", "done", or "complete"…

martinffx/atelier · 73 tokens

address-pr-feedback

Unified PR feedback workflow - collect, triage, and fix review comments in a single command.

rp1-run/rp1 · 23 tokens

github-publish-changes

Publish intentional local changes by confirming scope, creating a branch when needed, staging selected files, committing, pushing, and creating a Draft Pull Request through the connected GitHub service.

Devin-AXIS/iPolloWork · 41 tokens

configuring-git-hygiene

Configure safe git workflow hygiene: pre-commit/pre-push hooks, Gitleaks secret scanning, .gitignore rules, local git config, and guardrails. Use when setting up git hooks, gitleaks/git leaks, staged pre-commit checks, pre-push validation, core.hooksPath, .gitignore, or git config best practices. NOT for creating…

alexei-led/cc-thingz · 111 tokens

committing-code

Create normal git commits with logical grouping. Use when committing, saving changes, creating commits, or grouping work into commits. For drafting or editing commit messages without committing, use writing-style. NOT for amending, rebasing, force-pushing, or rewriting history.

alexei-led/cc-thingz · 57 tokens

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens