agentleFS
openwizdevopenwizdev/WizSkills/skills/agent-pr/SKILL.md

agent-pr

Skill2 starsChanged 2 days agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Do not merge while gates is non-empty.

    line 15
  2. Distinctive:

    Never force-push. A new head needs a new review.

    line 16
  3. Distinctive:

    No secrets or private data in the record, the review, or the commits.

    line 17
  4. Distinctive:

    Read forges.md when you have not used this forge before.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.
  • 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>.

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 and copy 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.

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.

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.

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 when you have not used this forge before.

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.