verified-pr

verified-pr is a command for Claude Code from carloshpdoc/ios-workflow-claude. It costs 104 tokens per session (1,811 once invoked), scanned A, original, Apache-2.0.

A pull-request command that runs the project's local build and tests before creating the pull request. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it when you ask to open, create, push, or ship a pull request after making a change.
Why use it?
It prevents a pull request from being opened when unit tests fail, especially when the project's continuous integration checks do not run those tests.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the ios-workflow plugin — 22 commands, 3 agents shipped together

Good fit Use it when you ask to open, create, push, or ship a pull request after making a change.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/carloshpdoc/ios-workflow-claude/verified-pr
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/carloshpdoc/ios-workflow-claude

Made for: Claude Code.

Or install ios-workflow, the plugin that ships this one along with the rest of its 22 commands, 3 agents.

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 verified-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/verified-pr.svg)](https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/verified-pr)
Your own site
<a href="https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/verified-pr"><img src="https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/verified-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,811 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.00104 $0.01811
Opus 5 $0.00052 $0.00905
Sonnet 5 $0.00021 $0.00362
Haiku 4.5 $0.00010 $0.00181

Measured 8d ago against content hash 0330ebbacade, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

verified-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 8d 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.

plugins/ios-workflow/commands/verified-pr.md · 152 lines

How it starts

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

Project context: Values in angle brackets below (e.g. <scheme>, <JIRA_KEY>, <flag-key-enum>) are resolved at runtime — detect them from the project (xcodebuild -list -json for the scheme, git/gh for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config.

Verified PR

Wraps /create-pr with a mandatory local build + test gate. PR CI currently runs lint and build only — unit test failures slip into dev if we do not catch them locally. This skill closes that gap by refusing to open a PR until both gates pass.

When to Use

Invoke this skill any time the user is ready to open a PR:

  • "open a PR", "create a PR", "make a PR", "send the PR"
  • "ship it", "let's ship this", "ready to ship"
  • After implementing a feature/fix when the natural next step is a PR

Do not invoke this for drafts that explicitly skip CI/tests — defer to /create-pr directly if the user passes --skip-tests or says "skip tests, just open the PR".

Gates (in order)

The PR is only created when every gate below passes. Stop immediately on the first failure — do not proceed, do not "try anyway", do not open a draft.

Gate 1 — Build

Run the build command with a 5-minute timeout:

timeout 300 xcodebuild -workspace <scheme>.xcworkspace -scheme <scheme> -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest' build 2>&1 | grep -E "^/.* error:|BUILD SUCCEEDED|BUILD FAILED" | tail -30

Pass criterion: the output ends with ** BUILD SUCCEEDED ** and no error: lines from the project's source paths.

On failure:

  1. Surface the exact compiler errors (file paths + messages) from the output.
  2. STOP. Do not run Gate 2. Do not create the PR.
  3. Tell the user the build failed and wait for them to either fix it or hand it back.

Simulator issues: If the build fails due to simulator unavailability or timeout, retry once with a fresh simulator boot:

xcrun simctl shutdown all && xcrun simctl boot "iPhone 11"

Read the full file on GitHub · 152 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. 8d ago First seen · 152 lines · 104 tokens per session scan A 0330ebbacade

Subscribe to this mod's changes

verified-pr is a command published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 104 tokens to every session and 1,811 once invoked, about $0.0005 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-31.