Chuyển đến nội dung
Skillpedia
Lập trình chung6.5k · #13877

loopx-pr-review

Skill này làm gì

Skill này giúp agent review pull request cẩn thận trước khi ai đó phê duyệt. Nó dành cho nhà phát triển muốn mỗi review đều có bằng chứng họ có thể thấy.

Khi nào nên dùng

  • ✓Khi bạn muốn review từng pull request đang mở trong một lô, với phát hiện gắn với bằng chứng thật.
  • ✓Khi bạn nêu một pull request cụ thể và muốn review kỹ phiên bản mới nhất chính xác của nó.
  • ✓Khi bạn cần một bản review chủ yếu bằng tiếng Trung, với thuật ngữ kỹ thuật tiếng Anh và kết luận ngắn bằng tiếng Anh.

Liên kết skill

https://github.com/loopx-project/loopx/blob/main/skills/loopx-pr-review/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/loopx-project/loopx/blob/main/skills/loopx-pr-review/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Vui lòng review các pull request đang mở trong kho của chúng ta bằng công cụ review LoopX, và viết ra những gì bạn tìm thấy.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy lệnh review LoopX để lấy kế hoạch, chạy các kiểm tra được liệt kê cho từng thay đổi, rồi viết review chỉ dựa trên những gì đã xác minh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 (default other-developers-first; use owner-first to opt into owner priority) When omitted, the CLI resolves pull_request_review from the standard machine capability editor; an absent namespace keeps the default other-developers-first. Words such as today, open, or merged are filters, not permission to return a table only; stats-only output needs an explicit opt-out such as 只统计 or stats 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_contract
  • result_completeness, scheduling_policy, review_groups
  • pull_requests[review_action_kind!=null].review_plan
  • pull_requests[review_action_kind!=null].review_template
  • pull_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

Câu hỏi thường gặp

Skill có duyệt hoặc merge pull request không?

Không. Phê duyệt và merge do một quy trình riêng xử lý và cần ủy quyền riêng.

Tôi có thể giới hạn các pull request nó review không?

Có. Bạn có thể lọc theo kho mã, ngày, trạng thái hoặc số pull request cụ thể.

Vì sao nó nhấn mạnh phiên bản mới nhất chính xác?

Một review chỉ có giá trị cho đúng phiên bản đã được kiểm tra, nên các thay đổi sau đó cần một review mới.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#13877
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự