vanessamarely/ai-playbook-reposito/pr-reviewer
Claude Code and agent skill by vanessamarely/ai-playbook-reposito
- community
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-reviewerSKILL.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
- Extract list of modified, added, and deleted files.
- Identify file types (source code, tests, config, documentation).
- 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:
- Style Consistency
- Verify adherence to project conventions.
- Check for unrelated formatting changes (flag as noise).
- Type Safety (TypeScript/Java/Python with types)
- Identify
anytypes or missing type annotations. - Flag type assertions without justification.
- Error Handling
- Check for unhandled promise rejections.
- Verify appropriate error responses in API endpoints.
- Security
- Detect hardcoded secrets or credentials.
- Identify SQL injection risks (string concatenation in queries).
- Flag unvalidated user input.
- Performance
- Identify inefficient loops or algorithms.
- Flag synchronous operations in async contexts.
Step 6: Accessibility Check (Frontend Only)
If frontend changes detected:
- Read:
.github/skills/react-components/references/a11y-wcag22.md - Check for:
- Use of non-semantic elements for interactive components.
- Missing ARIA labels on icon buttons.
- Keyboard handler omissions.
Step 7: Test Coverage Check
- Identify if tests were added or modified.
- Correlate test changes with source changes.
- 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):
- Check that
.github/copilot-instructions.md,CLAUDE.md,.cursor/rules/, andAGENTS.mdare all consistent with any updated skill routing. - Flag if a new skill was added but not referenced in the AI tool instruction files.
- Suggest running the
ai-tool-setupskill to regenerate instruction files if they are stale.
Step 9: Documentation Check
- Verify that public API changes include updated documentation or comments.
- 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
- SKILL.md in the repositoryCheckingai-playbook/.github/skills/pr-reviewer/SKILL.md
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
[](https://verified-skill.com/skills/vanessamarely/ai-playbook-reposito/pr-reviewer)