Agent skill

Code Reviewer

by FoundationDB in FoundationDB/fdb-record-layer

Code review the current branch for adherence to project standards, correctness, and best practices.

Apache-2.0Auto-check passedDevelopment

Install Code Reviewer

skills CLI
$ npx skills add FoundationDB/fdb-record-layer --skill code-reviewer -a claude-code

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

GitHub CLI
$ gh skill install FoundationDB/fdb-record-layer code-reviewer --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/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/code-reviewer .claude/skills/code-reviewer && 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
code-reviewer
GitHub stars
675
Token cost
~585 tokens
SKILL.md length
221 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

Code review the current branch for adherence to project standards, correctness, and best practices.

  • Works in 8 steps: Determine scope: Run git diff… → Apply coding standards: Check against… → Check async correctness: Look for… → …
  • Tasks that involve Code review
  • SKILL.md covers Review process and Output format
  • Calls git

What it does

Code Reviewer is an agent skill from FoundationDB/fdb-record-layer. Code review the current branch for adherence to project standards, correctness, and best practices. Some example usages: "Review my branch" "Check my changes before I open a PR" "Review this implementation for correctness"

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code review and Pull requests. The repository describes itself as: A relational database with SQL support built on FoundationDB. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Code review
  • Tasks that involve Pull requests

Example prompts

  • “Review my branch”
  • “Check my changes before I open a PR”
  • “Review this implementation for correctness”
  • “/code-reviewer”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Determine scope: Run git diff main...HEAD to get all changes since branch divergence.
  2. Apply coding standards: Check against frl-coding-standard and, for test code,
  3. Check async correctness: Look for join()/get() in production code, blocking inside
  4. Check exception structure: Static messages with structured context — see frl-coding-standard for the correct API per layer (addLogInfo()…
  5. Check logging: KeyValueLogMessage.of() with static text — no string concatenation.
  6. Verify test coverage: Are new code paths covered? Is the right test type used (yamsql
  7. Check PR hygiene: Will the PR title make sense
  8. DRY check: Is there repeated logic that should be extracted?

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use 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 no API keys, tokens, secrets or passwords.

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

Context cost

Code Reviewer loads about 585 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 221 words of instructions outside code blocks.

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

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 FoundationDB/fdb-record-layer at commit f266052, republished under its Apache-2.0 licence (© FoundationDB). 221 words, ~585 tokens.

Download SKILL.mdSave it as .claude/skills/code-reviewer/SKILL.md (or your agent's skills folder).
name
code-reviewer
description
Code review the current branch for adherence to project standards, correctness, and best practices. Some example usages: "Review my branch" "Check my changes before I open a PR" "Review this implementation for correctness"

You are an expert Java code reviewer for the FoundationDB Record Layer. You have deep knowledge of the codebase's async patterns, index/query planner architecture, and the coding standards documented in the project.

SCOPE BOUNDARIES: This skill handles code review only. For writing production or test code, use the appropriate coding standard skill.

Review process

  1. Determine scope: Run git diff main...HEAD to get all changes since branch divergence.
  2. Apply coding standards: Check against frl-coding-standard and, for test code, frl-test-coding-standard.
  3. Check async correctness: Look for join()/get() in production code, blocking inside futures, misuse of *Async() variants. Also flag any call that returns CompletableFuture where the result is not assigned, chained, or explicitly noted as a background task — these are fire-and-forget bugs (e.g. store.markIndexDisabled() without await).
  4. Check exception structure: Static messages with structured context — see frl-coding-standard for the correct API per layer (addLogInfo() for record layer, addContext() + ErrorCode for relational layer).
  5. Check logging: KeyValueLogMessage.of() with static text — no string concatenation.
  6. Verify test coverage: Are new code paths covered? Is the right test type used (yamsql vs JUnit)?
  7. Check PR hygiene: Will the PR title make sense in release notes? Is a label needed?
  8. DRY check: Is there repeated logic that should be extracted?

Output format

### Code Review Summary
[Brief overall assessment]

### Critical Issues
[Violations of coding standards, async safety problems, or correctness bugs that must be fixed]

### Suggestions for Improvement
[Code quality, performance, maintainability — not blocking but worth addressing]

### Positive Observations
[What the code does well]

### Testing Recommendations
[Specific test suggestions if coverage is missing or could be improved]

Be specific and reference file paths and line numbers where possible.

© FoundationDB, 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 .claude/skills/code-reviewer of FoundationDB/fdb-record-layer.

Open the folder on GitHubat commit f266052

Compare with similar skills

Code Reviewer 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.

Code Reviewer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Reviewer this skillFoundationDB/fdb-record-layer675—~585Automated safety check: PassApache-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    flutter/flutter

    Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.

    179k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from FoundationDB/fdb-record-layer

All 10 skills in this repo
  • Relational Query Processor

    FoundationDB/fdb-record-layer

    Specialized skill for working in the fdb-relational-core SQL processing layer — parser, plan generator, and Cascades planner.

    675 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Using Gradle

    FoundationDB/fdb-record-layer

    A skill your agent uses when you need to build the project, compile code, or run tests.

    675 GitHub stars~705 tokensUpdated today
    Auto-check passed
  • Context Resumption

    FoundationDB/fdb-record-layer

    Rebuild working context after a session restart. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~467 tokensUpdated today
    Auto-check passed
  • Docs Writer

    FoundationDB/fdb-record-layer

    Write or update documentation in docs/sphinx/source/. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~925 tokensUpdated today
    Auto-check passed
  • Frl Coding Standard

    FoundationDB/fdb-record-layer

    Coding standards for all Java code in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Frl Test Coding Standard

    FoundationDB/fdb-record-layer

    Standards for writing tests in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.

    675 GitHub stars~792 tokensUpdated today
    Auto-check passed

Categories

Questions about Code Reviewer

What does Code Reviewer do?

Code review the current branch for adherence to project standards, correctness, and best practices. Code Reviewer is an agent skill from FoundationDB/fdb-record-layer. Code review the current branch for adherence to project standards, correctness, and best practices.

When should I use Code Reviewer?

Code Reviewer fits situations like: tasks that involve Code review; tasks that involve Pull requests.

How do I install Code Reviewer in Claude Code?

Run `npx skills add FoundationDB/fdb-record-layer --skill code-reviewer -a claude-code`. Or copy the skill folder (.claude/skills/code-reviewer in FoundationDB/fdb-record-layer) into .claude/skills/code-reviewer in your project. Claude Code loads it when a task matches its description.

How do I install Code Reviewer in Codex?

Run `npx skills add FoundationDB/fdb-record-layer --skill code-reviewer -a codex`. Or copy the skill folder (.claude/skills/code-reviewer in FoundationDB/fdb-record-layer) into .agents/skills/code-reviewer in your project. Codex loads it when a task matches its description.

Can I use Code Reviewer 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 FoundationDB/fdb-record-layer --skill code-reviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-reviewer, .gemini/skills/code-reviewer, .github/skills/code-reviewer and .opencode/skills/code-reviewer in your project.

What does Code Reviewer need to run?

Going by SKILL.md and its folder, Code Reviewer needs the command-line tools its instructions call (git).

Does Code Reviewer access the network?

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

Is Code Reviewer 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 Code Reviewer use?

Code Reviewer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Reviewer use?

About 585 tokens (SKILL.md is roughly 2.3k 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 Code Reviewer?

Skills that share tags, products or a category with Code Reviewer: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars), WooCommerce Code Review (woocommerce/woocommerce, 11k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Reviewer?

FoundationDB (a GitHub organization) maintains it in FoundationDB/fdb-record-layer, which has 675 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

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