Agent SkillsPrefectHQ/fastmcp › review-pr

review-pr

GitHub

用于跟踪PR的CI状态和自动化审查反馈,评估代码变更并验证最新提交。该技能协助开发者监控检查进展,处理审查意见,修复缺陷,并在合并前确认所有条件就绪。

.agents/skills/review-pr/SKILL.md PrefectHQ/fastmcp

Trigger Scenarios

需要跟踪Pull Request的CI构建和审查进度 请求对PR进行代码审查和质量评估 验证PR是否可以安全合并

Install

npx skills add PrefectHQ/fastmcp --skill review-pr -g -y
More Options

Non-standard path

npx skills add https://github.com/PrefectHQ/fastmcp/tree/main/.agents/skills/review-pr -g -y

Use without installing

npx skills use PrefectHQ/fastmcp@review-pr

指定 Agent (Claude Code)

npx skills add PrefectHQ/fastmcp --skill review-pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add PrefectHQ/fastmcp --all -g -y

预览 repo 内 skill

npx skills add PrefectHQ/fastmcp --list

SKILL.md

Frontmatter
{
    "name": "review-pr",
    "description": "Follow an existing FastMCP PR through CI and automated review, evaluate feedback, and verify the current head before reporting readiness."
}

Follow a PR

Read AGENTS.md for publication, review-thread, and merge rules. Track the PR's current head SHA. A push invalidates evidence tied only to an earlier head.

CI and review are separate

After opening or updating a PR, establish a monitor using the host's scheduling capability. Keep it quiet while pending without a meaningful change. Report failures, requested decisions, and completion; pause it after the terminal report. If persistent monitoring is unavailable, watch during the active task and state that limitation rather than promising a future notification.

Fetch checks and reviews together:

gh pr view <number> --repo PrefectHQ/fastmcp \
  --json headRefOid,statusCheckRollup,reviews,comments,isDraft,labels

gh api --paginate repos/PrefectHQ/fastmcp/pulls/<number>/comments

Read relevant CodeRabbit, Copilot, Codex, and maintainer feedback, including inline threads and replies. Codex may update a summary issue comment instead of creating a formal review. Match its reported commit and completion status; zero formal reviews does not prove it has not run. Drafts may not trigger reviews. Do not mark ready or request reviews solely to satisfy a polling loop without authorization.

Green CI means checks passed, not that review finished. A generic request for human review is not a concrete defect; explain any actual unresolved compatibility decision. Distinguish substantive findings from status messages and stylistic notes.

Act on evidence

Use code-review to assess findings. Fix real defects together, verify adjacent paths, run required checks, and push. Resolve a thread when its fix is verified. When declining a finding, reply with the reason if posting is authorized. Do not loop indefinitely on speculative follow-ups.

For CI failures, inspect the failed job's logs. Distinguish assertions, worker crashes, dependency resolution, and infrastructure failures. A test name or unrelated diff alone does not establish the cause. Retry when evidence supports a transient failure; recurring failures need diagnosis.

The final report names the head checked, CI outcome, outstanding review findings or decisions, and any pending work. Preserve draft status unless the user authorizes changing it. Merging is separate: recheck title, body, labels, head, and checks immediately before an authorized merge; obey all DNM markers and branch protections.

Version History

  • c6165d9 Current 2026-09-23 08:38

Same Skill Collection

.agents/skills/code-review/SKILL.md
.agents/skills/docs/SKILL.md
.agents/skills/fix-issue/SKILL.md
.agents/skills/python-tests/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/review-issue/SKILL.md
.agents/skills/review-security-report/SKILL.md
.agents/skills/triage/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/python-tests/SKILL.md
.claude/skills/review-issue/SKILL.md
.claude/skills/review-pr/SKILL.md
.claude/skills/review-security-report/SKILL.md
examples/skills/sample_skills/code-review/SKILL.md
examples/skills/sample_skills/pdf-processing/SKILL.md
skills/fastmcp-client-cli/SKILL.md

Metadata

Files
0
Version
c6165d9
Hash
b8e4d2ed
Indexed
2026-09-23 08:38

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-24 10:55
浙ICP备14020137号-1