dev-pr

dev-pr is a skill for Claude Code, Codex from codeaholicguy/ai-devkit. It costs 45 tokens per session (578 once invoked), scanned A, original, Apache-2.0.

A workflow for publishing an already-reviewed code branch for review on GitHub, GitLab, or another code-hosting service.

In plain words
What is it for?
Use it to verify repository status, rebase a feature branch, resolve and validate conflicts, push the branch safely, and open or update a pull request or merge request.
Why use it?
It checks that the branch is suitable to publish, brings it up to date with the base branch, and prevents publishing when uncommitted changes still need to be committed.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai-devkit plugin — 29 skills, 1 hook shipped together

Good fit Use it to verify repository status, rebase a feature branch, resolve and validate conflicts, push the branch safely, and open or update a pull request or merge request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codeaholicguy/ai-devkit/dev-pr
About the project

AI DevKit is a local-first control layer that gives multiple AI coding agents shared configuration, a terminal dashboard, cross-agent messaging, local memory retrieval, and reusable engineering workflows. It is for developers and teams supervising agents such as Claude Code, Codex CLI, Gemini CLI, OpenCode, Pi, Cursor, Copilot, or Devin. The catalogue entries are composable skills and plugin components used within that agent-management system.

codeaholicguy/ai-devkit · 1,649 stars · on GitHub · ai-devkit.com

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 codeaholicguy/ai-devkit --skill dev-pr
Clone the repo
git clone --depth 1 https://github.com/codeaholicguy/ai-devkit

Made for: Claude Code, Codex.

Or install ai-devkit, the plugin that ships this one along with the rest of its 29 skills, 1 hook.

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 dev-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/codeaholicguy/ai-devkit/dev-pr"><img src="https://agentmods.dev/badge/skills/codeaholicguy/ai-devkit/dev-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 578 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00045 $0.00578
Opus 5.5 $0.00018 $0.00231
Sonnet 5.5 $0.00009 $0.00116
Haiku 4.5 $0.00005 $0.00058

Measured 1mo ago against content hash 9bc593922afd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-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.

skills/dev-pr/SKILL.md · 47 lines

How it starts

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

Dev PR

Publish an already-reviewed branch for code review. Keep this separate from commit creation: if the branch has uncommitted changes, stop and ask the user to run the commit workflow first.

Contract

  1. Verify repository context with git status -sb, git branch --show-current, and git remote -v.
  2. Confirm the branch is not the base branch and has committed changes to publish.
  3. Fetch the remote before comparing or rebasing.
  4. Rebase the feature branch onto the latest remote base branch before push/review.
  5. Resolve conflicts carefully, preserving intended behavior, then rerun relevant validation.
  6. Push safely. Use --force-with-lease only when a rebase rewrote an already-pushed branch.
  7. Open or update the host's review request: PR, merge request, or equivalent.
  8. Report review URL, branch, HEAD SHA, validation results, push mode, and risks.

Publish Workflow

  1. Inspect local context:
    • git status -sb
    • git branch --show-current
    • git remote -v
  2. If uncommitted changes exist, stop. Do not stage, amend, squash, or commit in this skill.
  3. Identify the remote and base branch from repo conventions, upstream config, or user instruction; default to origin/main only when that matches the repo.
  4. Fetch the remote, inspect the delta, and rebase onto the remote base branch.
  5. If conflicts occur, inspect conflicted files and git diff, resolve minimally, validate when useful, git add, then continue the rebase. Stop if the correct resolution is unclear.
  6. Run relevant validation for the changed surface.
  7. Push:
    • First push: set upstream.
    • Normal update: plain push.
    • Rebased already-pushed branch: --force-with-lease.
  8. Open or update the review request using the host's tool/API/UI (gh, glab, forge CLI, web UI, or project-specific workflow).
  9. Write a concise review description. Include enough for reviewers to understand:
    • Summary: what changed, why, and how.
    • Validation: how it was verified.
    • Risks: notable risks or "none known".
  10. Report:
  • Review URL and state
  • Branch and HEAD SHA
  • Validation commands and exit codes
  • Push mode, including whether --force-with-lease was used
  • Risks, follow-ups, or blockers

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 47 lines · 45 tokens per session scan A 9bc593922afd

Subscribe to this mod's changes

dev-pr is a skill published in the GitHub repository codeaholicguy/ai-devkit (1,649 stars, last pushed today), licensed Apache-2.0. It adds 45 tokens to every session and 578 once invoked, about $0.0002 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-30.