/unity-version-control:uvcs-address-reviewfrom unity-version-control
Address the comments a reviewer left on a UVCS / Plastic SCM code review or merge request, as the code author: find the review on the workspace's branch, list the change requests, questions and comments still pending, plan their order, then fix, answer, discard or re-request under the user's direction, one check-in per change request. Use when the user says fix the review, address the review comments, apply the review changes, my review came back as rework required, answer the reviewer's question, discard a review comment, or re-request review. This is the author side — producing findings and publishing them is uvcs-code-review. All cm syntax comes from the uvcs-core skill — load it first.
Ships in unity-version-control. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
cmThis skill owns the order and the stopping points; every cm flag it names belongs to the
uvcs-core skill — load it first, and read uvcs-core/references/reviews-and-merge-requests.md
(comment types, replies, [apply-change:]) and uvcs-core/references/find-queries.md (comment
fields, location vs line, the revision lookup) rather than guessing.
Check availability first: no comment/reviewer/review in cm mergerequest --usage, only fixing works.
cm status --header # branch@repo@server, or the changeset/label/shelve it is pinned to
cm status # pending changes
cm switch replaces their working tree. Once they agree, switch and stop again.Do not go looking on other branches. The workspace's branch is the whole search space; no review there, or nothing pending on it, means there is nothing to do — say so and stop.
cm find review "where target='br:/main/task001'" --format="{id}|{title}|{codereviewstatus}|{owner}" --nototal
review and not mergerequest: a branch may carry a plain code review instead of an MR; on
either, cm mr and cm codereview are the same commands on its id. Do not filter on Rework
required: pending is a property of the comment, not of the review's status. Two reviews on the
branch: list them, let the user pick, never merge queues.
cm find changereviewcomment "where reviewid=<id>" --xml --nototal
Take the thread once and keep it. Whether a parent is pending is decided by its children
(rows whose parent carries its id), never by its own fields: a discarded change keeps
type=change and appliedinchangeset=-1, an answered question keeps type=question.
| Bucket | The comment is |
|---|---|
| change — make it or discard it | type=change, parent=-1, appliedinchangeset=-1, and no row in the thread with parent=<its id> and type=discarded (from anyone) |
| question — answer it | type=question, parent=-1, and no row in the thread with parent=<its id> — a child of any type (comment, discarded…) answers it; its own fields never show that |
| comment — address, clarify or answer it | type=comment or conversation, parent=-1, no row with parent=<its id>, and posted by someone other than the user |
| not yours | everything else — a parent already applied or settled by a child, every child itself, and timeline |
-1 is "unset" on every numeric field, never a real id. A discarded child settles its parent
whoever posted it — reviewer, author, or you earlier. All buckets empty: say so and stop.
Line numbers: {location} + 1, 0-based: 11 is line 12, lines:11-17 lines 12 to 18 ({line}
shows a range's first only); -1 or other kind: text is no line (uvcs-core/references/find-queries.md).
The file comes from the comment's revision id — never search or guess it from the comment:
cm find revision "where id=<revisionid>" --format="{item}|{changeset}|{branch}" --nototal
The anchor is what the reviewer read, not what is on disk. {changeset} dates it; a later
changeset that touched the file may have moved the line or removed the code. Understand what the
reviewer asks about which code — reading the revision they saw if the workspace copy no longer
matches — then find that code in the workspace copy and fix it there. If the code already does
what is asked, nothing is left to check in: say so and propose a discard.
cm cat "revid:<revisionid>@rep:<repo>@repserver:<server>" --file=/tmp/reviewed.cs
Give every item a short id: reuse the bracketed id a comment starts with ([B1], [I2]… from
uvcs-code-review), never renumber; otherwise CH1… for changes, C1… comments, Q1… questions.
Order matters: one fix can change or invalidate another. Changes and comments first, questions last — a fix can change the answer. Among the changes, the smallest goes first and the broadest last, never thread order: a one-line rename before a three-file refactor, then the question. Reorder only for a stated dependency: a request that names code another item creates goes after it.
For each item, form a verdict before touching anything: exactly what the reviewer wants, where, and how you would change it. Mark it unclear when you cannot state that with confidence, and disagree only when you are sure the reviewer is wrong (the code already handles it, the change breaks something) — with the reason; when in doubt it is unclear, not disagree.
Show the plan — id, file, line, request, any verdict — then ask which way to work, and wait:
Take the items in plan order. For each, show the request in full, keeping its line breaks (a finding flattened into one line loses its fix), and your proposal; then stop and wait:
| Item | You propose, and revise until the user approves | On "ok" |
|---|---|---|
| change | the fix, applied in the workspace and shown as a diff — a ```suggestion block is the reviewer's proposed replacement for the anchored line or whole range, weighed like any fix, never applied blindly | check in with the tag |
| question or comment | a reply | post it |
| question or comment pointing at a sensible change | the fix as a diff, then the reply | check in without the tag, then post "Fixed in cs:." |
| disagree | a discard, with the reason | post it |
| unclear | your question to the user | carry on with their answer |
Naming an item ("fix B1", "answer Q2") starts it — it is not the "ok", so draft and ask. "skip" leaves one pending, "status" reports, "do the rest" switches to unattended. After each item, one line — what happened, how many are left — and offer the next; never start it unasked.
A change, once the diff is approved — show the comment and file list, then:
cm checkin src/InventoryManager.cs -c "[apply-change:8123d65a] Null-check the slot before use"
cm checkin src/Shop.cs src/Wallet.cs -c "[apply-change:3f9a0c21] [apply-change:77be4d10] Price in cents" # cannot build apart: one check-in
One comment, one changeset: the tag (first 8 hex of the GUID) and a one-line summary, so each
thread reads against its own diff — both tags in one check-in only for fixes that cannot build
or pass tests apart. Name workspace paths ({item}; the /src/... anchor is a server path).
On "change requests … cannot be found or are already applied" it landed: never re-run; report it.
A fix for a question or comment — no tag: on anything but a change it matches nothing and errors:
cm checkin src/InventoryManager.cs -c "Dispose the stream"
A reply, once approved — by the comment's GUID, not the numeric parent id; one line per paragraph, objects as bare specs (uvcs-core/references/writing-comments.md):
cm mr comment reply <comment_guid> -commentsfile=<file>
A discard — the only way to settle a change you will not make; a plain reply leaves it pending:
cm mr comment reply <comment_guid> --discard -commentsfile=<file>
Last item done: re-request, unless every item was skipped (then nothing changed):
cm mr review 311 --re-request --all
Do not ask per item. Take the changes in plan order and, for each, apply the fix and check it in with its tag at once, exactly as in step 5 — so every fix builds on the one before it:
cm checkin src/InventoryManager.cs -c "[apply-change:8123d65a] Null-check the slot before use"
A question or comment pointing at a sensible change: fix it, check it in without the tag, and draft "Fixed in cs:." as its reply. If a fix or check-in fails, stop and report, its edits left in place.
Post nothing yet. Replies notify a human, so draft the reply to every question and comment, the discard for every disagree item, and your question on every unclear one. Then show them all at once and wait; on the user's "ok", with any edits, post them as in step 5 and re-request — the re-request is part of that approval, never run before it.
Show what happened to every item — applied, discarded, answered, skipped — with the changeset it
produced and the review, each a markdown link on its own cs:<id> name
(uvcs-core/references/deep-links.md). The re-request is the last command in either mode.
Steps 1–4 are read-only. From step 5 on: no cm command deletes a changeset, so check in only on the
workspace's own branch, and confirm each one in Interactive mode; every reply, discard and
re-request notifies a human, so in either mode never post one the user has not seen.
Producing the findings is uvcs-code-review — this skill only replies. Landing the branch is
uvcs-merge. And never reach for git in a UVCS workspace, or invent a cm flag.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub unity-technologies/uvcs-agent-plugin --plugin unity-version-control7 skills in this plugin
/uvcs-code-reviewReview UVCS / Plastic SCM changes as the reviewer and publish the findings as review comments: a branch through its merge request, a changeset or shelve through a code review, or the workspace's pending changes in chat. Use when the user says review my changes, review this branch, review changeset 42 or shelve 12, code review, open a merge request or pull request, request a review from someone, publish review comments, approve, LGTM, or set my status to rework required. Merges the project's own code-review-rules skill into its general review rules when the project has one. Performing the merge is uvcs-merge; fixing a review as its author is uvcs-address-review. All cm syntax comes from the uvcs-core skill — load it first./uvcs-coreCore knowledge for Unity Version Control (UVCS, formerly Plastic SCM) and its cm command line: how UVCS concepts differ from git, object specs (br:, cs:, lb:, sh:, serverpath:), which cm command answers which question, read-only vs mutating vs irreversible commands, how to name UVCS objects and build deep links (plastic://, or unityhub:// when the workspace is a Unity project) when reporting results, and curated cm recipes for status, find queries, diff and patch, history, branches, checkin, shelves, merge requests and code reviews. Use whenever composing or running any cm command, or when the user mentions UVCS, Unity Version Control, Plastic SCM, cm, changeset, cset, workspace, selector, branch, label, shelve, shelveset, checkin, annotate, merge request, MR, pull request, PR, code review, reviewer, xlink, plastic:// or unityhub:// links. Every UVCS workflow skill builds on this one — load it first.