pr

pr is a skill for Claude Code from bdfinst/agentic-dev-team. It costs 59 tokens per session (3,607 once invoked), scanned A, original, MIT.

A pull-request workflow that runs tests, type checks, linting, and code review before opening a pull request. A pull request is a request to merge reviewed changes into a shared branch.

In plain words
What is it for?
Use it when submitting a completed feature, opening a draft or normal pull request, selecting a target branch, and receiving a structured quality summary.
Why use it?
It catches quality problems before review and prevents a pull request from being created while required checks fail.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dev-team plugin — 98 skills, 54 agents, 4 hooks shipped together

Good fit Use it when submitting a completed feature, opening a draft or normal pull request, selecting a target branch, and receiving a structured quality summary.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add bdfinst/agentic-dev-team
Claude Code
/plugin install dev-team

Made for: Claude Code.

Or install dev-team, the plugin that ships this one along with the rest of its 98 skills, 54 agents, 4 hooks.

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 pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/pr"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,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 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.00059 $0.03607
Opus 5.5 $0.00024 $0.01443
Sonnet 5.5 $0.00012 $0.00721
Haiku 4.5 $0.00006 $0.00361

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

Security

Grade A, and why

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gate_retry_state.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/dev-team/skills/pr/SKILL.md · 279 lines

How it starts

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

Pull Request

Role: orchestrator. This command enforces quality gates before creating a PR.

You have been invoked with the /pr command.

Orchestrator constraints

  1. Run the quality gate and open the PR; do not bypass failing gates.
  2. Delegate review to the review agents; do not review code yourself.
  3. Be concise. Report gate results and the PR URL, no preamble.

Parse Arguments

Arguments: $ARGUMENTS

  • --skip-review: Skip the /code-review step (not recommended)
  • --draft: Create a draft PR
  • --base <branch>: Target branch (default: main)
  • --no-auto-merge: Do not enable auto-merge (the default is to enable it; see Step 5)

Steps

1. Pre-flight checks

Verify:

  • Current branch is not main or master
  • There are commits ahead of the base branch
  • Working tree is clean (no uncommitted changes) — if dirty, ask whether to commit or stash

If a plan file is present (check plans/ for the most recently modified approved or implemented plan), run the plan completion gate:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/progress_guardian.py" --pre-pr --plan <plan-file>

A non-zero exit means incomplete steps remain; stop and surface the findings — do not open the PR until all steps are [x].

2. Run quality gate

Run each check sequentially. Stop on first failure:

  1. Tests: Detect and run the project's test suite

    • package.json scripts: npm test or pnpm test or yarn test
    • pytest.ini / pyproject.toml: pytest
    • go.mod: go test ./...
    • Cargo.toml: cargo test
    • *.csproj: dotnet test
    • Makefile with test target: make test
  2. Type check (if applicable):

    • tsconfig.json: npx tsc --noEmit
    • mypy.ini / pyproject.toml with mypy: mypy .
  3. Lint (if applicable):

    • eslint in deps: npx eslint .
    • ruff available: ruff check .
    • golangci-lint available: golangci-lint run
  4. Code review (unless --skip-review):

    • Scope the review to this branch's diff against the base branch, not the whole repo. At PR time the working tree is clean (Step 1 requires it), so a bare /code-review --json would auto-scope to the full repository — expensive, wrongly scoped, and on a large repo it can trigger the sliced-review path. Compute the merge base:

Read the full file on GitHub · 279 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 · 279 lines · 59 tokens per session scan A 607d2eb7b7e0

Subscribe to this mod's changes

pr is a skill published in the GitHub repository bdfinst/agentic-dev-team (295 stars, last pushed 4d ago), licensed MIT. It adds 59 tokens to every session and 3,607 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-09-03.