brane-code-review

Analyze Brane SDK Java 21 code for correctness and architectural consistency.

9|1|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/noise-xyz/brane --skill brane-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brane-code-review
Source: https://github.com/noise-xyz/brane/tree/main/.claude/skills/brane-code-review
Command: npx skills add https://github.com/noise-xyz/brane --skill brane-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers ensure Brane SDK code adheres to Java 21 patterns, exhibits strong type safety, and maintains architectural consistency during reviews.

Core Features & Use Cases

  • Code quality review: Assess implementations for correctness, readability, and alignment with Brane standards.
  • Java 21 pattern enforcement: Validate use of records, switch expressions, pattern matching, text blocks, and null handling.
  • Architecture awareness: Check module boundaries, dependencies, and public API stability across the Brane suite.

Quick Start

Review a PR against Brane SDK guidelines and generate a structured feedback report.

Frequently Asked Questions about brane-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Java 21 patterns like records and switch expressions during a code review?

To enforce Java 21 patterns during code review, analyze implementations for correct usage of records, switch expressions, pattern matching, text blocks, and precise null handling according to repository standards. This validates type safety and architectural consistency across the codebase.

What is the best way to check for zero external dependencies in public APIs?

The best way to check for zero external dependencies in public APIs is to perform an architecture-aware code review targeting module boundaries. This validates public API stability and ensures immutable data types, explicit error handling, and thread-safety by default across the suite.

Can I use automated code review to validate thread-safety and immutable data types in Java 21?

Yes, you can use automated code review to validate thread-safety by default and immutable data types in Java 21. It assesses implementations for correctness and architectural consistency, explicitly checking for compliance with modern Java patterns and documented review standards.

How do I ensure architectural consistency across multiple Java SDK modules?

To ensure architectural consistency across Java SDK modules, review code targeting the specific module suite to check module boundaries, dependency structures, and public API stability. This verifies that implementations align with documented architectural standards and maintain explicit error handling.

When do I need to validate explicit error handling and precise null handling in Java 21 code?

You need to validate explicit error handling and precise null handling in Java 21 code when ensuring strong type safety and architectural consistency during reviews. This checks for compliance with Java 21 patterns and confirms thread-safety by default across the module suite.