Skip to content
Back to skills

Agent Pr

ASecurity

Open the one pull request for one agent issue, with proof and a strict review. Use when building or reviewing that issue; not for filing the issue.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 28, 2026
ai-agentspythongo

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add openwizdev/WizSkills --skill agent-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openwizdev-agent-pr/badge)](https://www.skillsdirectory.com/skills/openwizdev-agent-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-pr
description: Open the one pull request for one agent issue, with proof and a strict review. Use when building or reviewing that issue; not for filing the issue.
version: 0.1.0
---

# Agent PR

Open one pull request that makes one ready issue true. One issue, one branch, one pull request. You build it or you review it, never both. The reviewer is a different model family, reads that exact head, and does not push.

## Guards

- The issue lints and `ready` is `ready-for-agent`. If it does not, stop and use [agent-issue](../agent-issue/SKILL.md).
- Touch only paths the issue's `owned_paths` cover.
- Do not merge while `gates` is non-empty. Stop for a human.
- Never force-push. A new head needs a new review.
- No secrets or private data in the record, the review, or the commits.

## 1. Branch and title

Branch `<agent>/<repo>-<N>-<lane>`, for example `ada/widgets-14-build`. `N` is the issue `id`. The title is `#<N>: <summary or goal>` when `N` is a number, otherwise `<id>: <summary or goal>`.

```sh
python3 -I <installed-agent-issue>/scripts/lint.py branch --name <branch> --repo <repo> --issue-id <id>
python3 -I <installed-agent-issue>/scripts/lint.py title --title "<title>" --issue-id <id> --expect "<summary or goal>"
```

Done when both commands exit 0.

## 2. Body

Read [spec.md](spec.md) and copy [template.md](template.md). `changes` and `proof` cover every acceptance id once. The proof command is that item's check. For a bug, one proof has `red_first` true because the test failed before the fix. Before review, every `result` is `pass`. Use `--mode draft` only while a proof still fails.

```sh
python3 -I <installed-agent-issue>/scripts/lint.py pr --body-file body.md --issue-file issue.md
```

Done when this exits 0. One open pull request closes this issue. If one already exists, update it.

## 3. Review

Post one comment on that head. Do not edit the branch. The comment is the whole record: a header, one finding per line, and a verdict. Lint it.

```sh
python3 -I <installed-agent-issue>/scripts/lint.py review --body-file review.md
```

`APPROVE` needs zero `blocking` findings. `CHANGES` needs one or more. Both shas are the head's first 7 lowercase hex characters. An example is [examples/review-approve.md](examples/review-approve.md).

Done when the comment lints and its sha is the head you read.

## 4. Merge

Merge only when all of these are true: the latest linted verdict is `APPROVE` and its sha is a prefix of the current head; required CI is green on that head; the forge reports a clean merge; you use the repo's merge queue when it has one, otherwise its normal merge. Do not use an admin bypass. If `gates` is non-empty, stop and name the gate.

Done when the pull request is merged and the issue is closed, or you have stopped at a human gate.

Read [forges.md](../agent-issue/forges.md) when you have not used this forge before.

**Source:** new, original to OpenWiz. Not adapted from Matt Pocock's skills.

Files in this skill

  • SKILL.md2.9 KB
  • agents/openai.yaml117 B
  • examples/review-approve.md145 B
  • examples/review-changes.md167 B
  • spec.md2.3 KB
  • template.md584 B
  • test/test_pr.py9.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.