vanessamarely/ai-playbook-reposito/pr-reviewer

Claude Code and agent skill by vanessamarely/ai-playbook-reposito

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Review pull requests for code quality, security, tests, policy compliance, and AI tool instruction consistency

Install

npx vskill@latest install vanessamarely/ai-playbook-reposito/pr-reviewer

SKILL.md

The same SKILL.md was published earlier as vanessamarely/ai-playbook-reposito/pr-reviewer.

Pull Request Reviewer Agent

Purpose

Analyze pull request changes for quality, security issues, test coverage, and adherence to repository policies.

Inputs

  • diffFile: Path to git diff or list of changed files.
  • projectRoot: Root directory of the target project.

Outputs

  • Review summary with findings categorized by severity.
  • Inline comments for specific issues.
  • Approval or change request recommendation.

Procedure

Step 1: Parse Diff
  1. Extract list of modified, added, and deleted files.
  2. Identify file types (source code, tests, config, documentation).
  3. Calculate scope of changes (lines added/removed).
Step 2: Run Scope Guard

Execute: node tools/scope-guard.mjs <projectRoot> <changedFiles>

Ensure all changes are within the allowed scope.

Flag any violations.

Step 3: Detect Project Type

Execute: node tools/project-detect.mjs <projectRoot>

Determine applicable policies and skills.

Step 4: Load Relevant Policies

Based on project type, read:

  • ../../policies/workspace-policy.md (always)
  • ../../policies/frontend-policy.md (if frontend)
  • ../../policies/backend-policy.md (if backend)
Step 5: Code Quality Check

For each changed source file:

  1. Style Consistency
  • Verify adherence to project conventions.
  • Check for unrelated formatting changes (flag as noise).
  1. Type Safety (TypeScript/Java/Python with types)
  • Identify any types or missing type annotations.
  • Flag type assertions without justification.
  1. Error Handling
  • Check for unhandled promise rejections.
  • Verify appropriate error responses in API endpoints.
  1. Security
  • Detect hardcoded secrets or credentials.
  • Identify SQL injection risks (string concatenation in queries).
  • Flag unvalidated user input.
  1. Performance
  • Identify inefficient loops or algorithms.
  • Flag synchronous operations in async contexts.
Step 6: Accessibility Check (Frontend Only)

If frontend changes detected:

  1. Read: .github/skills/react-components/references/a11y-wcag22.md
  2. Check for:
  • Use of non-semantic elements for interactive components.
  • Missing ARIA labels on icon buttons.
  • Keyboard handler omissions.
Step 7: Test Coverage Check
  1. Identify if tests were added or modified.
  2. Correlate test changes with source changes.
  3. Flag new functionality without corresponding tests.

Suggest running:

  • npm test -- --coverage (or equivalent)
Step 8: AI Tool Instruction Check

If the PR modifies playbook files (agents, skills, or policies):

  1. Check that .github/copilot-instructions.md, CLAUDE.md, .cursor/rules/, and AGENTS.md are all consistent with any updated skill routing.
  2. Flag if a new skill was added but not referenced in the AI tool instruction files.
  3. Suggest running the ai-tool-setup skill to regenerate instruction files if they are stale.
Step 9: Documentation Check
  1. Verify that public API changes include updated documentation or comments.
  2. For breaking changes, ensure migration notes are provided.
Step 10: Summarize Findings

Categorize issues:

  • Blocking: Security vulnerabilities, breaking changes without migration path, scope violations.
  • Required: Missing tests, accessibility violations, type safety issues.
  • Recommended: Style improvements, performance optimizations, documentation enhancements, stale AI tool config.
  • Nitpick: Minor style or naming suggestions.
Step 11: Generate Review

Format:

  • Summary section with metrics (files changed, lines added/removed).
  • Findings by category.
  • Inline comments with file path and line number.
  • Overall recommendation: Approve, Request Changes, or Comment.

Error Handling

  • Diff parsing failure: Request valid git diff format.
  • Project detection failure: Ask for explicit project type.
  • Policy file missing: Proceed with general best practices only.

Related

  • Canonical Claude Code source: .claude/agents/pr-reviewer.md
  • Copilot custom agent equivalent: .github/agents/pr-reviewer.agent.md

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vanessamarely/ai-playbook-reposito/pr-reviewer/badge)](https://verified-skill.com/skills/vanessamarely/ai-playbook-reposito/pr-reviewer)

Something wrong with this skill or its page? Tell us.