Borrowing it
Nothing to install: this file belongs to yurineko73/Godot-MCP-Native. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yurineko73/Godot-MCP-Native/main/.cursor/skills/pr-review-merge/SKILL.mdgit clone --depth 1 https://github.com/yurineko73/Godot-MCP-NativeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yurineko73/godot-mcp-native/pr-review-merge)<a href="https://agentmods.dev/skills/yurineko73/godot-mcp-native/pr-review-merge"><img src="https://agentmods.dev/badge/skills/yurineko73/godot-mcp-native/pr-review-merge/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yurineko73/godot-mcp-native/pr-review-merge"><img src="https://agentmods.dev/badge/skills/yurineko73/godot-mcp-native/pr-review-merge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.02192 |
| Opus 5 | $0.00030 | $0.01096 |
| Sonnet 5 | $0.00012 | $0.00438 |
| Haiku 4.5 | $0.00006 | $0.00219 |
Grade A, and why
pr-review-merge scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Review & Merge Workflow
审查从 GitHub 获取的 PR 分支,确认代码质量后通过 GitHub Squash Merge 合并,PR 自动关闭。
前置条件
- 已通过
git fetch origin 'refs/pull/*/head:refs/remotes/origin/pr/*'获取 PR refs - GUT 测试框架已安装(
addons/gut/) - 了解该 PR 的 GitHub 描述(通过
gh或网页获取)
完整工作流
Step 1:初始化集成分支
git checkout main
git checkout -b integration/pr-review
如果分支已存在:
git checkout main
git branch -D integration/pr-review
git checkout -b integration/pr-review
Step 2:合并 PR 到集成分支
git merge origin/pr/<number> --no-edit
解决冲突后:
git add <resolved-files>
git commit --no-edit
Step 3:全面审查代码
对每个变更文件逐项检查:
3a. 功能完整性
- 新增功能是否形成闭环(策略→工具→UI→文档)
- 参数校验是否完整(缺省值、边界值)
- 错误处理是否恰当
3b. 测试覆盖 对照变更文件逐项检查测试覆盖,使用矩阵记录:
| 变更文件 | 变更内容 | 对应测试文件 | 覆盖状态 |
|---|---|---|---|
xxx.gd |
具体变更 | test_xxx.gd |
✅/❌ |
检查要点:
- 新增函数 → 有对应测试用例
- 修改逻辑 → 边界条件测试
- 导出变量 →
get_script_property_list()断言 - Schema 变更 → 新参数在 input_schema 中可查
3c. 代码规范
检查清单:
- snake_case 变量/方法命名
- PascalCase 类名
- 类型提示完整
-
@export变量有 setter 时调用notify_property_list_changed() - UI toggle handler 调用
_debounce_save()(持久化) -
extends "res://addons/gut/test.gd"(GUT 测试) - 无硬编码路径/Token
- 错误提示中包含具体参数名
3d. 多语言适配(UI 变更必检) 涉及 UI 新增/修改文本时:
- UI 控件的
.text通过_tr(key)赋值,而非硬编码字符串 - 翻译文件
mcp_panel.csv新增了对应的 key 行 -
_refresh_translations()对新增控件做了翻译刷新 - 英文(en)和中文(zh)两列均有翻译内容
3e. 重复代码检查
- 跨文件的重复函数 → 提取到共享模块
- 魔法字符串 → 定义为常量
Step 4:运行 GUT 测试
& "f:/Godot/Godot_v4.6.1-stable_win64.exe" --headless --path "F:/gitProjects/Godot-MCP-Native" -s addons/gut/gut_cmdln.gd -gdir=res://test/unit/ -ginclude_subdirs -gexit
验收标准:
- 0 failures、0 errors
- 新增测试全部通过
Step 5:修复发现的问题
记录问题分级:
- 🔴 阻断级:功能错误、架构问题、测试失败——在 GitHub PR 上 Request Changes 退回作者
- 🟡 小修复:缺
_debounce_save()、硬编码字符串、缺少翻译 key 等——审查者直接推送到 PR head 分支修复 - 📝 记录级:CI 集成缺失、代码重复等——记录到文档待后续处理
小修复推送流程
# 1. 基于 PR head 分支创建修复分支
git checkout -b fix/pr<number>-review-fixes origin/pr/<number>
# 2. 修改代码、运行测试验证
# 3. 推送到 PR 的 head 分支(需 collaborator 权限)
git push origin fix/pr<number>-review-fixes:<PR_head_branch>
# 4. 回到集成分支重新合并验证
git checkout integration/pr-review
git merge origin/pr/<number>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 239 lines · 61 tokens per session scan A 26aa1c293dcc
pr-review-merge is a skill published in the GitHub repository yurineko73/Godot-MCP-Native (773 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 2,192 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
review-implement-phase
Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.
engram-branch-pr
PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.
verify-behavior
Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…
github-contributor
End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…
revdiff
Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…
oss-maintainer
Run an open-source project's issue/PR/release loop like a careful human maintainer — triage to root cause, absorb community PRs before duplicating them, gate every merge, ship honest releases, and thank the people doing your QA for free.