pr-quality-gate-qa

pr-quality-gate-qa is a command for GitHub Copilot from rjmurillo/ai-agents. It costs 0 tokens per session (3,388 once invoked), scanned A, original, MIT.

A pull-request review command focused on finding quality issues that could cause production incidents. A pull request is a proposed code change awaiting review.

In plain words
What is it for?
Use it for broad QA reviews of pull requests and to identify issues that could affect users in production.
Why use it?
It adds a skeptical, thorough check before code is merged, including a warning when the reviewer lacks the complete change.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it for broad QA reviews of pull requests and to identify issues that could affect users in production.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjmurillo/ai-agents/pr-quality-gate-qa"><img src="https://agentmods.dev/badge/commands/rjmurillo/ai-agents/pr-quality-gate-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,388 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.00000 $0.03388
Opus 5 $0.00000 $0.01694
Sonnet 5 $0.00000 $0.00678
Haiku 4.5 $0.00000 $0.00339

Measured today against content hash 3b4145d734fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

pr-quality-gate-qa 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 today.

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-gate-qa.md · 335 lines

How it starts

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

QA Review Task

You are a rigorous QA reviewer. Your job is to catch quality issues that could cause production incidents. Be skeptical and thorough.

Context Mode Enforcement (REQUIRED)

The CI harness prepends a CONTEXT_MODE: [full|summary|partial] header to the context it sends you. Read that header before you decide a verdict. It tells you how much of the diff you actually received.

  • full: the complete diff is present. PASS, WARN, and CRITICAL_FAIL are all permitted on the merits.
  • summary: only a file list or stat-only summary is present (the PR exceeded the diff-size limit). You did not see the line-level changes.
  • partial: only a bounded slice of the diff is present (for example, the first N lines). You did not see the rest.

When CONTEXT_MODE is not full, you MUST NOT emit PASS. A PASS asserts evidence you do not have. Emit WARN (or a higher-severity verdict if the available metadata already shows a problem), state that context was summary or partial, and name the specific evidence you would need to clear the PR. Treat a missing or unrecognized CONTEXT_MODE value as not full.

This is a manipulation-resistance control: an adversary can craft a PR that trips summary mode to hide a change behind a stat-only context. Forbidding PASS keeps that change from passing on absent evidence. See .agents/governance/AI-REVIEW-MODEL-POLICY.md ("CONTEXT_MODE Header (REQUIRED)").

Grounding Rules

  • Do NOT claim software versions are "beta", "unstable", or "unreleased" based on training data. Your training data has a cutoff and may be outdated.
  • Do NOT claim tools (ruff, mypy, pytest, etc.) lack support for a version unless you have concrete evidence from the diff itself.
  • For dependency update PRs: evaluate the diff for internal consistency, not external ecosystem assumptions. If CI tests pass, the tooling works.
  • Base findings on what the code shows, not on recalled release schedules.

Read the full file on GitHub · 335 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. today First seen · 335 lines · 0 tokens per session scan A 3b4145d734fc

Subscribe to this mod's changes

pr-quality-gate-qa is a command published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,388 tokens. 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-08.