Agent skill

Mariadb Operator PR Review

by mariadb-operator in mariadb-operator/mariadb-operator

Perform a structured maintainer-style PR review for the mariadb-operator repository.

Apache-2.0Auto-check passedDevelopment

Install Mariadb Operator PR Review

skills CLI
$ npx skills add mariadb-operator/mariadb-operator --skill mariadb-operator-pr-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mariadb-operator/mariadb-operator mariadb-operator-pr-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mariadb-operator/mariadb-operator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mariadb-operator-pr-review .claude/skills/mariadb-operator-pr-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mariadb-operator-pr-review
GitHub stars
1k
Token cost
~3.3k tokens
SKILL.md length
1,598 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

Perform a structured maintainer-style PR review for the mariadb-operator repository.

  • Works in 4 steps: Gather context → Triage → Evaluate five dimensions → …
  • The user mentions a mariadb-operator PR number
  • SKILL.md covers AGENTS.md is the source of truth, GitHub credentials, Step 0 — Gather context and Step 1 — Triage, plus 5 more sections
  • Calls gh and git; needs GITHUB_MARIADB_OPERATOR_TOKEN and GH_TOKEN

What it does

Mariadb Operator PR Review is an agent skill from mariadb-operator/mariadb-operator. Perform a structured maintainer-style PR review for the mariadb-operator repository. Gathers PR context, triages the change, and evaluates correctness, safety, pitfalls, backwards compatibility and code quality against the project conventions documented in AGENTS.md. Use whenever the user mentions a mariadb-operator PR number or URL and wants any kind of judgment on it — "review this PR", "what do you think of 1234", "is this safe to merge", "assess this diff", "take a look at this change" — even if they don't…

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires GitHub API access (gh CLI or MCP tools) and the mariadb-operator repository checkout.

It sits in Development, covering Pull requests, Agent instruction files and Code quality. It works with MariaDB, GitHub, Kubernetes and Model Context Protocol. The repository describes itself as: 🦭 Run and operate MariaDB in a cloud native way. The licence is Apache-2.0.

When your agent uses it

  • The user mentions a mariadb-operator PR number
  • URL and wants any kind of judgment on it — review this PR
  • What do you think of 1234
  • Is this safe to merge

Example prompts

  • “review this PR”
  • “what do you think of 1234”
  • “is this safe to merge”
  • “/mariadb-operator-pr-review”

