pr-review
БесплатноБез исполняемых скриптовНе проверенReview pull requests for code quality, security, and adherence to repo patterns. Use when reviewing PRs, checking code changes, performing code review, or…
Об этом скилле
PR Review
Reviews code changes for quality, security, and pattern compliance.
When to Use
- "Review this PR"
- "Check these changes"
- "Code review for..."
- "Is this safe to merge?"
- "Review my changes"
Procedure
Step 1: Get Change Summary
git diff main...HEAD --stat
git log main..HEAD --oneline
Step 2: Review Each Changed File
For each file, check against the checklist.md.
Priority order:
- Security concerns (auth, validation, secrets)
- Database changes (migrations, schema)
- API changes (breaking changes, rate limiting)
- Logic correctness
- Code style and patterns
Step 3: Check Test Coverage
# See what tests exist for changed files
git diff main...HEAD --name-only | grep -E '\.(ts|tsx)$' | while read f; do
echo "=== $f ==="
basename="${f%.*}"
find packages/tests -name "*${basename##*/}*" 2>/dev/null
done
Step 4: Run Quality Checks
pnpm typecheck
pnpm lint
pnpm test:integration
Step 5: Generate Review Report
Output format:
## PR Review: {title}
### Summary
- Files changed: {count}
- Lines added/removed: +{added}/-{removed}
- Risk level: {Low|Medium|High}
### Findings
#### 🔴 Critical (Must Fix)
- {issue with file:line reference}
#### 🟡 Suggestions
- {suggestion with file:line reference}
#### ✅ Looks Good
- {positive observation}
### Checklist
- [ ] Auth properly implemented
- [ ] Rate limiting applied
- [ ] Input validated
- [ ] No secrets in code
- [ ] Tests added/updated
- [ ] TypeScript compiles
- [ ] ESLint passes
### Recommendation
{APPROVE | REQUEST_CHANGES | NEEDS_DISCUSSION}
Guardrails
- DO NOT approve PRs with security vulnerabilities
- DO NOT approve PRs that break existing tests
- Flag any database schema changes for careful review
- Flag any auth/permission changes for security review
- If unsure about a change, ask for clarification
Установить pr-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobBashВложенные файлы
FAQ
Что делает скилл pr-review?
Review pull requests for code quality, security, and adherence to repo patterns. Use when reviewing PRs, checking code changes, performing code review, or validating changes before merge.
Как установить скилл pr-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic