plugin/skills/ai-critic/SKILL.md
Fetch AI-generated review suggestions from pair-review and make code changes to address them. Use when the user says "address AI feedback", "address AI suggestions", "fix AI review feedback", or wants to iterate on code based on AI analysis results from pair-review.
npx skillsauth add in-the-loop-labs/pair-review ai-criticInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fetch AI-generated suggestions from pair-review and make code changes to address the valid ones.
Determine whether this is a local review or a PR review:
repo and prNumber params.path (absolute cwd) and headSha (git rev-parse HEAD) params.Call mcp__pair-review__get_ai_suggestions with the review context params. This returns suggestions from the latest analysis run by default.
If the user wants suggestions from a specific analysis run, call mcp__pair-review__get_ai_analysis_runs first to list available runs, then pass the appropriate runId to get_ai_suggestions.
Only active and adopted suggestions are included (dismissed ones are excluded).
If no suggestions are returned, tell the user there are no AI suggestions to address.
AI suggestions are not human-curated — apply judgment. For each suggestion:
Use the ai_confidence field as a signal but not a hard threshold — low-confidence suggestions can still be valid.
After processing all suggestions, provide a summary:
development
Fetch human review comments from pair-review and make code changes to address them. Use when the user says "address review feedback", "fix review comments", "address comments", or wants to iterate on code based on feedback left by a human reviewer in pair-review.
development
Open outstanding GitHub review requests in pair-review for AI-powered code review. Finds open PRs where my review is pending from the past week and starts pair-review analysis for each. Use when the user says "review requests", "review my PRs", "check review requests", "open review requests", "pair-review my requests", or wants to batch-review their outstanding GitHub review requests.
tools
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.
tools
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.