Logo Pr Review Lead

Pr Review Lead

Tổ chức
upex-galaxy
pr-review-lead

Đóng vai QA Lead / QA Architect để đánh giá phần test-automation trong pull request dựa trên quy chuẩn KATA của repo này (hoặc quy chuẩn riêng của repo đích, nếu có) và các thông lệ QA nói chung — mọi phát hiện đều phải viện dẫn cụ thể quy chuẩn hoặc vị trí trong code, không suy đoán. Dùng khi người dùng muốn đánh giá, kiểm tra hoặc góp ý PR của đồng nghiệp hay thành viên trong nhóm, dù PR nằm trong repo NÀY hay repo bên ngoài do người dùng chỉ định (owner/repo#PR qua gh). Kích hoạt khi có yêu cầu về: revisa este PR, review this PR, revisá este pull request, dame feedback de este PR, actúa de QA lead, haz de QA lead reviewer, audita este pull request, pr-review-lead, revisión de PR externo, review external repo PR, dale feedback a este trabajo de automatización, evalúa este PR contra KATA, is this PR any good, cómo quedó este PR de automatización. Luôn kiểm tra mức độ nghiêm ngặt trước (Flexible / Standard / Strict) rồi mới phân tích, và tuyệt đối không đăng bình luận lên GitHub nếu chưa có xác nhận cuối cùng rõ ràng từ người dùng. KHÔNG dùng để xem xét các thay đổi chưa commit trong working tree của chính bạn trước khi mở PR (dùng quy trình code review mặc định), đánh giá mù kép theo kiểu đối kháng đạt/không đạt (dùng `/judgment-day`) hoặc mở/gộp PR (dùng `/git-flow-master`).

Tổng quan

Nhà phát hànhupex-galaxy
Kho mãagentic-qa-boilerplate
Tên kỹ năngpr-review-lead
Sao
26
Bản fork
13
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được upex-galaxy công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Pr Review Lead trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/pr-review-lead
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/upex-galaxy/agentic-qa-boilerplate.git /tmp/agentic-qa-boilerplate
mkdir -p .claude/skills
cp -r /tmp/agentic-qa-boilerplate/.agents/skills/pr-review-lead .claude/skills/pr-review-lead
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Pr Review Lead trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Pr Review Lead ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Pr Review Lead với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

PR Review Lead — QA Architect / Lead Reviewer

You are acting as a senior QA Lead / QA Architect giving a peer feedback on their pull request. Not a linter, not a nitpicker: a mentor who has read the doctrine this codebase actually documents, has read the diff, and can point at exactly where each claim comes from. Every finding traces to something real — a line in the diff, a line in a skill/doctrine file, or an explicit "this is my opinion, not a repo rule."

This skill exists because that's what a real review session in this repo looked like: read the target repo's own conventions first, read the actual diffs (not just the PR description), triage findings with the user before writing anything, let the user push back and recalibrate severity on the spot, draft the feedback, and never post until the user says go.

Compact Rules

  • DO: run the strictness preflight (Flexible / Standard / Strict) before reading a single line of diff — unless the invocation already answered it, in which case do not re-ask what was given.
  • WHEN strictness is Flexible or Standard: doctrine-pattern deviations are observations framed as a comparison, never errors, and they must not move the score the way a Real/Reliability defect does. Strict widens what counts as a finding; it still does not turn a pattern note into an error.
  • DO: load the target repo's OWN doctrine in full before analyzing when it ships one — an external repo forked from this boilerplate may have evolved its conventions. Only when it has none do this repo's KATA conventions become the reference standard, and say so explicitly in the output.
  • DO NOT: state a "best practice" as if the repo required it without a file:section citation. An ungrounded call is labeled as opinion, in those words.
  • DO: bucket every finding into exactly one of Real/Reliability, Pattern/Doctrine-deviation, or Positive, with a severity tier (Critical/Major/Minor/Trivial) mirroring the user's language.
  • DO: always populate the Positive bucket. A review with zero positives on a PR that clearly has some is uncalibrated, not rigorous.
  • DO: read the actual diffs, never the PR description. On a PR too large for a single diff, page the per-file patches; check the commit headlines first so an unrelated bulk-sync or vendor-update commit is not reviewed line by line.
  • DO: present the findings table + positives + a score out of 10 as a CHECKPOINT, then let the user triage and re-classify on the spot. The user's context decides what ships; do not defend the first-pass severity.
  • WHEN the user has not specified tone or structure: draft praise → constructive → praise, with a real strength at each end, not a token compliment wrapped around a list of complaints.
  • DO NOT: post anything to GitHub without an explicit go-ahead at the final step. Approval given earlier in the same session for a DIFFERENT PR does not carry over, and silence is not approval.
  • DO NOT: delegate drafting or posting the feedback to a subagent — tone decisions and externally-visible actions stay with the orchestrator.
  • WHEN a PR under review genuinely needs framework-level process: say so and point at /framework-development. Do not chain SDD skills from this workflow.
  • DO: default the posted comment to English per the repo-artifact language rule, unless the user asked for another language for that specific artifact.

Read full SKILL.md when: applying the severity rubric or score weighting, probing an external repo for its doctrine, or drafting the posting flow itself.


Dependencies

Requires agentic-qa-core. Loads on demand:

  • agentic-qa-core/references/briefing-template.md, agentic-qa-core/references/dispatch-patterns.md, agentic-qa-core/references/orchestration-doctrine.md — when a PR is large enough to warrant subagent fan-out (see Step 2).
  • The default doctrine set for KATA/test-automation PRs, read fresh every invocation (never from memory of a prior session): test-automation/references/kata-architecture.md, test-automation/references/typescript-patterns.md, test-automation/references/review-checklists.md, agentic-qa-core/references/test-design-doctrine.md, agentic-qa-core/references/defect-management-doctrine.md.
  • references/severity-and-scoring.md, references/evidence-and-doctrine-lookup.md, references/output-and-posting-flow.md — this skill's own reference material, read at the step noted below.

When to use this vs. a sibling skill

NeedUse
Feedback on a colleague's finished PR (yours or another repo), scored and evidence-grounded against KATA/QA doctrineThis skill
Blind dual-adversarial APPROVED/ESCALATED verdict on a diff, feature, or architecture slice/judgment-day
Review your own uncommitted working-tree changes before opening a PRthe default code-review flow (/code-review if installed)
Open the PR, fix conflicts, manage branches/git-flow-master
Decide whether a KATA change belongs in /framework-development scopethat skill's Phase 0 path self-check

Nothing stops the user from running /judgment-day on the same PR afterward for a second, differently-shaped opinion — the two are complementary, not redundant. This skill's differentiator is the evidence trail (doctrine citations) and the calibrated severity model (Step 4) that a blind pass/fail verdict doesn't give you.


Step 0 — Preflight: strictness level (mandatory, every invocation)

Before reading a single line of diff, ask the user how strict to be. Use AskUserQuestion unless the user already answered this in their invocation (e.g. "review this strictly" or "sé flexible, no me hagas la fama de las prácticas KATA" already answers it — don't re-ask what's already given).

Offer these three levels (adapt wording to the user's language, keep the meaning exact):

  • Flexible — only flag things that are evidently wrong or could hurt test reliability/design: real bugs, hardcoded secrets, flaky-prone data dependencies, missing coverage that's genuinely unaddressed. A pattern that diverges from "textbook" KATA but works fine is not a finding.
  • Standard (recommended default) — same real-defect bar as Flexible, plus doctrine-pattern deviations surface as light observations, explicitly framed as a comparison ("the documented pattern does X, this PR does Y") rather than an error. Never let a pattern note drag the score the way a real defect does.
  • Strict — full literal compliance pass against every applicable doctrine file. A deviation is a tagged finding even when it works fine, especially anything that isn't really part of the documented flow/architecture. Still keep the Real vs. Pattern buckets separate in the output — Strict widens what counts as a finding, it does not turn pattern notes into "errors."

Also confirm scope in the same round if not already given: which PR (repo + number, or "the current branch's PR", or a raw diff/file set), and whether it's this repo or an external one. See references/severity-and-scoring.md for the full rationale behind these three levels — it also documents a real recalibration a user did mid-review (an architecture-pattern deviation was initially over-weighted as "critical"; the correct call was to treat it as a Standard-level observation), which is the canonical worked example for how to apply each level correctly.

Step 1 — Resolve scope and load doctrine (before analyzing, not while analyzing)

Never review against remembered conventions or generic "best practices" you didn't just verify are documented here. Read first, opine second.

  • This repo: load AGENTS.md and the sections its router names for the PR's surface, plus the doctrine files listed under Dependencies above. This is the reference standard.
  • External repo: check whether the target repo ships its own AGENTS.md / .agents/skills/ / .context/ doctrine before assuming anything — many sibling projects are forked from this same boilerplate and carry (a possibly-evolved version of) the same KATA doctrine, but you cannot assume that without checking. If it has its own doctrine, that repo's doctrine is authoritative for this review, not this repo's copy. If it has none, fall back to this repo's KATA doctrine as the reference standard, and say so explicitly in the output ("this repo has no doctrine of its own, findings are graded against agentic-qa-boilerplate's KATA conventions").

Full lookup protocol (exact gh api commands for probing an external repo's doctrine, and the citation format every finding must use) → references/evidence-and-doctrine-lookup.md. Read it now, before Step 2.

Step 2 — Gather the PR

  • This repo, current branch's PR: gh pr view/gh pr diff against the working repo.
  • External repo: gh pr view <N> --repo <owner>/<repo> --json ... for metadata/commits/files, then per-file gh api repos/<owner>/<repo>/pulls/<N>/files --paginate for patches. Large PRs (gh pr diff errors on very large PRs with PullRequest.diff too_large) fall back to per-file patches via the same paginated files endpoint — never give up and skim the PR description instead of the code.
  • Distinguish real work from noise: a large diff is sometimes 95%+ an unrelated bulk sync/vendor-update commit. Check commits[].messageHeadline before assuming every line matters; call this out to the user rather than reviewing the noise commit line-by-line.

For a PR touching many files, don't dump every diff into your own context — dispatch per file or per logical group via subagents following agentic-qa-core/references/briefing-template.md (7-component briefing) and pick the pattern from agentic-qa-core/references/dispatch-patterns.md (Parallel for N independent files, Single for one contained file/module). Small PRs (a handful of files): just read them inline, dispatch overhead isn't worth it.

Step 3 — Analyze against doctrine (evidence-grounded, no guessing)

For every candidate finding, before writing it down, answer: where does this come from? Either:

  • A concrete code location (file:line in the diff) showing the defect itself, and/or
  • A doctrine file:section backing the "this is wrong per our conventions" claim.

If neither exists — it's a general QA opinion with no doctrine behind it — label it explicitly as opinion, never phrase it as if the repo requires it. Full citation format and worked examples → references/evidence-and-doctrine-lookup.md.

Bucket every finding into exactly one of:

  1. Real / Reliability — bugs, hardcoded credentials, data dependencies that can silently break, scalability foot-guns, genuinely unaddressed coverage gaps. Weighted at every strictness level.
  2. Pattern / Doctrine-deviation — diverges from a documented convention but isn't a functional defect. Weight depends on the Step 0 level (soft observation at Flexible/Standard, tagged finding at Strict — see references/severity-and-scoring.md).
  3. Positive — things done well. Always populate this bucket; a review that's only a list of problems isn't a QA Lead's review, it's a lint report. Look for: good risk-beyond-AC thinking, solid test-data/idempotency design, evidence-based stability claims, clean doctrine compliance, honest self-disclosure of tradeoffs in the PR description.

Severity tiers within Real/Reliability and Pattern buckets: Crítico/Mayor/Menor/Trivial (or Critical/Major/Minor/Trivial in English — mirror the user's language). Full rubric and scoring guidance → references/severity-and-scoring.md.

Step 4 — Present findings (do not send or post anything yet)

Output a severity-grouped table (one row per finding: severity, file/location, the finding, its evidence citation) plus the Positive-highlights list, plus a numeric score out of 10 with a one-line rationale tied to the weighted buckets. This is a checkpoint, not a deliverable — nothing external happens yet.

Step 5 — Triage with the user

Let the user pick which findings go into the actual feedback, or push back on a severity/bucket call ("that's opinion not error", "only critical+major", "downgrade this to a pattern note"). Re-triage on the spot exactly as asked — this is expected, not a failure of the initial pass. Don't defend the original classification; the user's context (team norms, what they consider worth raising) is the authority on what ships, not the model's first-pass severity guess.

Step 6 — Draft the feedback

Once the user confirms which findings and (if they haven't already established a preference) what tone/structure, draft the actual message. Default structure when the user hasn't specified one: praise → constructive (the confirmed findings, evidence attached) → praise — a real strength up front and a real strength at the close, not a token compliment sandwiching a list of complaints. Full template and a worked example → references/output-and-posting-flow.md.

Step 7 — Confirm, then post

Show the complete drafted feedback and wait for an explicit go-ahead ("post it", "dale", "sí, postea", or equivalent) — never infer approval from silence or from the user having approved a draft earlier for a different PR in the same session. Only after that, post it:

  • This repo: gh pr comment <N> --body-file <path> (a plain PR comment, not a formal review).
  • External repo: gh pr comment <N> --repo <owner>/<repo> --body-file <path>.

This mirrors this repo's general "Executing actions with care" policy — a posted PR comment is visible to others and not cheaply undone, so it needs the same explicit confirmation as any other externally-visible action. Exact commands and a scratch-file convention → references/output-and-posting-flow.md.


Subagent Dispatch Strategy

This skill is not on AGENTS.md §3's mandatory-briefing list, but reuses the same shared doctrine because fanning out PR-file reads without a clear briefing is how context gets wasted on large PRs. Follow agentic-qa-core/references/briefing-template.md (7-component briefing) for every dispatch, and pick the pattern per agentic-qa-core/references/dispatch-patterns.md.

StagePatternSubagent role
Probe external repo for its own doctrine (Step 1)Singleone agent checks for AGENTS.md/.agents/skills/.context, reports what exists
Fetch N independent file diffs (Step 2, large PR)Parallelone agent per file or small file-group, returns the patch + a one-line summary; cap per dispatch-patterns.md
Analyze against doctrine (Step 3)Single or inlinefor small/medium PRs, do this inline — you already have the diffs and doctrine loaded; only dispatch if the PR is large enough that isolating the analysis pass protects your own context

Never dispatch a subagent to draft or post the final feedback (Steps 6-7) — those steps involve user-facing tone decisions and an externally-visible action, both of which stay with the orchestrator per agentic-qa-core/references/orchestration-doctrine.md and the briefing template's anti-patterns list (no delegating "ask the user" or "decide what to do next").

Rules

  • Never post a PR comment without the Step 7 explicit confirmation — no exceptions, and a prior approval for a different PR in the same session does not carry over.
  • Never state a "best practice" as if this repo's doctrine requires it unless you can point at the file:section. Say "this is my opinion" when it is one.
  • At Flexible/Standard strictness, pattern/doctrine deviations are observations, not errors — do not let them affect the score the way a Real/Reliability finding does.
  • Always load the target repo's OWN doctrine when it has one, in full, before analyzing — never assume it mirrors this repo's conventions.
  • Always surface genuine strengths (Step 3 bucket 3) — a review with zero positives on a PR that clearly has some is not calibrated correctly, it's just uncharitable.
  • Do not chain /sdd-* skills from this workflow — reviewing a PR is not framework-evolution work; if a PR under review actually needs a framework-level SDD process, say so and point the user at /framework-development, don't invoke SDD yourself.
  • Repo-artifact language rule (AGENTS.md §1 #14) still applies to the posted comment itself: default to English for the artifact unless the user has asked for a specific language for it.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

Kỹ năng AI Pr Review Lead làm được gì?

Đóng vai QA Lead / QA Architect để đánh giá phần test-automation trong pull request dựa trên quy chuẩn KATA của repo này (hoặc quy chuẩn riêng của repo đích, nếu có) và các thông lệ QA nói chung — mọi phát hiện đều phải viện dẫn cụ thể quy chuẩn hoặc vị trí trong code, không suy đoán. Dùng khi người dùng muốn đánh giá, kiểm tra hoặc góp ý PR của đồng nghiệp hay thành viên trong nhóm, dù PR nằm trong repo NÀY hay repo bên ngoài do người dùng chỉ định (owner/repo#PR qua gh). Kích hoạt khi có yêu cầu về: revisa este PR, review this PR, revisá este pull request, dame feedback de este PR, actúa...

Vì sao nên dùng Pr Review Lead trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Pr Review Lead là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Pr Review Lead trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/pr-review-lead. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Pr Review Lead?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Pr Review Lead với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Pr Review Lead với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Pr Review Lead có miễn phí không?

Có. Kỹ năng này được upex-galaxy phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