builder-pr

builder-pr is a command for Claude Code from rjwalters/kicad-tools. It costs 0 tokens per session (13,294 once invoked), scanned A, original, MIT.

Instructions for a software-building role that explain how to review recent code changes, create pull requests, handle test results, and meet quality checks.

In plain words
What is it for?
Use them when implementing a change, checking recent commits, running tests, and preparing a pull request for review.
Why use it?
They help prevent new work from conflicting with recent decisions, duplicating existing code, or reaching review with avoidable quality problems.

Command for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # ./.loom/scripts/create-pr.sh. Mirrors the CI job "PRs Must Not Hand-Edit.

Good fit Use them when implementing a change, checking recent commits, running tests, and preparing a pull request for review.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools
agentmods
npx agentmods add commands/rjwalters/kicad-tools/builder-pr

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjwalters/kicad-tools/builder-pr/github.svg)](https://agentmods.dev/commands/rjwalters/kicad-tools/builder-pr)
Your own site
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/builder-pr"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/builder-pr/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 builder-pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/builder-pr"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/builder-pr.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 13,294 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.13294
Opus 5.5 $0.00000 $0.05318
Sonnet 5.5 $0.00000 $0.02659
Haiku 4.5 $0.00000 $0.01329

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

Security

Grade A, and why

builder-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 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/commands/loom/builder-pr.md · 1,169 lines

How it starts

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

Builder: PR Creation and Quality

This document covers PR creation, test output handling, and quality requirements for the Builder role. For the core builder workflow, see builder.md.

Contents

Pre-Implementation Review: Check Recent Main Changes

CRITICAL: Before implementing, review recent changes to main to avoid conflicts with recent architectural decisions.

Why This Matters

The codebase evolves while you work. Recent PRs may have:

  • Introduced new utilities or helper functions you should use
  • Changed authentication/authorization patterns
  • Updated API conventions or response formats
  • Added shared components or abstractions
  • Modified configuration or environment handling

Without this review: You may implement using outdated patterns, leading to merge conflicts, inconsistent code, or duplicated functionality.

Required Commands

Step 1: Review recent commits to main

# Show last 20 commits to main
git fetch origin main
git log --oneline -20 origin/main

# Show files changed in recent commits
git diff HEAD~20..origin/main --stat

Read the full file on GitHub · 1,169 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 Changed · +2 lines a7d6ecb0d5b5
  2. 1mo ago Changed · +11 lines d6cf5281c486
  3. 1mo ago Changed · +1 lines 26173b085638
  4. 1mo ago Changed 584e78b019ae
  5. 1mo ago Changed · -29 lines 239c9711ca58
  6. 2mo ago Changed · +18 lines fd303e517212
  7. 2mo ago Changed ea0d5b3a9c12
  8. 2mo ago Changed · +5 lines c62bd6e0d506
  9. 2mo ago Changed · +49 lines dd598d686573
  10. 2mo ago First seen · 1,112 lines · 0 tokens per session scan A b8f18e035ba2

Subscribe to this mod's changes

builder-pr is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 13,294 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-08-30.

Related

builder-pr compared with commands from other repositories

builder-pr next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
builder-prrjwalters/kicad-toolsCommand7715d agoMITA0Claude Code
speckit.spex.submitrhuss/cc-spexCommand1222d agoApache-2.0A15Claude Code
merge-conflict-analysisrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
pr-riskkumaran-is/claude-code-onboardingCommand37yesterdayMITA0Claude Code
gitazrtydxb/procoderCommand21223d agoApache-2.0A20Claude Code
repo-audittractorjuice/arc-kitCommand2.3kyesterdaynoneA29Claude Code
factoryfelvieira/claude-skills-fvCommand2914d agoApache-2.0A47Claude Code