Skip to content
Development
Command

/address-pr-comments

Collect unaddressed review comments on this branch's PR, fix or answer each, and reply in the thread.

From plugin
opik-mcp
2254 skills3 agents4 commands1 MCP
> /plugin marketplace add comet-ml/opik-mcp
> /plugin install opik@opik

Command definition

address-pr-comments.md
# A command, not a skill, and user-only: see .claude/rules/skills.md.
disable-model-invocation: true
description: Collect unaddressed review comments on this branch's PR, fix or answer each, and reply in the thread.

Handle the open review comments on this branch's PR in `comet-ml/opik-mcp`.

1. Find the PR

  • `gh auth status`; stop if not logged in.
  • `gh pr list --head <branch> --state open`. If none, say so and stop.

2. Collect comments

Always `--paginate`; without it, comments past the first 30 are missed.

gh api repos/comet-ml/opik-mcp/pulls/<n>/comments --paginate
gh api repos/comet-ml/opik-mcp/issues/<n>/comments --paginate
gh api repos/comet-ml/opik-mcp/pulls/<n>/reviews --paginate

A comment is pending when its thread is unresolved (GraphQL, step 5) and it has no reply from us yet. Include bot reviewers.

3. Propose

One line each: `id`, `file:line`, a short quote, and what you propose: a code change, an answer (the code is already right), or skip with a reason. Then ask me: fix, answer, or skip, per comment.

4. Act and reply

Reply in the thread with `in_reply_to`:

gh api repos/comet-ml/opik-mcp/pulls/<n>/comments -f body="…" -F in_reply_to=<id>
  • Answer or skip: reply now, one or two lines.
  • Fix: make the change, run the relevant tests, commit, and push. Only after

the push succeeds, reply `Fixed in <sha>: <what changed>`. Never post a "Fixed" reply for a commit that isn't on origin.

5. Resolve

Ask before resolving. Page through `reviewThreads` with GraphQL (`first: 100`, follow `endCursor` until `hasNextPage` is false), and resolve only the threads we replied to:

gh api graphql -f query='mutation { resolveReviewThread(input: {threadId: "<id>"}) { thread { isResolved } } }'

Report how many threads were resolved.

Read more
@comet-ml
Ships withopik-mcp

The official Model Context Protocol (MCP) server for Opik, the open-source LLM observability and evaluation platform, built by Comet.

22511 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
225
Star history of comet-ml/opik-mcp on GitHub, a chart by star-history.com

Other commands on opik-mcp.

create-pr

create-pr

Command

Run what CI runs, review the branch, and open a draft PR in comet-ml/opik-mcp with the template filled in.

@comet-ml@comet-mlInstall Command
dogfood

dogfood

Command

Use this branch's MCP server like a customer, next to main, and report what a customer would notice changed.

@comet-ml@comet-mlInstall Command
install-branch

install-branch

Command

Install the current worktree as MCP server opik-<ticket>, for sessions in this repo only.

@comet-ml@comet-mlInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command