review-pr-lite
БесплатноБез исполняемых скриптовНе проверенReview a pull request for code quality and security issues without using subagents. Use when the user wants a lighter-weight PR review in a single skill.
от dyoshikawa★ 1 671 звезда на GitHubОб этом скилле
target_pr = the user's request
If target_pr is not provided, use the PR of the current branch.
Important: Do Not Switch the Local Branch
- Do NOT check out, switch, or otherwise move the local branch (e.g.,
git checkout,git switch,gh pr checkout). - To inspect the PR's changes, use
gitandghcommands that read remote state without moving the working tree. For example:gh pr view $target_prto read PR metadata and description.gh pr diff $target_prto read the diff.gh pr view $target_pr --json filesorgh apito list changed files.git fetch origin pull/<PR_NUMBER>/head:refs/remotes/origin/pr-<PR_NUMBER>andgit diff origin/main...origin/pr-<PR_NUMBER>if a local read-only ref is needed.
Step 1: Gather PR Context
Run the following in parallel:
- Get the PR description and metadata via
gh pr view $target_pr(do not check out the PR locally). - Get the PR diff via
gh pr diff $target_pr. - If needed, inspect changed files individually for deeper context using
gh/gitcommands (e.g.,gh api,git show) — without switching the local branch.
Step 2: Review the Changes
Review the PR directly in this skill without calling any subagents.
Focus on both of the following:
Code Review
- Bugs or behavioral regressions
- Incorrect assumptions or edge cases
- Missing or weak tests
- Maintainability issues that could cause near-term problems
Security Review
- Injection risks
- Auth/authz mistakes
- Secrets exposure
- Unsafe file, network, shell, or deserialization behavior
- Dependency or configuration changes that could weaken security
Step 3: Report Findings
Integrate all findings into one review result. Please output the PR number in the result so that the user can easily find the PR.
Reporting Rules
- Assign a severity level to each finding: low, mid, high, or critical.
- Assign a sequential number to each finding (e.g., #1, #2, #3, ...).
- Present findings first, ordered by severity.
- If no findings are discovered, explicitly state that no findings were found.
- Keep the summary brief and focused on risk and testing gaps.
Step 4: Check GitHub Actions Workflows
After completing the content review, check the status of the GitHub Actions workflows for $target_pr (for example, using gh pr checks or gh run list).
- Report the status of every workflow run to the user, including runs that are still in progress.
- For each failing workflow, also report:
- The likely cause of the failure (based on the relevant logs or job output).
- Candidate solutions or next steps to resolve it.
Установить review-pr-lite в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-pr-lite?
Review a pull request for code quality and security issues without using subagents. Use when the user wants a lighter-weight PR review in a single skill.
Как установить скилл review-pr-lite?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-pr-lite запускает скрипты?
Нет, скилл состоит только из инструкций (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