AgentSkillsCN

local

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

SKILL.md
--- frontmatter
name: local
description: >
  Open local uncommitted changes for review 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 my local changes", "review local", "open local review",
  or wants to open a pair-review session for uncommitted work in the current directory.
  If the user wants automated AI analysis of their local changes 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.

Local Review

Open the current working directory in the pair-review web UI for local code review.

Steps

  1. Call the mcp__pair-review__get_server_info tool to get the server URL.
  2. Get the absolute path of the current working directory.
  3. URL-encode the path.
  4. Open the browser: open "{url}/local?path={encoded_path}"

If get_server_info fails or the MCP server is not connected, tell the user to start pair-review first:

code
npx @in-the-loop-labs/pair-review --mcp