java-adr
Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document this decision", "write an…
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".
$ npx -y skills add ducpm2303/claude-java-plugins --skill java-solid --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/java-solidContext preview
The summary Claude sees to decide when to auto-load this skill.
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".
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 this decision", "write an…
Reviews Java REST API design including HTTP methods, status codes, naming, and versioning. Use when user asks to "review my API", "check REST design", "is this…
Reviews or implements Clean Architecture / Hexagonal Architecture (Ports & Adapters) and DDD tactical patterns for Java projects. Use when user asks to "apply…
Generates a Conventional Commits message for staged Java changes. Use when user asks to "write a commit message", "help me commit", "what should my commit…
Reviews Java code for thread safety, race conditions, deadlocks, and Java 21 virtual thread compatibility. Use when user asks to "review concurrency", "is this…
Detects GoF patterns in Java code or recommends the right pattern for a problem. Use when user asks to "what pattern is this", "detect design patterns",…