java-adr
Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document…
Suggests and applies version-gated Java refactorings. Use when user asks to "refactor this", "clean up this code", "modernize this Java", "simplify this", "extract method", "improve this class", or "make this more idiomatic".
Claude Code
$ npx -y skills add ducpm2303/claude-java-plugins --skill java-refactor --agent claude-code
Codex
$ npx skills add ducpm2303/claude-java-plugins --skill java-refactor -a codex -y
Cursor
$ npx skills add ducpm2303/claude-java-plugins --skill java-refactor -a cursor -y
Gemini CLI
$ npx skills add ducpm2303/claude-java-plugins --skill java-refactor -a gemini-cli -y
GitHub Copilot
$ npx skills add ducpm2303/claude-java-plugins --skill java-refactor -a github-copilot -y
OpenCode
$ npx skills add ducpm2303/claude-java-plugins --skill java-refactor -a opencode -y
Windsurf
$ npx skills add ducpm2303/claude-java-plugins --skill java-refactor -a windsurf -y
description: Suggests and applies version-gated Java refactorings. Use when user asks to "refactor this", "clean up this code", "modernize this Java", "simplify this", "extract method", "improve this class", or "make this more idiomatic". argument-hint: "[paste code or select in editor]"
Refactor the Java code I've selected or provided. Follow these steps:
Check `pom.xml` (`<java.version>` or `<maven.compiler.source>`) or `build.gradle` (`sourceCompatibility`). If not found, ask: "What Java version are you targeting? (8, 11, 17, 21, or other)"
These refactorings are safe regardless of Java version:
State the minimum Java version required for each suggestion:
For each refactoring: 1. **What:** one sentence describing the change 2. **Why:** one sentence explaining the benefit 3. **Before:** the original code snippet 4. **After:** the refactored code snippet 5. **Java version required:** (e.g., "Java 8+" or "All versions")
Then offer: "Want me to apply these changes to the file?"
After completing refactoring:
A Claude Code plugin marketplace with 3 focused plugins for Java developers. All plugins support Java 8 through Java 21 and tailor advice to your target Java version.
Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document…
Reviews Java REST API design including HTTP methods, status codes, naming, and versioning. Use when user asks to "review my API",…
Reviews or implements Clean Architecture / Hexagonal Architecture (Ports & Adapters) and DDD tactical patterns for Java projects.…
Generates a Conventional Commits message for staged Java changes. Use when user asks to "write a commit message", "help me…
Reviews Java code for thread safety, race conditions, deadlocks, and Java 21 virtual thread compatibility. Use when user asks to…
Detects GoF patterns in Java code or recommends the right pattern for a problem. Use when user asks to "what pattern is this",…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.