Code Review Skill
awesome-skills/code-review-skill
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…
Coding standards for all Java code in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.
$ npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install FoundationDB/fdb-record-layer frl-coding-standard --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/frl-coding-standard .claude/skills/frl-coding-standard && rm -rf skills-srcUse ~/.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/
Install the "frl-coding-standard" agent skill from https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standard into .claude/skills/frl-coding-standard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frl-coding-standard", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standardType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install FoundationDB/fdb-record-layer frl-coding-standard --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/frl-coding-standard .agents/skills/frl-coding-standard && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "frl-coding-standard" agent skill from https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standard into .agents/skills/frl-coding-standard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frl-coding-standard", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install FoundationDB/fdb-record-layer frl-coding-standard --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/frl-coding-standard .cursor/skills/frl-coding-standard && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "frl-coding-standard" agent skill from https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standard into .cursor/skills/frl-coding-standard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frl-coding-standard", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/FoundationDB/fdb-record-layer.git --path .claude/skills/frl-coding-standard--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install FoundationDB/fdb-record-layer frl-coding-standard --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/frl-coding-standard .gemini/skills/frl-coding-standard && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "frl-coding-standard" agent skill from https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standard into .gemini/skills/frl-coding-standard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frl-coding-standard", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install FoundationDB/fdb-record-layer frl-coding-standardInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/frl-coding-standard .github/skills/frl-coding-standard && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "frl-coding-standard" agent skill from https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standard into .github/skills/frl-coding-standard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frl-coding-standard", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install FoundationDB/fdb-record-layer frl-coding-standard --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FoundationDB/fdb-record-layer.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/frl-coding-standard .opencode/skills/frl-coding-standard && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "frl-coding-standard" agent skill from https://github.com/FoundationDB/fdb-record-layer/tree/main/.claude/skills/frl-coding-standard into .opencode/skills/frl-coding-standard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frl-coding-standard", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
frl-coding-standardCoding standards for all Java code in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.
Frl Coding Standard is an agent skill from FoundationDB/fdb-record-layer. Coding standards for all Java code in fdb-record-layer. Apply when writing or reviewing any Java code. Some example usages: "Review this class for coding standards" "Write a new implementation of RecordCursor"
Its SKILL.md is about 1.2k 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 quality. It works with Java. The repository describes itself as: A relational database with SQL support built on FoundationDB. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 20a2376. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are java).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Frl Coding Standard loads about 1.2k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 433 words of instructions outside code blocks.
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.
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.
The full file from FoundationDB/fdb-record-layer at commit 20a2376, republished under its Apache-2.0 licence (© FoundationDB). 433 words, ~1,163 tokens.
.claude/skills/frl-coding-standard/SKILL.md (or your agent's skills folder).All Java, Gradle, and property files MUST end with a newline character.
Target Java 17 language level, compiled with JDK 21.
The two layers use different exception systems. Know which layer you are in.
Exceptions extend RecordCoreException, which extends LoggableException (unchecked).
.addLogInfo(LogMessageKeys.KEY, value) to attach context. Include as much as needed
to diagnose the error: subspace, primary key, record type, index name, etc.// Wrong
throw new RecordCoreException("Found corrupt record: " + record.getPrimaryKey());
// Correct
throw new RecordCoreException("Found corrupt record")
.addLogInfo(LogMessageKeys.PRIMARY_KEY, record.getPrimaryKey())
.addLogInfo(LogMessageKeys.RECORD_TYPE, record.getRecordType());Exceptions are RelationalException (checked, extends Exception). Always pair with an
ErrorCode, which maps to a SQLSTATE-standard 5-digit code.
.addContext("key", value) — this travels with the exception for
logging and is preserved when converting to SQLException.// Minimal form
throw new RelationalException("Transaction rolled back", ErrorCode.SERIALIZATION_FAILURE);
// With context
throw new RelationalException("Unsupported type in column", ErrorCode.CANNOT_CONVERT_TYPE)
.addContext("columnName", colName)
.addContext("typeName", typeName);At JDBC interface boundaries (where the signature throws SQLException), convert via
.toSqlException(), which produces a ContextualSQLException carrying the ErrorCode
as the SQLState and the context map for logging:
throw new RelationalException("Element is not of STRUCT type", ErrorCode.CANNOT_CONVERT_TYPE)
.toSqlException();Specialized subclasses (InvalidColumnReferenceException, InvalidTypeException) exist for
common error cases — prefer them when they fit. InternalErrorException is deprecated; use
new RelationalException("...", ErrorCode.INTERNAL_ERROR) directly.
UncheckedRelationalException wraps a RelationalException as a RuntimeException for
contexts where checked exceptions cannot be thrown (e.g., inside lambdas). Unwrap with
.unwrap() to recover the original RelationalException.
Same principle as exceptions — structured, static messages:
KeyValueLogMessage.of("static message", key, value, ...).// Wrong
LOGGER.info("Unable to open file: " + filename);
// Correct
LOGGER.info(KeyValueLogMessage.of("Unable to open file", LogMessageKeys.FILENAME, filename));The fdb-record-layer-* and lower-level parts of fdb-relational-core are fully asynchronous
via CompletableFuture. The JDBC-facing relational API presents a synchronous surface, but
async code is common in the implementation beneath it.
join() or get() in production code. Use context.asyncToSync() or
database.asyncToSync() instead — they enforce timeouts, record wait timers, and handle
error wrapping.CompletableFuture completion lambda. The
thread pool is finite; blocking inside a future can deadlock the entire system.thenApplyAsync() / thenComposeAsync() unless the lambda does significant CPU
work. These enqueue a new task on the executor for no benefit in the common case. When you
do need them, always pass an explicit Executor.Executor to any AsyncUtil or MoreAsyncUtil method that accepts one
(e.g. AsyncUtil.whileTrue()). Never use the overload without an executor.The authoritative list is in gradle/check.gradle (BANNED_IMPORTS).
Describe intent, not mechanics. Explain the why — a hidden constraint, a non-obvious invariant, a workaround for a specific FDB behavior. If removing the comment would not confuse a future reader, don't write it.
Add Javadoc for public APIs. It is not necessary for private methods unless the logic is genuinely non-obvious.
© 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
Just SKILL.md in .claude/skills/frl-coding-standard of FoundationDB/fdb-record-layer.
Open the folder on GitHubat commit 20a2376
Frl Coding Standard 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Frl Coding Standard this skillFoundationDB/fdb-record-layer | 675 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review Skillawesome-skills/code-review-skill | 2.1k | — | ~2.8k | Automated safety check: Notes | MIT | |
| New Rule for sonar-javaSonarSource/sonar-java | 1.2k | — | ~833 | Automated safety check: Pass | Custom licence | |
| Cross-Language Coding Standardszereight/gitlab-mcp | 2k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Code Qualitypiomin/claude-ai-spring-boot | 1.3k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Android Code Quality Checkerwordpress-mobile/WordPress-Android | 3.2k | — | ~587 | Automated safety check: Pass | GPL-2.0 |
awesome-skills/code-review-skill
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…
SonarSource/sonar-java
Sets the sonar-java conventions for adding an analyzer rule: metadata from rule-api, test locations, MethodMatchers and what not to commit or change.
zereight/gitlab-mcp
Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.
piomin/claude-ai-spring-boot
Comprehensive code review for Java - clean code principles, API contracts, null safety, exception handling, and performance.
wordpress-mobile/WordPress-Android
Runs detekt, checkstyle, and Android lint together, reads their reports, and proposes approved fixes grouped by file.
ben-manes/caffeine
Audits the Caffeine cache source for hot-path costs such as allocations, contention and memory layout, reporting only findings tied to specific lines.
FoundationDB/fdb-record-layer
Specialized skill for working in the fdb-relational-core SQL processing layer — parser, plan generator, and Cascades planner.
FoundationDB/fdb-record-layer
A skill your agent uses when you need to build the project, compile code, or run tests.
FoundationDB/fdb-record-layer
Rebuild working context after a session restart. An agent skill from FoundationDB/fdb-record-layer.
FoundationDB/fdb-record-layer
Write or update documentation in docs/sphinx/source/. An agent skill from FoundationDB/fdb-record-layer.
FoundationDB/fdb-record-layer
Standards for writing tests in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer.
FoundationDB/fdb-record-layer
Create and manage stacked pull requests on FoundationDB/fdb-record-layer using the gh stack CLI extension.
Works with
Categories
Coding standards for all Java code in fdb-record-layer. An agent skill from FoundationDB/fdb-record-layer. Frl Coding Standard is an agent skill from FoundationDB/fdb-record-layer. Coding standards for all Java code in fdb-record-layer.
Frl Coding Standard fits situations like: tasks that involve Code quality.
Run `npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a claude-code`. Or copy the skill folder (.claude/skills/frl-coding-standard in FoundationDB/fdb-record-layer) into .claude/skills/frl-coding-standard in your project. Claude Code loads it when a task matches its description.
Run `npx skills add FoundationDB/fdb-record-layer --skill frl-coding-standard -a codex`. Or copy the skill folder (.claude/skills/frl-coding-standard in FoundationDB/fdb-record-layer) into .agents/skills/frl-coding-standard in your project. Codex loads it when a task matches its description.
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 frl-coding-standard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frl-coding-standard, .gemini/skills/frl-coding-standard, .github/skills/frl-coding-standard and .opencode/skills/frl-coding-standard in your project.
SKILL.md names no scripts, command-line tools or credentials: Frl Coding Standard is instructions for the agent only. Our summary lists: A credential in PRIMARY_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Frl Coding Standard 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.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Frl Coding Standard: Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), New Rule for sonar-java (SonarSource/sonar-java, 1.2k stars), Cross-Language Coding Standards (zereight/gitlab-mcp, 2k stars) and Code Quality (piomin/claude-ai-spring-boot, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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 6, 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.