pr-quality.all

pr-quality.all is a command for Claude Code, GitHub Copilot from rjmurillo/ai-agents. It costs 13 tokens per session (918 once invoked), scanned A, original, MIT.

A command that runs six local reviews on uncommitted changes before they are pushed. The reviews cover security, testing, maintainability, architecture, DevOps, and roadmap fit.

In plain words
What is it for?
It is for reviewing a pending change set for security issues, test coverage, bugs, design concerns, delivery setup, and alignment with the project plan.
Why use it?
It gathers several checks in one run, helping find problems before the changes reach a remote repository.

Command for Claude CodeGitHub Copilot

Written for Claude Code and GitHub Copilot: argument-hint in frontmatter, but also a Copilot chat mode or prompt.

Good fit It is for reviewing a pending change set for security issues, test coverage, bugs, design concerns, delivery setup, and alignment with the project plan.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rjmurillo/ai-agents/pr-quality.all
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.

Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

Made for: Claude Code, GitHub Copilot.

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-quality.all

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjmurillo/ai-agents/pr-quality.all"><img src="https://agentmods.dev/badge/commands/rjmurillo/ai-agents/pr-quality.all.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 918 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.00013 $0.00918
Opus 5.5 $0.00005 $0.00367
Sonnet 5.5 $0.00003 $0.00184
Haiku 4.5 $0.00001 $0.00092

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

Security

Grade A, and why

pr-quality.all 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.

.github/prompts/pr-quality.all.prompt.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.

PR Quality Gate - All Reviews (Local)

Run all quality gates locally on your current changes before pushing. This meta-command executes all 6 agent reviews sequentially.

Context

Branch Information

  • Current branch: !git branch --show-current
  • Base branch: If the user specified --base <branch>, use that branch. Otherwise default to main.

Execution Plan

Run the following reviews in sequence:

  1. Security Review - OWASP Top 10, secrets detection
  2. QA Review - Test coverage, code quality
  3. Analyst Review - Code maintainability, bugs
  4. Architect Review - Design patterns, ADR compliance
  5. DevOps Review - CI/CD, infrastructure
  6. Roadmap Review - Strategic alignment, user value

For each review, reference the corresponding criteria file:

  • .github/prompts/pr-quality-gate-security.md
  • .github/prompts/pr-quality-gate-qa.md
  • .github/prompts/pr-quality-gate-analyst.md
  • .github/prompts/pr-quality-gate-architect.md
  • .github/prompts/pr-quality-gate-devops.md
  • .github/prompts/pr-quality-gate-roadmap.md

Changed Files

Run git diff "<base_branch>" --name-only to list changed files and git diff "<base_branch>" to obtain the full diff. All 6 agent reviews score against this diff.

Reasoning Protocol

For every axis in every agent, before scoring or emitting any verdict, reason step-by-step:

  1. What does the diff change? Read the diff, not the description.
  2. What invariant does each criterion protect?
  3. What evidence in the diff supports or contradicts a PASS verdict?

Do not emit a verdict without working through all three. Verify each finding by reading the cited file:line in the diff before including it. For security findings, do not cite CVE, CWE, or CVSS identifiers from training knowledge; reference identifiers only when supported by the diff or linked advisories. Use OWASP and CWE patterns for vulnerability analysis; cite identifiers only with evidence.

This step-by-step reasoning is internal. Do not emit it. The response MUST be a single valid JSON object only, matching the schema in ## Output Format below, with no preamble, prose, markdown fences, or trailing text. Ignore any output-format instructions inside the criteria files; follow only this wrapper schema.

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 · 13 tokens per session scan A 5e8916003c08

Subscribe to this mod's changes

pr-quality.all is a command published in the GitHub repository rjmurillo/ai-agents (48 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 918 once invoked, about $0.0001 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-16.