pr-classify

pr-classify is a skill for Claude Code from yuri-semenenko/ai-engineering-workspace. It costs 94 tokens per session (1,352 once invoked), scanned A, original, MIT.

A pull-request review process that classifies findings as Critical, Important, or Optional. A pull request is a proposed code change submitted for review before it is merged into the project.

In plain words
What is it for?
Use it to review a pull request, inspect its tests and description, examine the full diff, and report prioritized findings in the required classification scheme.
Why use it?
It keeps review attention on meaningful engineering risks and filters out minor nitpicks. It also requires checking the pull request's status and intended behavior before judging the code.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to review a pull request, inspect its tests and description, examine the full diff, and report prioritized findings in the required classification scheme.

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

Made for: Claude Code.

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-classify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/pr-classify"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/pr-classify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,352 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.00094 $0.01352
Opus 5.5 $0.00038 $0.00541
Sonnet 5.5 $0.00019 $0.00270
Haiku 4.5 $0.00009 $0.00135

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

Security

Grade A, and why

pr-classify 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.

claude-code/.claude/skills/pr-classify/SKILL.md · 96 lines

How it starts

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

PR classify

Review the current branch (or a specified PR) and produce structured feedback in the user's canonical classification scheme. The user is a Staff Engineer who explicitly wants to filter out nitpicks and focus on meaningful engineering concerns.

Preconditions (before any review work)

  1. Auth. Run gh auth status. If unauthenticated, stop and tell the user to run gh auth login before continuing. Do not fall back to a local-branch-only review silently.
  2. PR target. A PR number/URL or a checked-out branch with an open PR is required. If invoked as a bare review with no PR context, ask for the target instead of guessing.
  3. Open state. Verify the PR is still open: gh pr view <id> --json state,mergedAt. If it is merged or closed, surface that and confirm the user still wants the review before proceeding.

Steps

  1. Identify the PR scope. If invoked on a branch, run gh pr view --json title,body,baseRefName,headRefName,files or git diff <base>...HEAD. If invoked with a PR number/URL, fetch via gh pr view <id>.
  2. Read the tests first, then the diff fully. Start with the tests and the PR description to recover intended behavior — what the change is supposed to do — then read the implementation against that intent, not just changed-line context. Cross-reference touched files for callers and tests.
  3. For each finding, decide the bucket BEFORE writing it. If it's borderline Important/Optional and you can't articulate the cost of ignoring it, drop it.
  4. Group findings by bucket, not by file. Within each bucket, order by severity.
  5. Cite file:line for every comment. Never describe an issue abstractly.
  6. End with a summary verdict: approve / request changes / needs discussion. One sentence rationale.

Classification rules

Critical

Correctness, security, reliability. Examples:

  • Logic bug that breaks the happy path or a documented edge case
  • SQL injection, XSS, auth bypass, secret leak
  • Race condition, unhandled promise rejection in hot path
  • Data loss / migration that can't roll back
  • Regression in existing test coverage

Read the full file on GitHub · 96 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 · 96 lines · 94 tokens per session scan A 0c85b239a855

Subscribe to this mod's changes

pr-classify is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (4 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 1,352 once invoked, about $0.0004 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

056-design-avoid-breaking-changes

Use when you need to review a plan, OpenSpec change, specification, or implementation proposal for breaking-change risk across commands, skills, generated outputs, XML sources, README/docs, tests, CI, APIs, schemas, configuration, data, migration, and release guidance. This should trigger for requests such as Review…

jabrena/plinth · 106 tokens

ai-pr

The pull-request loop, opened from the local main with no worktree: cut the pull-request branch from the local main, push it, open the pull request against main with a body assembled from the merge commits the branch carries, watch CI and the review comments, fix only what is obvious in bounded iterations, then merge…

arcasilesgroup/ai-engineering · 174 tokens

ai-agents-generation-and-release

Operate the ai-agents generation and release machinery, covering the seven buildall.py generators, generateagents.py, the drift gates, the version-free plugin manifests, and the npm publish path. Use when you say regenerate the mirrors, run the drift checks, why is the plugin version gate red, release the npm cli. Do…

rjmurillo/ai-agents · 105 tokens

ship

Run the four pre-flight checks, then create the PR or validate a contributor branch without touching it. Use when you say ship it, ship this branch, or run pre-flight and open the PR, and run it after review. Do NOT use to open a PR without the gates (use push-pr), and do NOT use to run the review axes themselves (use…

rjmurillo/ai-agents · 80 tokens

merge-resolver

Resolve merge conflicts by analyzing git history and commit intent. Handles PR conflicts, branch conflicts, and session file conflicts with automated resolution for known patterns. Use when you say "resolve merge conflicts", "fix conflicts on this branch", "PR has conflicts with main", "can't merge due to conflicts"…

rjmurillo/ai-agents · 93 tokens

git-advanced-workflows

Advanced Git workflows for rebasing, cherry-picking, bisect, worktrees, and reflog. Use when managing complex Git histories, collaborating on feature branches, or recovering from repo issues. Use when you say "rebase my branch", "cherry-pick a commit", "find the breaking commit", "recover lost commits", "triage stale…

rjmurillo/ai-agents · 90 tokens