loopx-pr-review
它能做什么
该技能帮助你的智能体在任何人批准之前仔细审查拉取请求。适合希望每个评审都有可见证据支持的开发者。
适用场景
- ✓当你希望逐一审查一批未关闭的拉取请求,并且每项发现都基于真实证据时。
- ✓当你指定某个拉取请求,并希望对其最新版本进行全面评审时。
- ✓当你需要主要用中文撰写的评审,保留英文技术术语,并附上简短的英文结论时。
技能链接
https://github.com/loopx-project/loopx/blob/main/skills/loopx-pr-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请使用 LoopX 评审工具审查我们仓库中未关闭的拉取请求,并把你的发现整理出来。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体运行 LoopX 评审命令以获取计划,对每项改动运行计划中列出的检查,然后仅基于已经验证的内容撰写评审。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
LoopX PR Review
This skill is a thin host adapter. The built-in pull-request-review
capability owns review depth, evidence requirements, completeness, and verdict
policy through the CLI packet. Do not copy those rules into this skill or
replace them with a host-specific checklist.
Route
Use this skill for /loopx-pr-review, explicit PR reviews, or review queues by
state or time window. Route approval, merge, self-merge, and admin bypass to
loopx-pr-merge (optional repo-kept workflow, not installed by default) after
the evidence review is complete; it never replaces this skill's exact-head gate.
For named PRs, resolve heads and run repeatable --target-exact-head NUMBER@HEAD_OID. An omitted --state keeps ordinary queue discovery open-only while exact targets remain lifecycle-neutral; use explicit --state merged|all only for deliberate history or post-merge audit.
Translate only explicit filters:
--repo owner/repo--since ISO--state open|merged|all--limit N;--target-exact-head NUMBER@HEAD_OID(repeatable direct read)--review-priority other-developers-first|owner-first(defaultother-developers-first; useowner-firstto opt into owner priority) When omitted, the CLI resolvespull_request_reviewfrom the standard machine capability editor; an absent namespace keeps the defaultother-developers-first. Words such astoday,open, ormergedare filters, not permission to return a table only; stats-only output needs an explicit opt-out such as只统计orstats only.
Preserve The Packet
Save the full first JSON packet before printing a compact projection. Keep all
paths named by agent_response_contract.required_packet_fields_to_preserve:
agent_response_contract.review_execution_contractresult_completeness,scheduling_policy,review_groupspull_requests[review_action_kind!=null].review_planpull_requests[review_action_kind!=null].review_templatepull_requests[review_action_kind!=null].evidence_commands
Do not pipe the only copy through jq. When an exhaustive queue request has
result_completeness.complete=false, rerun with its recommended_limit before
reviewing; limit_scope=exact_targets is already complete for the named targets.
Read review_execution_contract.policy_revision from the packet; require the result's
review_policy_revision to equal it, never a literal this file pins. If missing or unequal,
do not publish APPROVE; a conservative REQUEST_CHANGES is allowed only when it names the
incompatible-policy gap. Do not retain expired temporary worktree overrides. Report
incompatible policy rather than downgrading the review.
Read The Review Frame First
Read the PR's existing comments and cited documents first: a maintainer comment names the contract the change is judged against.
- Review inside that frame; cite the document and check its rows, gates, or exit criteria one by one at the exact head, attaching each finding to its row.
- Name unsatisfied rows as missing frame items with their own evidence; keep the declared boundary (preview versus promotion, milestone entry versus merge).
- Publish the frame-aligned conclusion through the current exact-head workflow, citing that guidance.
For a writing-only correction to your own published summary, GitHub supports
updating the review body.
Preserve the original body and evidence first, recheck its unchanged commit and
current head, and check the revised complete body. Update only body on the
existing review, then read back its id, commit, state and exact text and rerun
check-result. This preserves the review instead of posting a duplicate formal
conclusion for layout. It grants no authority to edit another review, change a
verdict, dismiss findings or treat an old-head finding as current. A changed head
or substantive conclusion follows the normal review workflow.
Execute One Review Plan
Receive pending current-session requests through review_execution_contract.decision_procedure.establish_goal before generic queue selection, including other agents sharing a GitHub account; task intake and claimed action authority are separate judgments. Resolve the selected requests with repeatable --target-exact-head NUMBER@HEAD_OID. Follow scheduling_policy and its ranked actionable review_sequence; explicit current-request PR selection may override ordering only, never `pull_requests
常见问题
它会批准或合并拉取请求吗?
不会。批准和合并由需要单独授权的其他工作流程处理。
我可以限制它评审哪些拉取请求吗?
可以。你可以按仓库、日期、状态或指定的拉取请求编号进行筛选。
为什么它坚持要审查最新的确切版本?
评审只对被检查的确切版本有效,因此之后的改动需要新的评审。
详情
作者的原始描述
Use for `/loopx-pr-review` or evidence-backed PR queue review. Run `loopx pr-review` first, execute the capability-owned review plan for each selected exact head, then publish complete reviews primarily in Chinese, with accurate English technical terms and a concise English verdict matching the verified findings. Use `loopx-pr-merge` for approval or merge actions.
repo: loopx-project/loopx
热度
- GitHub 星标
- 6.5k
- 排名
- #13877
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
loopx
6.5k教你的智能体设置并运行 LoopX,这是一个本地工具,可在多次聊天会话之间持续跟踪长期目标、任务和证据。
loopx-change-quality
6.5k指导你的智能体为 LoopX 目标审查最终的代码改动,在合并前检查质量,并生成质量回执。
loopx-doc-registry
6.5k教你的智能体记录并索引持久的项目材料,例如设计文档和研究笔记,使未来的智能体能够找到它们。
loopx-material
6.5k指导你的智能体管理项目的已存储研究材料,包括盘点、在各阶段之间移动条目、排序,以及经所有者批准的更改。