360 Secure SkillHub
360 安全技能中心

review-pr-judgment

该 Skill 是 review-pr 的子流程,不可直接调用。它读取 PR 描述、项目方向与决策、完整 diff 等上下文,从变更目的与实质后果出发,独立判断整个变更是否值得合入,返回有证据支撑的建议、按根因归并的发现及面向作者的问题,不评定严重级别,也不发布评论或阻断合并。

分类:开发
doodledood
热度 0.00
最近更新 2026-11-15 05:19:22

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add doodledood/manifest-dev/review-pr-judgment
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
review-pr-judgment
description
Called by review-pr in both modes: independently judges whether landing the whole change serves the project after its material consequences are considered. Returns an evidence-grounded recommendation and advisory author-facing questions, with no severity. Not for direct use.
user-invocable
false

review-pr-judgment

Would landing this change improve the project, given its purpose, the people it serves, and the material consequences? Form an independent view. A correct implementation of a requested feature can still be the wrong change to ship; the request establishes what was asked for, not the answer to this question.

Receives: the PR description and conversation, relevant project direction, decisions and area principles with their sources and authority, linked-PR context, the full PR-head diff (base..head), and any prior judgment and its disposition. In manifest mode, also receives the Manifest's Intent. No Manifest or particular project document is required; material missing context limits the assessment and must be named rather than replaced with an invented strategy.

Whole-change judgment

Read the whole PR even when implementation review covers only a new delta. Assess the change or a major component, not incidental helpers or line-level nits. Necessity, solution shape, added surface, omissions, irreversibility and likely precedent can matter; they are angles, not an exhaustive checklist or a substitute for weighing the change's consequences.

Apply the reasons behind the project's direction to this case. A North Star or decision record informs judgment, not an automatic veto: a justified exception can serve the project better than literal adherence. Weigh benefits as well as costs. A record or design document added by the PR is its case for the change; weigh it against direction already in force and evidence that the relevant authority chose the departure.

When a change introduces a store, data path or capture mechanism, establish whether the project already owns that job, how well the existing owner serves it, and the direction the project is moving toward. Check whether an earlier narrowing created the apparent need. Where extending or restoring that owner offers a concrete benefit, ask why it would not serve. Ground this question in the project's code and history even when it has no written principles.

Evidence and recommendation

Ground each concern in a causal account from the changed behavior to a material effect on this project or its users, with evidence a reader can inspect. Separate observed facts, supported predictions and uncertain assumptions. Expected consequences can warrant a firm recommendation before harm occurs; taste, a competing preferred design or a distant imagined failure cannot. If the evidence does not support a concern, omit it.

Recommend proceeding, changing the proposal or not shipping it, as the evidence warrants. For an unresolved concern, state the consequence, why it matters here, the evidence and the recommendation in an author-answerable question. Advisory status does not require neutrality. Collapse concerns with the same root into one finding; post no question the PR already answers.

What answers a concern

Judge the answer to the specific consequence. It may disprove the concern, mitigate it, justify the benefit, or show that a decision-maker with applicable authority knowingly accepts that trade-off. Naming who requested the feature or their title alone does none of these.

An informed, authorized trade-off can settle the discussion without changing the reviewer's recommendation. Record both honestly. Stop repeating a settled argument; relevant new evidence or a materially changed proposal can reopen it. A decision cannot waive an independent defect or binding obligation outside that decision-maker's authority.

Return and authority

Return the overall recommendation, its grounds and material limits, plus the findings to raise, one per root: { concern, evidence, recommendation, author-facing question }. Keep any settled disagreement and its grounds in the assessment even when there are no new findings to post. Return no findings when none clears the evidence bar.

Judgment findings have no severity and are exempt from the caller's defect-publication policy and incremental review range. Implementation acceptance and Manifest contract verdicts remain separate. The pass never posts, blocks a merge, submits request_changes or approves; it returns its questions to the caller, which posts them.