/teamwork:mr-state-judgefrom teamwork
Judges merge request readiness by interpreting pipeline status, AI reviewer verdicts, human vs bot approvals, and thread states. Answers whether an MR is green, what blocks merge, whose turn it is, and if a pipeline or verdict is stale.
Ships in teamwork. 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.
A status read or a watcher event reports facts: a pipeline status, a head SHA, thread files, approvals. It cannot tell you what they mean for the merge. These rules do. The handover itself, whose court the ball is in by the ticket and the draft flag, is teamwork:review-handshake.
Green is success and nothing else. The status names below are GitLab's; read another host's statuses the same way.
canceled is not green. Nothing ran to completion and the job list shows no red, which is why it gets misread.manual is an unfinished blocking gate.skipped means no pipeline ran for this head.running and pending are not evidence yet.A pipeline counts only when its SHA equals the MR head. A red pipeline on a branch that is behind its target ran on a superseded base, so judge it again after the rebase.
Profile every AI reviewer on the MR at hand, and assume nothing. Reviewers do not behave alike, and the words one uses mean nothing to another. Before you read any verdict, answer these questions per reviewer from its own threads:
Read its vocabulary the same way. The words a reviewer uses for "mergeable", "nothing actionable, but a human must still review" and "actionable findings open" are its own. The middle one is the one everyone misreads.
If a memory already holds a reviewer's profile, use it and check it once against that reviewer's newest note. If the memory and the MR disagree, report the disagreement and derive the profile again. Once you derive a profile, propose a memory for it, one per reviewer identity keyed by host plus author string, so the next run reads it instead of inferring it again. An example, with fictional values:
reviewer: @qa-review-bot (host: git.example.com, author name: "QA Review Bot")
posts: inline findings + one summary comment
summary: edited in place — the last note of its general thread is the current verdict
non-verdict notes: "review skipped, head unchanged" after a rebase
reads replies: no — a finding clears by a code change plus a manual resolve
verdict names its head: yes — trailing "reviewed <short-sha>", compare it with the current head
verdict vocabulary: "Ready to merge" / "Needs work" / "No blocking findings"
Read the latest verdict per reviewer, plus the count of threads unresolved now. Never infer "this MR has problems" from old finding notes. A reviewer can post major findings on Monday, see them fixed on Tuesday, and post a clean summary on Wednesday; the old notes stay forever. A reviewer that edits its summary in place keeps the newest verdict in one of the oldest threads, so do not order threads by when they were opened. A verdict on a superseded head is stale evidence, not the current state.
Keep human review apart from the author's own comments and from bots.
teamwork:review-handshake says how a posted comment is signed.Say what blocks the merge right now, and whose turn it is: red CI, draft, unresolved threads, conflicts, a missing approval, a blocking review. The author fixes, rebases or replies; the reviewer reviews and approves. Every value is a snapshot, because the target branch keeps moving.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fprochazka/claude-code-plugins --plugin teamwork3 skills in this plugin
/review-handshaketeamwork:review-handshakeThe protocol between the author side and the reviewer side of a merge request — how the ticket state and the draft flag say whose court the ball is in, what each side may do to the other's threads, how posted comments are signed, and where the run's ledgers live. Use when a command hands work over for review or takes it back, replies to or resolves a review thread, or asks "is this MR ready for review", "who has the ball", "may I resolve this thread". The sdlc and code-review commands invoke this skill by name./workflow-identifyteamwork:workflow-identifyIdentify the project's issue tracker, team, ticket conventions and workflow state names before any command touches a ticket. Use when asked "which status should this move to", "move the ticket", "mark it ready for review", "what is the team workflow", "which issue tracker states exist", or when a ticket has to change state. The sdlc and code-review commands invoke this skill by name and consume its output block.Other plugins' skills for the same job