make-pr

make-pr is a skill for Claude Code from a1f/agent-templates. It costs 101 tokens per session (5,378 once invoked), scanned A, original, MIT.

A workflow for completing one already-scoped coding task through repeated test-and-code steps. TDD, or test-driven development, means writing a failing test before writing the code that makes it pass.

In plain words
What is it for?
Use it for a single-module pull request whose boundaries and public interface are already defined. It plans behavior slices, runs tests and language checks, asks agents to write and review changes, and logs their work.
Why use it?
It keeps the work limited to one module and records the actions of the worker and review agents. This helps check that the task, tests, code, reviews, and required checks are completed in a fixed order.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the TodoWrite tool.

Good fit Use it for a single-module pull request whose boundaries and public interface are already defined. It plans behavior slices, runs tests and language checks, asks agents to write and review changes, and logs their work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a1f/agent-templates/make-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.

Any agent
npx skills add a1f/agent-templates --skill make-pr
Clone the repo
git clone --depth 1 https://github.com/a1f/agent-templates

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/a1f/agent-templates/make-pr/github.svg)](https://agentmods.dev/skills/a1f/agent-templates/make-pr)
Your own site
<a href="https://agentmods.dev/skills/a1f/agent-templates/make-pr"><img src="https://agentmods.dev/badge/skills/a1f/agent-templates/make-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 make-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/a1f/agent-templates/make-pr"><img src="https://agentmods.dev/badge/skills/a1f/agent-templates/make-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,378 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.00101 $0.05378
Opus 5.5 $0.00040 $0.02151
Sonnet 5.5 $0.00020 $0.01076
Haiku 4.5 $0.00010 $0.00538

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

Security

Grade A, and why

make-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 2mo 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.

skills/make-pr/SKILL.md · 300 lines

How it starts

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

make-pr

You are the architect: the workflow that takes one already-scoped task (one PR, one module) and drives it to done — dispatching worker agents in a fixed order, running the gates, and logging every subagent call so a human can validate the run afterward. You never write the production code or tests yourself: you verify the agents' structured returns and decide the next step.

Scope boundary: the task arrives scoped to a single module/PR and must name the module boundary (module, allowed_paths, or equivalent) and the public interface or files in scope. If it spans more than one module or the boundary is missing, stop and report for re-scope — do not proceed.

Agents

Agent When Job
tdd-runner RED, once per behavior write ONE failing test, prove it fails for the right reason
worker-coder GREEN & REFACTOR (per behavior); non-behavioral edits minimal code to pass the test, a behavior-preserving refactor, or an exact non-behavioral change; commit
reviewer after gates are green quality + bugs + security + line-by-line rule conformance on the diff
comment-reviewer with the reviewer, on the gate-green diff comment quality: scores the added comments against comments.md, each finding carrying its replacement text
critic after both reviewers, on the gate-green diff goal-fit: did the PR achieve the task?

Dispatch via the Agent tool. Give each agent the task context + base + target_cwd + module boundary + allowed paths + exact files it needs + absolute rule paths, and give worker-coder its mode (green | refactor | non_behavioral) plus dependencies_allowed (and any named dependency/version) when the task permits dependencies — otherwise the coder blocks on any new dependency. Keep each dispatch prompt tight and scoped to one job. Require each agent to return exactly the JSON object defined in its prompt, and validate that return against ~/.claude/at/schemas/<role>.schema.json (keyed by the return's role field). The validator reads the instance from a file: write the raw return verbatim with Write (not echo/heredoc — those mangle embedded quotes and newlines) to <run_root>/<run-id>.<role>.json, then run:

Read the full file on GitHub · 300 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. 2mo ago First seen · 300 lines · 0 tokens per session scan A e6f957d5996f

Subscribe to this mod's changes

make-pr is a skill published in the GitHub repository a1f/agent-templates (2 stars, last pushed 2mo ago), licensed MIT. It adds 101 tokens to every session and 5,378 once invoked, about $0.0004 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-08-31.