一键导入
view-pr
View the PR associated with the current branch or a specified PR number/branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
View the PR associated with the current branch or a specified PR number/branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a single-file HTML artifact (status report, slide deck, prototype, throwaway editor, flowchart, etc.) and open it in the browser. Use when the user wants a one-off visual artifact instead of markdown — for sharing, reference, or interactive exploration.
Gather context from the codebase and (optionally) the web, then propose multiple ways to move forward with tradeoffs, relative impact, and effort. Use when user wants to explore options, weigh approaches, or asks "what are my options" / "how should I tackle this" before committing to a plan.
Propose a concrete plan to cut a branch and implement a change as one or more atomic commits, grounded in the current codebase and (optionally) outside research. Use when user wants a step-by-step implementation plan, asks "propose a plan" / "how would you implement this", or is ready to move from discussion to execution.
Summarize what shipped over a date range, commit range, or release tag — synthesizes git log, GitHub PRs, and Linear issues into a single markdown brief.
View a Sentry issue by short ID (e.g. PROJECT-123) or URL. Shows details, status, latest event, and tag distribution. Use when user wants to view, check, or look up a Sentry issue, error, or event.
Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.
| name | view-pr |
| description | View the PR associated with the current branch or a specified PR number/branch |
| argument-hint | [pr-number or branch] |
| allowed-tools | Bash(gh pr *), mcp__gitea__pull_request_read, mcp__gitea__list_pull_requests |
git remote -vgit branch --show-currentCheck the git remotes above to determine the platform:
github.com → use gh CLImcp__gitea__pull_request_read and mcp__gitea__list_pull_requestsView and summarize the pull request.
If $ARGUMENTS is provided, use it as the PR number or branch:
gh pr view $ARGUMENTS
gh pr diff $ARGUMENTS
gh pr view --comments $ARGUMENTS
Otherwise, view the PR for the current branch:
gh pr view
gh pr diff
gh pr view --comments
Extract owner/repo from the remote URL. If $ARGUMENTS is a PR number, use it as the index. Otherwise, use mcp__gitea__list_pull_requests to find the PR for the current branch, then:
mcp__gitea__pull_request_read with method get for detailsmcp__gitea__pull_request_read with method get_diff for the diffmcp__gitea__pull_request_read with method get_reviews for review dataSummarize concisely: title, state, author, reviewers, checks status, a brief description of the changes, and any notable review comments.