java-adr
Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document…
Checks Java code for SOLID principles violations with Java-specific patterns. Use when user asks to "check SOLID principles", "is this good OOP", "single responsibility", "SOLID violations", "open closed principle", or "dependency inversion".
Claude Code
$ npx -y skills add ducpm2303/claude-java-plugins --skill java-solid --agent claude-code
Codex
$ npx skills add ducpm2303/claude-java-plugins --skill java-solid -a codex -y
Cursor
$ npx skills add ducpm2303/claude-java-plugins --skill java-solid -a cursor -y
Gemini CLI
$ npx skills add ducpm2303/claude-java-plugins --skill java-solid -a gemini-cli -y
GitHub Copilot
$ npx skills add ducpm2303/claude-java-plugins --skill java-solid -a github-copilot -y
OpenCode
$ npx skills add ducpm2303/claude-java-plugins --skill java-solid -a opencode -y
Windsurf
$ npx skills add ducpm2303/claude-java-plugins --skill java-solid -a windsurf -y
description: Checks Java code for SOLID principles violations with Java-specific patterns. Use when user asks to "check SOLID principles", "is this good OOP", "single responsibility", "SOLID violations", "open closed principle", or "dependency inversion". argument-hint: "[paste class or paste multiple related classes]" allowed-tools: Read, Grep, Glob
Review the provided Java code for SOLID principles violations. For each principle, check for violations and suggest targeted improvements. Tailor suggestions to the detected Java version.
A class should have one reason to change.
**Violations to flag:**
**Fix pattern:** Extract each responsibility into its own class. Show the split.
Open for extension, closed for modification.
**Violations to flag:**
**Fix pattern:** Introduce Strategy, Template Method, or polymorphism. Show the refactoring.
Subtypes must be substitutable for their base types.
**Violations to flag:**
**Fix pattern:** Use composition over inheritance, or restructure the hierarchy.
Clients should not depend on interfaces they don't use.
**Violations to flag:**
**Fix pattern:** Split the fat interface into focused role interfaces.
Depend on abstractions, not concretions.
**Violations to flag:**
**Fix pattern:** Introduce interface + constructor injection. Show the change.
For each violation: 1. **Principle violated:** (S/O/L/I/D) 2. **Location:** class + method 3. **Problem:** what rule is broken and why it matters 4. **Fix:** before/after code
End with: **SOLID Score** — how many of the 5 principles are cleanly satisfied (e.g., "3/5 — S, I, D pass; O and L need attention").
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.