AgentSkillsCN

pr

在配对评审的Web界面中,打开当前分支的GitHub拉取请求。此操作仅会打开浏览器——不会运行AI分析,也不会自动生成建议。一旦打开,用户可自行浏览差异对比、留下评论,并通过Web界面触发分析。当用户说“review this PR”、“review pull request”、“open PR review”,或希望为当前分支的拉取请求开启配对评审会话时,即可调用此技能。若用户希望对PR进行自动化AI分析,而非仅仅打开浏览器,可改用“code-critic:analyze”技能(独立运行,需安装code-critic插件)或“pair-review:analyze”技能(需连接MCP服务器)。值得注意的是,用户在打开配对评审Web界面后,同样可在其中触发AI分析。

SKILL.md
--- frontmatter
name: pr
description: >
  Open the GitHub pull request for the current branch in the pair-review web UI.
  This only opens the browser — it does not run AI analysis or generate suggestions.
  Once open, the user can browse the diff, leave comments, and trigger analysis
  from the web UI themselves.
  Use when the user says "review this PR", "review pull request", "open PR review",
  or wants to open a pair-review session for the current branch's pull request.
  If the user wants automated AI analysis of the PR rather than just opening the browser,
  use the `code-critic:analyze` skill (standalone, requires code-critic plugin) or `pair-review:analyze` skill (requires MCP server) instead. Note that the user can also trigger
  AI analysis from within the pair-review web UI after opening it.

PR Review

Open the current branch's GitHub PR in the pair-review web UI.

Steps

  1. Call the mcp__pair-review__get_server_info tool to get the server URL.
  2. Determine the GitHub owner, repo, and PR number for the current branch.
  3. Open the browser: open "{url}/pr/{owner}/{repo}/{number}"

Error handling

  • If get_server_info fails, tell the user to start pair-review first: npx @in-the-loop-labs/pair-review --mcp
  • If no PR exists for the current branch, tell the user.