Requirements

  • A credential in GITHUB_MARIADB_OPERATOR_TOKEN
  • Compatibility (from SKILL.md): Requires GitHub API access (gh CLI or MCP tools) and the mariadb-operator repository checkout.
  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash(git:*), Bash(gh:*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Gather context
  2. Triage
  3. Evaluate five dimensions
  4. Verdict

What it can do on your machine

Read from SKILL.md and the folder at commit e071201. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash(git:*)
    • Bash(gh:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GITHUB_MARIADB_OPERATOR_TOKEN
    • GH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires GitHub API access (gh CLI or MCP tools) and the mariadb-operator repository checkout.

    From compatibility in the SKILL.md frontmatter.

Context cost

Mariadb Operator PR Review loads about 3.3k tokens when it runs. Until then it costs about 142 tokens; SKILL.md has 1,598 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~142
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mariadb-operator/mariadb-operator at commit e071201, republished under its Apache-2.0 licence (© mariadb-operator). 1,598 words, ~3,303 tokens.

Download SKILL.mdSave it as .claude/skills/mariadb-operator-pr-review/SKILL.md (or your agent's skills folder).
name
mariadb-operator-pr-review
description
Perform a structured maintainer-style PR review for the mariadb-operator repository. Gathers PR context, triages the change, and evaluates correctness, safety, pitfalls, backwards compatibility and code quality against the project conventions documented in AGENTS.md. Use whenever the user mentions a mariadb-operator PR number or URL and wants any kind of judgment on it — "review this PR", "what do you think of #1234", "is this safe to merge", "assess this diff", "take a look at this change" — even if they don't literally say "review".
allowed-tools
Read, Grep, Glob, Bash(git:*), Bash(gh:*)
compatibility
Requires GitHub API access (gh CLI or MCP tools) and the mariadb-operator repository checkout.
license
Apache-2.0
metadata.author
mariadb-operator
metadata.version
1.0

mariadb-operator PR Review

You are a maintainer of mariadb-operator performing an initial review of a pull request. Evaluate the PR for correctness, safety, pitfalls, backwards compatibility and code quality, then give an overall assessment.

AGENTS.md is the source of truth

Read AGENTS.md at the repository root before reviewing. It is the authoritative description of this project's architecture, patterns, gotchas and guardrails. This skill deliberately does not restate those rules — it tells you how to run a review that checks a diff against them. Throughout, "§ <name>" refers to a section of AGENTS.md. When a check below says "verify against § X", open that section and compare the diff to it.

GitHub credentials

Whenever this skill calls GitHub — fetching PR context or delivering a review — pick the access method in this order, falling through only when the previous one is unavailable:

  1. Project-scoped GitHub MCP tools (names like mcp__github-mariadb-operator__*). These may show up as deferred tools — if so, load their schema with ToolSearch (e.g. ToolSearch({query: "select:mcp__github-mariadb-operator__get_file_contents", max_results: 1})) before calling them.
  2. gh CLI with the project-specific token, if the mariadb-operator MCP server isn't connected. Use GITHUB_MARIADB_OPERATOR_TOKEN explicitly (GH_TOKEN="$GITHUB_MARIADB_OPERATOR_TOKEN" gh ...) rather than the ambient gh auth session.
  3. Generic GitHub MCP tools (mcp__github__*), if neither of the above is available.
  4. gh CLI with default credentials (plain gh auth, no explicit token) as the last resort, if none of the above work.

Step 0 — Gather context

Given a PR URL or number, collect it via the access method chosen in the GitHub credentials section (the gh invocations below assume that method — add the GH_TOKEN override or swap in the equivalent MCP tool as appropriate):

bash
gh pr view <n> --json title,body,author,state,additions,deletions,files,labels,baseRefName
gh pr diff <n>                       # full unified diff
gh pr view <n> --json reviews,comments   # existing review discussion

Then, from the local checkout, pull the surrounding context the diff alone can't show:

  • Pre-change versions of touched files in api/v1alpha1/, internal/controller/, internal/webhook/, pkg/controller/ — you need the before to judge behavioral change:
    bash
    git fetch origin <baseRefName>
    git show origin/<baseRefName>:<path/to/file.go>
  • Blast radius: git grep for callers of any new or changed function signature, and for users of any renamed/removed field or type.
  • The relevant docs/<feature>.md (§ Feature Map) — cheaper than reading code to learn intended semantics.

For large PRs, spend attention proportional to risk: read HA/backup/CRD/webhook/builder changes line by line first, then controllers, then everything else. Diff stats (gh pr diff <n> --name-only) tell you where to start.

Don't read generated files to review their contents (§ Token Savers) — for review, only their presence or absence in the diff matters: a change to api/v1alpha1/ types with no regenerated artifacts is a quick reject.

Step 1 — Triage

  • Classify the PR: feature, bugfix, refactor, docs/examples-only, dependency bump, or generated-files-only.
  • Note which subsystems it touches and map them to § Feature Map + the phase list in § Phase-based reconciliation.
  • Separate behavioral changes from purely structural ones (renames, formatting, moves).
  • Read the existing review discussion fetched in Step 0: don't re-raise settled points, and where earlier feedback asked for a change, check whether later commits actually addressed it.
  • Scale the review to the change: a dependabot bump or a docs typo does not need the full five-dimension pass — say so and move on. Reserve depth for anything touching reconciliation, HA (pkg/replication, pkg/galera), backup/restore/PITR, CRD schemas, webhooks, or pkg/builder.
  • Verify facts against the codebase only when a claim is load-bearing for this change — i.e. the change's correctness or safety depends on it. Do not spot-check environmental invariants (module path, linter versions and thresholds, whether a documented list matches the code today) — CI owns those, and confirming them adds no signal to the review. For docs/guidance/tooling PRs (AGENTS.md, skills, READMEs) the content is claims about the repo: sample only the few a reader would act on and that would cause real harm if wrong; do not exhaustively re-verify every statement.

Quick rejects — if any fire, surface it prominently up front:

  • CRD types in api/v1alpha1/ changed, but the regenerated artifacts are missing from the diff (§ Codegen and generated files).
  • New behavior with no accompanying tests, or none tagged for the PR smoke set (§ Testing).
  • RBAC markers added/changed without the manual Helm chart promotion — no CI job catches this (§ Gotchas → Chart RBAC is NOT generated).
  • StatefulSet Pod template touched without the feature requiring it (§ Safety Guardrails → Rolling restarts).
  • Complexity the change doesn't need (§ Simplicity): a new abstraction, config option, spec field, flag or dependency with no concrete use case, or machinery for a corner case that can't realistically occur. Treat this like any other defect — name the simpler alternative.

Step 2 — Evaluate five dimensions

For each dimension give a verdict of PASS / CONCERN / FAIL. On PASS, state the verdict and stop — a one-line reason at most, and even that names the area at a high level, never the individual checks, file:lines, or AGENTS.md rules you verified. Do not enumerate what you checked or restate the diff. Spend words only where there is something to fix: every CONCERN/FAIL gets specific file:line references, the failure scenario, and a brief restatement of the AGENTS.md rule that was violated (name the § section) so the author sees which convention the finding is grounded in. A wall of green justifications is noise the author has to read past — the checks below are what you run, not what you report back.

On PASS, do not explicitly enumerate what you checked. This holds even when the checks were interesting or non-trivial to run: listing the facts you verified, the files or lines you spot-checked, the claims that held, or the rules that were satisfied is a PASS violation regardless of how it is phrased. Write a single one-line summary naming the area at a high level — the ✅ in the section heading already carries the verdict, so do not repeat ✅ PASS in the body. The enumeration belongs in your working notes, never in the output.

Quality bar for findings. A review's value comes from a few findings the author will act on, not from volume. Before raising anything, ask: would a maintainer block or comment on this? Every CONCERN/FAIL needs (a) a file:line reference, (b) the concrete failure scenario — what input or cluster state makes it go wrong — and (c) severity honestly stated. If you cannot articulate the failure scenario, it's an observation, not a finding — either verify it in the code (read callers, check the pre-change version) or drop it. Style opinions that golangci-lint doesn't enforce are not findings.

Each dimension below names what to assess and which AGENTS.md section(s) hold the rules. AGENTS.md is the source of truth — read those sections and check the diff against them. Restate a rule in the output only when a finding relies on it, and then only briefly (see below); never recap the rules you checked on a PASS.

Show full SKILL.md (509 more words)Show less
A. Correctness

Does the code do what the PR claims, with sound control flow, valid API usage, and correct handling of edge cases (nil/empty/zero, boundaries, races, pointer/generic/interface use)? Where the diff touches a pattern documented in § Architecture and Code Patterns, verify it follows that pattern rather than re-implementing or bypassing it.

B. Safety

Check the diff against the applicable subsections of § Safety Guardrails, with line-by-line scrutiny of the areas it flags as dangerous.

C. Pitfall detection

Confirm the PR steps on none of § Gotchas and Non-obvious Rules, and re-check it against § Kubernetes best practices. Look for load-bearing assumptions that hold today but may not, and test scenarios the diff omits (§ Testing).

D. Backwards compatibility

Check the diff against § Safety Guardrails → Backward compatibility. Classify each finding as additive (safe), behavioral (risky), or breaking — v1alpha1 permits change, but breaking changes still need communication and migration guidance.

E. Code quality

Is the code well-written, maintainable and consistent with the surrounding codebase? Don't hand-verify what golangci-lint/CI already checks (§ CI — what a PR must pass); flag only what lint cannot see. Confirm tests are present and tiered per § Testing, and that the change is appropriately scoped (no dead code, leftover debug, or over-engineering).

Step 3 — Verdict

Pick one:

  • Approve — no substantive issues; correct, safe, well-written.
  • Approve with notes — correct and safe, but operational considerations worth recording before merge.
  • Request changes — correctness or safety issues that must be fixed first.
  • Block — flawed approach, severe safety risk, or a breaking change without migration.

Assign a risk level: LOW / MEDIUM / HIGH. Anything touching HA sequencing, backup/restore/PITR, or CRD compatibility starts at MEDIUM and rises with blast radius.


What not to flag

  • Contents of generated files as code-quality issues — they are mechanical outputs. (Their absence from a CRD-changing PR is still a valid finding.)
  • Anything § Gotchas declares intentional.
  • Missing godoc on internal functions — not a project convention.
  • Dependabot Go-module bumps — trusted automation.
  • Preemptive docs/ or examples/ updates without matching code.
  • Auto-formatted whitespace differences — CI enforces formatting.

Delivery

By default, reply the review back to the user in your response — do not post it to GitHub. Post it (e.g. gh pr comment, using the access method from the GitHub credentials section) only when the user explicitly asks you to.

Output format

Render the review as GitHub-flavored Markdown — clean enough to drop straight into a PR comment. Use the emoji legend below so the verdict is scannable at a glance. For any dimension that is PASS, write a single one-line summary naming the area at a high level — the ✅ in the section heading already carries the verdict, so do not repeat ✅ PASS in the body. No file:line lists, no recap of what passed. Reserve justification, references and failure scenarios for CONCERN / FAIL.

Emoji legend:

  • Dimension verdict: ✅ PASS · ⚠️ CONCERN · ❌ FAIL
  • Overall assessment: ✅ Approve · 📝 Approve with notes · 🔧 Request changes · 🚫 Block
  • Risk level: 🟢 LOW · 🟡 MEDIUM · 🔴 HIGH

Use this exact structure:

markdown
## 🔍 PR Review
<1-2 sentences: what the PR does and why>

### Verdict at a glance

| Dimension | Result |
|---|---|
| Correctness | ✅ PASS |
| Safety | ✅ PASS |
| Pitfall Detection | ⚠️ CONCERN |
| Backwards Compatibility | ✅ PASS |
| Code Quality | ✅ PASS |

**Overall:** 📝 Approve with notes — **Risk:** 🟡 MEDIUM

---

### ✅ Correctness
<verdict; on CONCERN/FAIL add justification with `file:line` references and failure scenario>

### ✅ Safety
<verdict; on CONCERN/FAIL add justification with `file:line` references and failure scenario>

### ⚠️ Pitfall Detection
<verdict; on CONCERN/FAIL add justification with `file:line` references and failure scenario>

### ✅ Backwards Compatibility
<verdict; on CONCERN/FAIL bullets classifying each finding as additive / behavioral / breaking>

### ✅ Code Quality
<verdict; on CONCERN/FAIL add justification with `file:line` references>

---

### 📋 Suggested before merge
<actionable items as a checklist, or "None">

Match the emoji in each dimension heading and in the summary table to that dimension's actual verdict, and set the Overall and Risk emoji accordingly — the table and the section headings must agree.

© mariadb-operator, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/mariadb-operator-pr-review of mariadb-operator/mariadb-operator.

Open the folder on GitHubat commit e071201

Compare with similar skills

Mariadb Operator PR Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mariadb Operator PR Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mariadb Operator PR Review this skillmariadb-operator/mariadb-operator1k—~3.3kAutomated safety check: PassApache-2.0
Code Reviewsortie-ai/sortie198—~2.9kAutomated safety check: PassMIT
Plane Release Notes Generatormakeplane/plane61k—~2.5kAutomated safety check: PassAGPL-3.0
Git Commitsdatabasus/databasus8.9k—~294Automated safety check: PassApache-2.0
Link Ticket To SessionJayantDevkar/claude-code-karma329—~1.8kAutomated safety check: NotesApache-2.0
Generate Connector Docsballerina-platform/ballerina-library141—~4.3kAutomated safety check: PassApache-2.0

Similar skills

  • Code Review

    sortie-ai/sortie

    Reviews pull requests in this repository for the defect classes a mechanical checklist misses: documentation that outlived the code it describes, reaction and retry state that leaks or clobbers a…

    198 GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Builds categorized release notes for a Plane release pull request from its commits and writes them into the PR description, for both the plane-cloud and plane-ee repos.

    61k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Git Commits

    databasus/databasus

    Write Databasus commit messages and branch names using the repository's release-compatible format.

    8.9k GitHub stars~294 tokensUpdated today
    DevelopmentAuto-check passed
  • Link Ticket To Session

    JayantDevkar/claude-code-karma

    Link the current Claude Code session to a ticket (Linear, Jira, GitHub Issues, or GitHub Pull Requests) and cache its title/status in karma.

    329 GitHub stars~1.8k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Generate Connector Docs

    ballerina-platform/ballerina-library

    Generate the full WSO2 Integrator connector documentation set — overview, setup guide, action reference, and a validated example guide with six low-code UI screenshots and a preserved sample project…

    141 GitHub stars~4.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    nteract/semiotic

    Review Semiotic pull requests for behavioral bugs, regressions, contract drift, and missing evidence.

    2.7k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

More from mariadb-operator/mariadb-operator

  • Mariadb Operator Comment

    mariadb-operator/mariadb-operator

    Post a comment (or a formal PR review) to a GitHub issue or pull request in mariadb-operator/mariadb-operator.

    1k GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Mariadb Operator Release Notes

    mariadb-operator/mariadb-operator

    Create the release notes and upgrade guide for a mariadb-operator release.

    1k GitHub stars~3.3k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Mariadb Operator PR Review

What does Mariadb Operator PR Review do?

Perform a structured maintainer-style PR review for the mariadb-operator repository. Mariadb Operator PR Review is an agent skill from mariadb-operator/mariadb-operator. Perform a structured maintainer-style PR review for the mariadb-operator repository.

When should I use Mariadb Operator PR Review?

Mariadb Operator PR Review fits situations like: the user mentions a mariadb-operator PR number; URL and wants any kind of judgment on it — review this PR; what do you think of 1234; is this safe to merge.

How do I install Mariadb Operator PR Review in Claude Code?

Run `npx skills add mariadb-operator/mariadb-operator --skill mariadb-operator-pr-review -a claude-code`. Or copy the skill folder (.agents/skills/mariadb-operator-pr-review in mariadb-operator/mariadb-operator) into .claude/skills/mariadb-operator-pr-review in your project. Claude Code loads it when a task matches its description.

How do I install Mariadb Operator PR Review in Codex?

Run `npx skills add mariadb-operator/mariadb-operator --skill mariadb-operator-pr-review -a codex`. Or copy the skill folder (.agents/skills/mariadb-operator-pr-review in mariadb-operator/mariadb-operator) into .agents/skills/mariadb-operator-pr-review in your project. Codex loads it when a task matches its description.

Can I use Mariadb Operator PR Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mariadb-operator/mariadb-operator --skill mariadb-operator-pr-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mariadb-operator-pr-review, .gemini/skills/mariadb-operator-pr-review, .github/skills/mariadb-operator-pr-review and .opencode/skills/mariadb-operator-pr-review in your project.

What does Mariadb Operator PR Review need to run?

Going by SKILL.md and its folder, Mariadb Operator PR Review needs the command-line tools its instructions call (gh and git) and credentials named GITHUB_MARIADB_OPERATOR_TOKEN and GH_TOKEN. Our summary lists: A credential in GITHUB_MARIADB_OPERATOR_TOKEN. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash(git:*), Bash(gh:*). Compatibility (from SKILL.md): Requires GitHub API access (gh CLI or MCP tools) and the mariadb-operator repository checkout..

Does Mariadb Operator PR Review access the network?

SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Mariadb Operator PR Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mariadb Operator PR Review use?

Mariadb Operator PR Review is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mariadb Operator PR Review use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mariadb Operator PR Review?

Skills that share tags, products or a category with Mariadb Operator PR Review: Code Review (sortie-ai/sortie, 198 stars), Plane Release Notes Generator (makeplane/plane, 61k stars), Git Commits (databasus/databasus, 8.9k stars) and Link Ticket To Session (JayantDevkar/claude-code-karma, 329 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mariadb Operator PR Review?

mariadb-operator (a GitHub organization) maintains it in mariadb-operator/mariadb-operator, which has 1,026 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: mariadb-operator/mariadb-operator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.