跳到正文
Skillpedia
部署与云(DevOps)101k · #1216

pr-feedback-quality-gate

它能做什么

这个工具可以帮助你处理编程项目中代码评审的反馈意见,确保修改正确无误后再提交。

适用场景

  • ✓代码收到其他程序员的评论时。
  • ✓你的代码在与项目其他部分合并时出现冲突时。
  • ✓完成修改、再次提交评审之前。

技能链接

https://github.com/nexu-io/open-design/blob/main/skills/pr-feedback-quality-gate/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/skills/pr-feedback-quality-gate/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的代码请求有一些评论,我该如何安全地查看并修改它们?”

每周 5 个新技能,1 分钟读完。

工作原理

它会检查你的代码状态,创建一个单独的空间来进行修改,并在提交更改之前确保运行了相关验证。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

PR Feedback Quality Gate

Use this when a PR has review feedback, merge conflicts, pending checks, or needs a monitored follow-up after a fix.

Workflow

  1. Inspect PR state first: comments, reviews, mergeability, checks, branch, and local worktree status. Keep unrelated local changes out of the PR.
  2. Use an isolated worktree for review fixes or conflict resolution when the main checkout is dirty, behind remote, or being used by another agent.
  3. Make the smallest safe fix. Preserve the original bug invariant and any newer upstream structure introduced by main.
  4. Run the narrow validation first, then the repository-required gates. For this repo, include pnpm guard; add package typechecks/builds/tests when touched files require them.
  5. Before commit or push, run a read-only cross-review of the staged or proposed diff. Forbid file edits and git write or coordination commands.
  6. Treat cross-review as evidence, not authority. Accept only findings grounded in the diff, repository rules, user goal, or validation results. Downgrade or reject style preferences, broad scope expansion, and suggestions that conflict with safety or ownership boundaries; record the reason briefly.
  7. If accepted blockers remain, fix them, rerun validation, and repeat the review. Commit and push only after validation passes and there are no accepted blockers.

Monitoring cadence

  • Active review or failing checks: check often enough to unblock quickly.
  • Clean or approved PR waiting for merge: check about every 12 hours.
  • Merged PR: reduce to daily lightweight observation for CI, release, or regression signals, and stop making code changes unless asked.

Report

Always report PR state, actions taken, cross-review verdict, accepted or rejected findings, validation run, commits pushed, skipped checks with reasons, remaining risks, and next step.

常见问题

什么是 “pull request”(PR)?

它是一种请求,用于把你的代码改动合并到主项目中。

什么是 “review comments”?

它们是其他程序员对你代码提出的建议或疑问。

什么是 “merge conflicts”?

当两段代码同时修改同一处内容,而系统无法判断该保留哪个改动时,就会出现合并冲突。

详情

作者的原始描述

Safely track pull request feedback, resolve review comments or merge conflicts, validate fixes, and use a read-only cross-review before committing or pushing follow-up changes.

repo: nexu-io/open-design

热度

GitHub 星标
101k
排名
#1216
许可证
Apache-2.0
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能