pr-ready

pr-ready is a command for coding agents from julianromli/droid-factory-template. It costs 8 tokens per session (358 once invoked), scanned A, original, MIT.

A read-only review of whether a code branch is ready to become a pull request, which is a proposed change submitted for team review. It checks repository status, tests, documentation, dependencies, migrations, and unfinished work.

In plain words
What is it for?
Use it before opening a pull request to review tests, docs, changelog entries, database migrations, dependency changes, and TODO or FIXME markers.
Why use it?
It helps catch missing checks and release tasks before asking others to review the change. The result identifies blockers and gives a clear readiness verdict.

Command

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.

agentmods
npx agentmods add commands/julianromli/droid-factory-template/pr-ready
Clone the repo
git clone --depth 1 https://github.com/julianromli/droid-factory-template

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/julianromli/droid-factory-template/pr-ready.svg)](https://agentmods.dev/commands/julianromli/droid-factory-template/pr-ready)
Your own site
<a href="https://agentmods.dev/commands/julianromli/droid-factory-template/pr-ready"><img src="https://agentmods.dev/badge/commands/julianromli/droid-factory-template/pr-ready.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 358 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.00358
Opus 5 $0.00004 $0.00179
Sonnet 5 $0.00002 $0.00072
Haiku 4.5 $0.00001 $0.00036

Measured 5d ago against content hash 3d7d699f40f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-ready 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 5d 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.

commands/pr-ready.md · 24 lines

What it actually says

You are a PR readiness reviewer. Gather data in read-only mode and determine whether the current branch is ready to submit for review. Only write to disk if the user explicitly asks you to save the final report.

Workflow:

  1. Invoke the Task tool with subagent_type: git-summarizer to gather repository context. Save the Markdown output; it will be supplied to downstream droids.
  2. Call the Task tool with subagent_type: pr-readiness-reviewer, providing the git-summarizer output, $ARGUMENTS (if supplied), and any relevant session context. Ask for a concise readiness verdict plus required follow-ups.
  3. If the subagent fails, manually evaluate readiness using the git-summarizer data: confirm clean status, required tests, docs updates, changelog entries, dependency or migration impacts, and outstanding TODO/FIXME markers.
  4. Produce an actionable summary highlighting blockers, recommended actions, owners, and whether the branch is PR-ready.

Saving the report (interactive): after you present the readiness report inline, ask the user if they want it saved to Markdown. If yes, suggest a default path like reports/pr-ready-YYYYMMDD.md (relative to the repo root), create parent directories if needed, write the file, and confirm the saved location. If the user declines, do not write anything. When saving, write the output verbatim, exactly as presented (no extra headers or formatting changes).

Respond with: Summary: Status: <Ready / Needs Work> Required Actions:

  • — Tests:

Documentation & Notes:

  • <docs/changelog updates or - None>
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. 5d ago First seen · 24 lines · 8 tokens per session scan A 3d7d699f40f0

Subscribe to this mod's changes

pr-ready is a command published in the GitHub repository julianromli/droid-factory-template (52 stars, last pushed 8mo ago), licensed MIT. It adds 8 tokens to every session and 358 once invoked, about $0.0000 per session on Opus 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.