원클릭으로
sp-review-pr
Review code changes on a pull request and evaluate against project constraints.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review code changes on a pull request and evaluate against project constraints.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | sp-review-pr |
| description | Review code changes on a pull request and evaluate against project constraints. |
| mode | agent |
| tools | ["codebase","githubRepo","terminalLastCommand"] |
| arguments | [{"name":"pr_number","description":"The number of the GitHub pull request to review.","required":true}] |
Review the code changes on the following pull request:
Perform the following operations to prepare for the review:
develop or main).pull_request_read with get_review_comments (or equivalent). Analyze what concerns have already been raised (especially by automation/Copilot).git diff origin/<target-branch>...HEAD
Do not perform a superficial checklist review. Inspect every modified and new file deeply for logic, performance, and correctness:
Double or Float used for currency amounts, shares, exchange rates, or percent splits — all must use BigDecimal with explicit RoundingMode and scale.String (toPlainString() / toBigDecimalOrNull()), not Double.wc -l <path/to/file.kt> for every modified or new production .kt file — none may exceed 600 lines (test files exempt).Context, LocaleProvider, or other ViewModels — only UseCases, Mappers, and Domain Services.onEvent() handles >5 event categories or the file exceeds ~200 lines, verify that logic is extracted into plain Event Handler classes.*UiMapper / *UiMapperImpl) via LocaleProvider. Never in ViewModels or Domain Services.assert() is never used — JUnit assertions only.CoroutineDispatcher (default Dispatchers.IO) — never hardcoded.collect / collectLatest calls in presentation handle empty/null emissions correctly. Check that hot flows use correct retention constants.email or createdAt) if local cache lookups fail.try-finally blocks.stringResource(...) or standard UiText.asString() Composable extensions) rather than piping LocalContext down where avoidable. Ensure padding rules use proper constants.Triage all architectural violations, bugs, and design inconsistencies into three distinct tiers:
Violations in this tier are critical and MUST block merging. They will trigger a REQUEST_CHANGES review status.
Double/Float for money math or currency values instead of BigDecimal.Violations in this tier affect maintainability or formatting, triggering a COMMENT review status if no Blockers are present.
UiMapper / UiMapperImpl).@Transaction where needed.Style adjustments, recommendations, or minor refactorings. These trigger a COMMENT or APPROVE review status.
To provide a clear, professional review, you should submit both inline comments on specific lines/files and an overall summary/verdict:
pull_request_review_write tool with method = "create" and leave the event parameter empty. This creates a pending review.add_comment_to_pending_review with the file path, the line (or startLine and line), the subjectType = "LINE", and the comment body.pull_request_review_write with method = "submit_pending", the overall summary markdown as body, and the appropriate event:
event to REQUEST_CHANGES. (Note: If you cannot request changes on your own PR, fallback to COMMENT).event to COMMENT.event to APPROVE.Address and resolve existing review comments on a GitHub pull request.
Fetch, analyze, and resolve SonarQube quality gate failures, code smells, bugs, and coverage gaps.
Turn an idea, problem description, or bug report into a well-formed GitHub issue and create it on GitHub once approved.
Study the feasibility and viability of a proposed feature or architectural change.
Request follow-up work on a specific issue (e.g. bug fixes, additional requirements, visual regression, or debugging) in a new or existing conversation without prior context.
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community detection, and query/path/explain tools.