Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

ai-critic

verified

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.

View on GitHub

Marketplace

pair-review

in-the-loop-labs/pair-review

Plugin

pair-review

development-workflows

Repository

in-the-loop-labs/pair-review
2stars

plugin/skills/ai-critic/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/in-the-loop-labs/pair-review/blob/main/plugin/skills/ai-critic/SKILL.md -a claude-code --skill ai-critic

Installation paths:

Claude
.claude/skills/ai-critic/
Powered by add-skill CLI

Instructions

# AI Critic

Fetch AI-generated suggestions from pair-review and make code changes to address the valid ones.

## Determine review context

Determine whether this is a local review or a PR review:

1. If the user explicitly says "local", use local mode.
2. Otherwise, determine the GitHub owner, repo, and PR number for the current branch. If a PR exists, use PR mode with `repo` and `prNumber` params.
3. If no PR exists, use local mode with `path` (absolute cwd) and `headSha` (`git rev-parse HEAD`) params.

## Fetch AI suggestions

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.

## Triage and address suggestions

AI suggestions are not human-curated — apply judgment. For each suggestion:

1. Read the file at the referenced path and lines.
2. Evaluate the suggestion: is it a real issue, a false positive, or a stylistic preference?
3. If the suggestion is valid and actionable, make the code change.
4. If the suggestion is a false positive or not worth addressing, skip it and note why.

Use the `ai_confidence` field as a signal but not a hard threshold — low-confidence suggestions can still be valid.

## Report

After processing all suggestions, provide a summary:
- How many suggestions were reviewed
- Which ones were addressed (and what changed)
- Which ones were skipped (and why)

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1741 chars