ai-agent

google-java-format: Standardize Java Code

Reformat Java code to Google standards. For startup founders coding in Java.
6,184 stars932 forksJavaGuide quality 8/10Updated 9/3/2026100% free · open source
What it does

Reformats Java source code to comply with Google Java Style, making code more readable and maintainable

When to use it
  • When contributing to open-source projects that follow Google Java Style
  • When working on a Java project that requires consistent code formatting
  • When integrating with other Google-developed tools and libraries
Ready-to-paste prompt
java -jar google-java-format-1.15.0.jar --replace --dry-run YourJavaFile.java
Heads up: The Google Java Format tool requires JDK 8 or later to run, so ensure your system meets this prerequisite before using the tool
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/google-java-format && curl -fsSL https://workflowstacks.com/api/skills/google-java-format/claude-skill -o ~/.claude/skills/google-java-format/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How google-java-format: Standardize Java Code works
Codeflow
Free to inspect

Google-java-format: Standardize Java Code is a medium Java project (~14k lines across 63 code files, plus 26 test files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit this month, Other license, has a test suite.

Size
Medium codebase
~14k lines · 63 code files · ~2 h to skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Java/JVM
No API keys detected
Java 98%Python 1%Emacs Lisp 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    core/src/main/java/com/google/googlejavaformat/java/Main.java
    Inside core/ — the main logic begins here
What's in each folder
core/Core code — the actual logic503 files
idea_plugin/Folder14 files
eclipse_plugin/Folder8 files
util/Helper scripts4 files
scripts/Helper scripts1 files
.github/CI / automation (GitHub Actions)3 files
.mvn/Tool / agent settings1 files
READMEHas testsThin docsCI checksOther licenseUpdated this month
Quick Actions
Details
Creator
google
Language
Java
Category
ai-agent
Published
5/11/2015

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.