Review a finished Foreman task, relay feedback to its worker, and set up screenshots for a repo. Use when a worker reports done or a review verdict arrives.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/olimorris-review)
---
name: review
description: Review a finished Foreman task, relay feedback to its worker, and set up screenshots for a repo. Use when a worker reports done or a review verdict arrives.
---
# Review
## When a worker reports done
Call `review` for the task. It opens a `review <id>` tab, which:
1. Captures screenshots of every screen named in the brief's `## Screens` section: before (the base branch, cached by commit) and after (the task branch).
2. Runs a fresh read-only reviewer on the diff, the brief, the decisions it touches and the screenshots.
3. Wakes you with one line: `reviewed T1: approve, round 1, risk low: …` (with `, breaking` after the risk when the reviewer marked it a breaking change) or `reviewed T1: changes, round 1, 2 issue(s): …`.
Keep the screenshots out of your own context. The verdict line is all you need.
## When the verdict arrives
- **approve**: call `deliver` for the task. It pushes the branch and opens the PR as a draft with the review packet. The watcher marks it ready for review once the merge gate passes, and a held PR stays in draft with its reasons in a PR comment. Tell the user in one line with the PR link and the risk, and say it's a breaking change when the verdict line says so. With `autonomy.merging.maxRisk` at "none", the default, the user merges it. At "low", "medium" or "high", Foreman merges it once the merge gate allows it if its risk is within `maxRisk`, and the `merged` line wakes you as usual. A PR the merge gate holds, such as one in a repo with no required checks, one the baseline already fails in, or one with a call you made, a worker's proposal or files outside its owned paths, waits and wakes you with a `held` line that says why. No setting lifts that hold. A PR rated riskier than `maxRisk` allows waits and wakes you with a `too-risky` line. A PR that changes a file matching the `rules.protect` list in .foreman/config.json waits and wakes you with a `protected` line. A PR the reviewer marked breaking never merges, whatever `maxRisk` says. When `maxRisk` isn't "none" it wakes you with a `breaking` line, so tell the user in one line that it waits for them because it's breaking. You never merge a PR yourself. If its note names tasks that can start on top of it, call `next`. If it says other tasks build on this branch, call `sync`. If two or more PRs are now open, call `together`.
- **changes**: call `feedback` for the task. It sends the reviewer's issues, each anchored to a screenshot, screen or file and the intent it breaks, to the same running worker. The worker fixes them and reports done again. Review again.
- **"revision limit reached"**: after two revision rounds, stop. Tell the user what's still wrong, in one line per issue, and point them at the screenshots in `.foreman/tasks/<id>/review/round-<n>/`. Ask whether to send a third round, take over the task, or merge as is.
- **failed**: read the capture log or `reviewer.json` named in the line, fix the setup if you can, then review again.
Passing the reviewer's issues on with `feedback` isn't a call. Anything you add is, such as how the worker should fix an issue, dropping an issue you disagree with, or the PR's `title` when it differs from the task's. Those follow `autonomy.decisions` in your session-start context, the same as mid-run questions. At "none" you decide them all. At "breaking" you ask only when one would make a breaking change or touch a protected path. At "visible" you also ask when one would reverse an accepted decision or change what a person sees or uses. At "all" you ask about each one. To ask, record it with `ask` for the task, and tell the worker with `send` to carry on with the issues the question doesn't block. The revision-limit question waits for the user whatever `autonomy.decisions` says, because it's about merging or dropping work.
## Set up the test command once per repo
`together` runs the repo's tests on the open PRs merged together. If `.foreman/config.json` has no `tests.command`, work the command out from the repo: its README, `package.json` scripts, `Package.swift`, `Makefile` or CI workflow. Save it by calling `baseline` with `test` set to that command. You can't edit `.foreman/config.json` yourself, because Foreman refuses every session's edit to it.
It runs in a fresh checkout with nothing installed or built, so include the setup the tests need. Foreman stops it after `tests.minutes` (default 15). For a slow suite, ask the user to set `minutes` under `tests` in `.foreman/config.json`, giving them the line to paste, such as `"tests": { "command": "...", "minutes": 30 }` with their command kept.
## Set up screenshots once per repo
Work out the `screenshots` entry below, then ask the user to add it to `.foreman/config.json`, giving them the exact JSON to paste. You can't edit that file yourself, because Foreman refuses every session's edit to it. Once they say it's in, check it by calling `shots` for a running task.
Web:
```json
{ "screenshots": { "adapter": "web", "install": "npm ci", "start": "npm run dev -- --port {port}", "url": "http://localhost:{port}" } }
```
Each worktree gets its own port. Briefs list routes: `- settings: /settings`.
macOS:
```json
{ "screenshots": { "adapter": "macos", "prepare": "xcodegen generate",
"build": "xcodebuild -project App.xcodeproj -scheme App -configuration Debug -derivedDataPath {derivedData} CODE_SIGN_IDENTITY=- CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM= build",
"app": "{derivedData}/Build/Products/Debug/App.app", "settleSeconds": 5 } }
```
Each build gets its own DerivedData. Foreman copies the app and gives the copy its own bundle id. It removes the copy's extensions, signs it locally, then launches it with its own HOME, so several copies never share preferences or Application Support. Keep signing local, as above, so building never registers new App IDs on the user's developer account. Briefs list launch arguments: `- editor: -OpenSampleRecording YES`, or nothing after the colon for a plain launch.
The terminal app running the review tab needs Screen Recording permission (System Settings > Privacy & Security > Screen & System Audio Recording). `foreman doctor` checks it.