用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/gautam-achieveai/ClaudePlugins --skill pr-context命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Internal helper. Load only when explicitly named by another skill or agent. Publishes goal-aligned, deduplicated PR feedback with clear blocker outcomes and stable closure criteria so reviews converge without repeated comment rounds.
Conduct goal-aligned code reviews of individual pull requests, analyzing correctness, solution fit, performance, code alignment, testing coverage, and code quality while helping authors converge quickly on a mergeable change. Provides prioritized, actionable feedback with stable closure criteria. Use when asked to "review PR #[number]", "code review pull request", "check PR for issues", or "analyze PR changes". Works on GitHub or Azure DevOps, with PR numbers, branch names, or GitHub/Azure DevOps PR URLs. NOT for developer performance reviews over time.
This skill should be used when the user asks to "babysit a PR", "babysit my pull request", "monitor my PR", "watch my pull request", "keep my PR green", "fix PR build failures automatically", "handle PR review comments", or wants autonomous Azure DevOps PR monitoring that fixes build breaks, test failures, code coverage gaps, and review comments on a polling loop.
基于 SOC 职业分类
正在显示 SKILL.md
| name | pr-context |
| description | Internal helper. Load only when explicitly named by another skill or agent. |
| user-invocable | true |
| disable-model-invocation | false |
| allowed-tools | Read, Bash, Skill, Agent, mcp__azure-devops__* |
Build a complete picture of a PR's business context by traversing the work item / issue graph on GitHub or Azure DevOps. This helps reviewers understand not just WHAT the code changes, but WHY it exists and WHERE it fits in the larger initiative.
Provider note: Resolve the provider once from the git remote (see provider-resolution.md). On Azure DevOps this walks the work-item hierarchy; on GitHub it walks linked issues and sub-issues. Shared workflow names use the
ado:/gh:namespaces respectively.
/pr-context 5234
Use during Step 1 or Step 3 of the PR review workflow:
skill: "code-reviewer:pr-context"
args: "5234"
Parse the argument to extract the PR number. Resolve the provider and repository:
MyRepository#5234), use it directly.git remote get-url origin
https://github.com/<owner>/<repo>https://<org>.visualstudio.com/<project>/_git/<repository>Launch the pr-context-gatherer agent with the provider, PR number, and repository:
Agent:
subagent_type: pr-context-gatherer (from code-reviewer plugin agents)
prompt: |
Provider: <github | ado>. Gather the full linked-item hierarchy for
PR #<number> in repository <repo>. Walk the parent chain to the top
(ADO: up to Epic; GitHub: parent sub-issue / tracking issue) and collect
siblings at each level. Output the structured context tree.
The agent handles:
The agent returns a structured context document. Present it to the caller (or include it in the review context if used by pr-review).
Key sections to highlight:
When used by the pr-review skill, the context output should inform:
Look at the sibling items under the PR's parent work item:
Compare the PR's changes against the parent User Story / Feature:
developers/{initials}/{work_item_id}_title?ado:setup-ado-mcp for this ADO flow (gh:setup-gh-mcp is the GitHub counterpart), then retry