A dedicated Java formatting review skill designed to automatically audit and correct naming, comments, structure, and style discrepancies in AI-generated code.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install java-code-format-review
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install java-code-format-review using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
AI code generators are powerful, but they often produce inconsistencies in formatting, naming patterns, and convention compliance. The AI-Generated Code Format Review skill solves this by providing a programmatic, rule-based formatting audit designed primarily for Java projects. Leveraging conventions from the Alibaba Java Development Manual, it serves as a robust quality gate to enforce readability and consistency prior to committing code.
As part of the Openclaw Skills ecosystem, this tool helps developers quickly identify structural issues, bad naming practices (such as Pinyin or incorrect boolean prefixes), swallowed exceptions, and magic numbers. By integrating these style conventions, the skill bridges the gap between raw AI outputs and enterprise-grade codebase standards.
git diff --cached), or specific commit historical diffs.mvn spotless:apply).Initialize the skill in your project and run a quick environment check. Define your workflow configuration in your project repository.
Verify that the build properties contain valid build tools:
# Check for Maven or Gradle files
ls pom.xml build.gradle build.gradle.kts 2>/dev/null
You can execute format checking depending on your build system:
For Maven projects:
mvn spotless:check
mvn checkstyle:check
For Gradle projects:
./gradlew spotlessCheck
To resolve detected formatting inconsistencies automatically:
mvn spotless:apply
# Or for Gradle:
./gradlew spotlessApply
Ensure this skill is enabled within your Openclaw Skills directory settings.
The skill identifies and processes formatting schemas across multiple priority levels. The framework segments findings as follows:
| Priority Level | Severity | Actions Required |
|---|---|---|
| P0 [Mandatory] | Critical | Blocks commit. Violations include swallowed exceptions, naming prefixes with _ or $, raw generic types, and missing @Override annotations. |
| P1 [Recommended] | High | Strongly advised to fix. Includes excessive method lengths, nested levels exceeding 3, and string concatenation inside loops. |
| P2 [Reference] | Minor | Suggested improvements. Consists of record usages instead of plain data classes, import organization patterns, and non-standard domain suffixes. |
Generated reports output a structured layout summarizing codebase issues:
=== AI Code Format Review Report ===Stats: P0 x4, P1 x2, P2 x1)Loading
A read-only governance preflight tool that evaluates proposed AI agent actions for authorization, boundaries, risks, and required evidence before execution.

PrepKit is an advanced instructional framework based on the ADDIE model, specifically tailored for AI agents to design and develop elite training materials for informatics competitions like NOI, CSP, and GESP.

A utility to accurately calculate, aggregate, and display cumulative LLM token usage across all OpenClaw agents, featuring a Python CLI and an optional Control UI analytics button.

An automated Alibaba Cloud ECS disaster recovery and backup automation agent skill for cross-AZ full-instance and disk-level recovery.

An AI agent skill to search and retrieve biomedical literature and scientific papers from PubMed and other NCBI databases using the E-Utilities API.

An Openclaw Skills tool interfacing with the WenDaoYun API to retrieve comprehensive corporate data, financial status, and risk metrics for Chinese enterprises.








































