shardingsphere: Skill for Codex

.codex/skills/review-pr/SKILL.md

review-pr is a skill for Codex from apache/shardingsphere. It costs 77 tokens per session (6,978 once invoked), scanned A, original, Apache-2.0.

A review workflow for judging whether Apache ShardingSphere pull-request changes are correct, tested, and ready to merge.

In plain words
What is it for?
Use it to review public or authorized pull requests, local changes, CI-focused issues, or challenged review findings.
Why use it?
It helps detect behavioral bugs, regressions, missing tests, and problems with the proposed change before approval.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

This is apache/shardingsphere's own configuration. It tells Codex how to work on shardingsphere itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shardingsphere configures →

About the project

Apache ShardingSphere is a database enhancement layer that makes heterogeneous databases easier to access and govern as a unified system, without replacing the underlying databases. It supports distributed database capabilities such as sharding, read-write splitting, SQL federation, encryption, masking, auditing, and traffic control for enterprise data architectures.

apache/shardingsphere · 20,817 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to apache/shardingsphere. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/apache/shardingsphere/master/.codex/skills/review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/apache/shardingsphere

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/shardingsphere/review-pr/github.svg)](https://agentmods.dev/skills/apache/shardingsphere/review-pr)
Your own site
<a href="https://agentmods.dev/skills/apache/shardingsphere/review-pr"><img src="https://agentmods.dev/badge/skills/apache/shardingsphere/review-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/shardingsphere/review-pr"><img src="https://agentmods.dev/badge/skills/apache/shardingsphere/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk warn 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.06978
Opus 5.5 $0.00031 $0.02791
Sonnet 5.5 $0.00015 $0.01396
Haiku 4.5 $0.00008 $0.00698

Measured today against content hash 308ca43dc6a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/build_review_inventory.py, scripts/manage_review_ledger.py, scripts/resolve_review_scope.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/review-pr/SKILL.md · 366 lines

How it starts

The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review PR

Purpose and Modes

Judge the latest reviewed scope from root cause, behavior, contracts, tests, and public or user-authorized repository evidence. Select one output mode:

  • Formal Review Mode: return one formal result for a public PR review, authorized local-candidate review, code-readiness judgment, mergeability decision, or CI review.
  • PR Discussion Reply Mode: return a copy-ready committer reply only when the user explicitly requests a review-thread response, author or maintainer objection reply, or challenged-finding reply. Do not add a formal verdict unless requested.

Use Formal Review Mode for every explicit code or PR review and every Formal Review required by the repository completion route. Identify a local candidate and its local-only delta in ### Coverage; do not create a separate local-preflight result format or describe local-only work as the public PR state.

Review Focus

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. Formal Review of a local candidate 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.

Canonical Assessment

Resolve one review basis before discovery: the effective candidate, applicable requirements, accepted behavior and project commitments, selected review focus, and admissible evidence. Run the Review Workflow against that basis and produce one mode-independent assessment: confirmed findings consolidated by fix boundary, needs-discussion conditions, incomplete-evidence gaps, and Completion Gate state.

Read the full file on GitHub · 366 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +8 lines 308ca43dc6a7
  2. yesterday Changed · +11 lines f96ea8d40b52
  3. 5d ago Changed · +4 lines cab6377e2f1c
  4. 7d ago Changed · +10 lines c1086be36dbb
  5. 10d ago Changed · +1 lines 1c46a8d88a43
  6. 12d ago Changed · +4 lines 9f9056fa65a4
  7. 15d ago Changed · +36 lines 6a91a30f7bb0
  8. 17d ago Changed · +7 lines 709a7de9284c
  9. 1mo ago Changed · +11 lines 8ad71408fe26
  10. 1mo ago First seen · 274 lines · 77 tokens per session scan A bd3756814d5f

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository apache/shardingsphere (20,817 stars, last pushed today), licensed Apache-2.0. It adds 77 tokens to every session and 6,978 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ui-visual-regression

Automates visual regression testing for DB Console UI changes. Compares screenshots and network requests between the current branch and its merge base using roachprod, playwright-cli, and ImageMagick. Use when the user wants to verify UI changes haven't introduced visual or behavioral regressions.

cockroachdb/cockroach · 61 tokens

review-prs

Review a GitHub pull request in the googleapis/mcp-toolbox repo against the team's reviewer checklist: PR title/description conventions, linked issue, logic errors and unhandled edge cases, breaking changes, test coverage, docs updates, security (input handling), and new dependencies. Use whenever a maintainer asks…

googleapis/mcp-toolbox · 162 tokens

database-testing

Database schema validation, data integrity testing, migration testing, transaction isolation, and query performance. Use when testing data persistence, ensuring referential integrity, or validating database migrations.

proffesor-for-testing/agentic-qe · 37 tokens

redux-to-swr

Migrate React components from Redux + Saga to SWR hooks. Use when converting data fetching from Redux store (reducers, sagas, selectors, connect HOC) to SWR-based hooks in CockroachDB DB Console or cluster-ui.

cockroachdb/cockroach · 53 tokens

mma-investigator

Expert system for investigating MMA (Multi-Metric Allocator) behavior on CockroachDB clusters. Helps oncall engineers diagnose load imbalances, understand rebalancing decisions, and identify why MMA did or didn't act.

cockroachdb/cockroach · 47 tokens

react-class-to-functional

Convert React class components to functional components with hooks.

cockroachdb/cockroach · 14 tokens