Review Apache ShardingSphere pull requests and PR discussions from public evidence. Use for code-correctness or mergeability decisions, CI-focused review, root-cause and regression analysis, copy-ready committer feedback, challenged findings, multi-round review, and the repository completion loop's Local Candidate Preflight Mode.
75
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Judge the latest reviewed scope from root cause, behavior, contracts, tests, and public evidence. Select one output mode:
Formal Review Mode: return one formal result for a PR review, code-readiness
judgment, mergeability decision, or CI review.PR Discussion Reply Mode: return a copy-ready committer reply for a review
thread, author or maintainer objection, or challenged finding. Do not add a
formal verdict unless requested.Local Candidate Preflight Mode: review an authorized local implementation
targeting an existing PR and return findings to the repository completion
loop. Do not describe local-only work as the public PR state.Review focus is independent from output mode.
| Focus | Use when | CI behavior |
|---|---|---|
Code Correctness Review | Default review of code, tests, behavior, scope, or regression risk | Do not query, wait for, or report GitHub Actions, checks, workflow runs, or Actions logs |
Mergeability Review | The user asks whether the PR can be merged, approved, or landed | Review code and required CI or checks |
CI Review | The user asks about checks, Actions, logs, or CI failures | Treat CI evidence as the primary target |
Explicit user scope wins. Local Candidate Preflight uses Code Correctness Review unless the user explicitly requests CI.
In Code Correctness Review, unreviewed CI is not an evidence gap. Runtime facts may still be required from code, official specifications, public reproductions, or local verification. If such a decisive fact is unavailable, identify that fact—not CI—as the incomplete reason.
trigger -> failing path -> observed result -> expected behavior before judging the patch. A fallback, default, null check,
try-catch, or swallowed error is not a root-cause repair unless it fixes the
owning contract.AGENTS.md for repository authority, command execution, local
verification, sensitive data, and completion-loop rules.For formal reviews:
For discussion replies, establish the latest public head, complete thread context, relevant earlier review, and affected production or test paths. Fetch the complete file list when scope is disputed or the reply changes an overall readiness conclusion.
Read evidence-access.md whenever current GitHub, CI, Actions, or third-party behavior evidence is required.
A candidate may become a blocking issue only when all five conditions hold:
Evidence: current code, diff, contract, test, log, CI, public reproduction,
official documentation, or generated artifact directly supports the claim.Full path: trace the relevant production or test entry path end to end;
inspect setup, wrappers, earlier calls, generators, and consuming runtime.Counter-evidence: check the strongest evidence that could disprove the
finding, especially author or maintainer replies and version-specific facts.Necessity: the requested change is required for safety or correctness in
the selected focus, not merely cleaner or preferable.Scope: this PR causes the problem, exposes it through behavior it owns, or
must address it to satisfy the linked issue.Classify failed candidates as an incomplete-evidence gap, non-blocking observation, clarification question, pre-existing issue, or no issue. Do not publish non-blocking observations unless they materially help the user.
Choose the result in this order:
Not Mergeable with Feedback Mode: Needs Discussion.Not Mergeable
with Feedback Mode: Change Request.Review Incomplete.Mergeable for the selected focus.Mergeable in Code Correctness Review means code-scope readiness only. Required
pending CI prevents Mergeable in Mergeability Review. A relevant CI failure is
a blocker when attributable to the PR and an incomplete gap when attribution is
unclear.
When a confirmed blocker and an additional evidence gap coexist, keep
Not Mergeable and disclose the unreviewed scope under Coverage and Limits.
Review Incomplete is not a substitute for a proven blocker.
Apply only criteria triggered by the changed behavior:
Read only the triggered sections in high-risk-review.md. For SQL grammar, visitors, parser tests, syntax documentation, dialect behavior, or parser baselines, also read sql-parser-review.md.
If the scope cannot be reviewed honestly, return the mode-appropriate incomplete result or request a split. Do not produce a complete verdict from a partial review.
Use Coverage Audit when the user requests complete or non-drip review, or when the triggered high-risk criteria make omission materially likely.
scripts/build_review_inventory.py with local refs to establish a bounded
deterministic scope inventory.scripts/review_ledger.py only to account for authoritative files,
finding classifications, and final audit passes.HEAD equals or descends from the public
head. Otherwise return Local Preflight Result: Incomplete.Local Preflight Result: Pass, Local Preflight Result: Changes Required, or Local Preflight Result: Incomplete.Read review-corrections.md when previous public feedback exists, new commits address earlier findings, or any finding is challenged.
Always re-evaluate the latest head. Treat a prior finding as a hypothesis to disprove, inspect challenger-provided public evidence first, and withdraw or downgrade any unsupported blocker rather than defending it.
Every result returned by this Skill must be exactly one fenced markdown block
with no prose before or after it. The first non-empty line must be
```markdown and the last non-empty line must be ```.
Use the user's language for formal results. Draft GitHub-facing discussion replies in English unless the user requests another language. Use stable labels, repository-relative file references with line numbers, public anchors, and sanitized command summaries. Never include internal drafts, reasoning traces, private context, local absolute paths, temporary paths, credentials, raw long logs, or emojis.
Mergeable: ### Summary with exactly one bold Review Result: Mergeable
line and a concise reason; ### Evidence; ### Coverage and Limits.Not Mergeable: ### Summary with exactly one bold
Review Result: Not Mergeable line, one Feedback Mode, and a concise
reason; ### Blocking Issues; ### Coverage and Limits.Review Incomplete: ### Summary with exactly one bold
Review Result: Review Incomplete line and a concise reason;
### Verified Facts; ### Required Evidence; ### Coverage and Limits.For each blocking issue include:
Evidence: current public or sanitized verification anchor.Impact: concrete failing behavior or contract.Required Change for Change Request, or Discussion Needed for Needs
Discussion.Do not add patch-level changes after selecting Needs Discussion. Do not include placeholder or optional headings. In Code Correctness Review, state that the result is code-scope only and CI was not reviewed.
Return only the copy-ready reply in the fenced Markdown block. State whether the finding is retained, withdrawn, or needs clarification, then give the public evidence and minimum next action. Do not force a formal verdict.
Return ### Local Preflight, exactly one bold Local Preflight Result line,
confirmed required findings when present, and ### Coverage and Limits.
Begin with ### Correction, then Previous Finding, Current Status
(Retained, Withdrawn, or Changed to Review Incomplete), and Reason.
Follow with the applicable current result while keeping exactly one formal
Review Result line when a formal result is requested.
29e7ee7
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.