/baz:get-plan-commentsfrom baz
Pulls review comments from a Baz plan, summarizes each with assessment and recommendation, then applies selected ones. Two-step read-then-write workflow.
Ships in baz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You were invoked to bring a Baz plan's review comments back into this session.
This skill reports before it writes. Step A reads the comments and shows the user a summary. Step B applies the ones they pick. You never run Step B off your own reading of Step A — not even for comments the reviewer marked Use.
The two-step structure is your procedure, not something the user needs to hear about. Never narrate it: no "Phase 1", no "read-only pass", no "nothing was written", no restating these instructions. The user asked about their plan's comments — show them the comments.
Claude Code may list the baz tools below as mcp__plugin_baz_baz__<tool> rather than mcp__baz__<tool>; they are the same tools.
mcp__baz__get_plan_comments takes one argument, planId — the UUID in the plan URL https://baz.ai/plans/<planId>.
A plan pushed by an agent session is stored under that session's id, so the two are the same UUID:
planId.$ARGUMENTS may already hold it; accept a bare UUID or a full URL.If you have neither, ask for the plan link rather than guessing.
No writes here. None. No respond_to_plan_comment, no update_plan, no edits to the plan file.
Call mcp__baz__get_plan_comments. It returns four groups:
| Group | Meaning | Show as |
|---|---|---|
recommended | Marked Use, no replies yet — the reviewer wants these considered | ✅ Use |
awaitingTriage | No Use/Skip decision recorded | 🕒 Open |
alreadyReplied | Marked Use and carrying replies — you answered on an earlier run, or a discussion is live. The thread is included, so read it before assuming | 💬 Use · N replies |
skipped | Marked Skip — a one-line gist only | ⏭️ Skipped |
Any group can carry a replies array, not just alreadyReplied — an untriaged comment with a live argument on it shows up under awaitingTriage with its thread attached. Whenever replies is non-empty, say so in the State cell (Open · 2 replies) and write the thread out below the table.
Read the current plan text, and read enough of the actual code to judge each comment on its merits. A comment that says "the deployed Role is stale, the chart already grants delete at serviceaccount.yaml:26" is a claim to verify, not a line to transcribe. Check it. Baz's search tools (repo_search, remote_grep, remote_file_search) reach repos you don't have locally.
Report it like this — a count line, one table, one question. Nothing else:
**4 comments** · 1 to consider · 1 open · 1 in discussion · 1 skipped
| # | State | From | Comment | My read | Suggested |
|---|---|---|---|---|---|
| 1 | ✅ Use | Dana | RBAC drift: prod Role lacks `delete` | Holds — chart grants it at `serviceaccount.yaml:26`, so it's deploy state, not a plan gap | Add a Role re-apply step |
| 2 | 🕒 Open | Sam | Prefer polling over webhooks | Would undo Change sequence step 3 | Keep webhooks — your call |
| 3 | 💬 Use · 3 replies | Dana | Retry budget unclear | Thread is live — Sam's last reply asks for a number, unanswered | Read the thread before I touch it |
| 4 | ⏭️ Skipped | Alex | Match existing patterns | — | — |
**3** — Dana: "what's the retry budget?" → Sam: "depends on the limiter" → Dana: "give me a number" (2h ago)
Apply 1? (2 and 3 need your call)
Rules for that table:
Use, Open, Skipped, Use · 3 replies, Open · 1 reply. A comment with replies is a conversation someone is having about the plan — never flatten that to a bare state. The emoji is decoration in front of the word, never a replacement for it.Keep X — your call, or Nothing.author field for From; it's the display name, falling back to a short user id.Only after the user says which comments to act on:
Apply the agreed edits to the plan text.
Call mcp__baz__respond_to_plan_comment once per applied comment, with a body saying what changed and where. That reply notifies the comment's author in Slack and in-app, so write it for them, not for the log: "Applied — added a Role re-apply step to Change sequence step 4."
Call mcp__baz__update_plan with both arguments spelled out, then show the user the returned link:
sessionId: the same id you passed as planId in step 1. Plans are keyed by that id, so this is what sends the new version to the plan you just fixed.content: the full revised plan text, verbatim.Do not omit either. This is the one place that differs from /baz:plan-with-baz, where the hook attaches those arguments for you: that hook fills in the current session's id, which is the wrong plan whenever you are working on one this session didn't create. Passing both explicitly is what keeps the update on target — and a call carrying content passes the hook through untouched, so nothing is double-filled.
If the user asked you to push back on a comment instead of applying it, reply on it too — a disagreement is worth more to the reviewer than silence.
Report the result the same way — short. One line per comment, then the link:
✅ **1** Added a Role re-apply step to Change sequence 4 · replied to Dana
💬 **2** Pushed back — kept webhooks · replied to Sam
📋 [Updated plan](https://baz.ai/plans/<id>) · v3
used is a recommendation, not consent. It tells you the reviewer wants the comment considered. Only the user, in this session, tells you to edit.respond_to_plan_comment accepts triageState, but you set it only when the user explicitly says to mark a comment used or skipped (null clears it). Never infer it, and never mark a comment used just because you acted on it.skipped comments. List them in the table and move on. If the user asks for one anyway, that's their instruction — do it.alreadyReplied. Read the thread. If your own earlier reply covers it, say "no action" rather than proposing the same edit twice.recommended group is a normal outcome, not a problem to solve. Show the table and stop.No comments on this plan yet · 📋 <link> — and nothing more.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/baz-codebase-explorationProcedure for exploring repositories with Baz's indexed search tools. Use when asked to plan a feature, design a change, scope work, or investigate where to make changes across the org's repos. Applies even when you own one side of a cross-repo contract (API param, schema, event payload) locally, and especially when the relevant repositories are not checked out locally. Baz's MCP tools are how you search code across the org; once you know a file's path, read it however you like.
/plan-with-bazPlan a feature or change end-to-end using Baz indexed search across your org's repos. Explores the relevant repos with Baz's MCP tools and produces a structured implementation plan the user signs off on before any code is written. Invoke with /baz:plan-with-baz when you want to start planning a piece of work.
/npx claudepluginhub baz-scm/baz-plugin --plugin bazOther plugins' skills for the same job