/java-core:java-commit [leave empty to use git diff, or describe the change]from java-core
Generates Conventional Commits messages for staged Java changes, analyzing git diff to determine type and scope. Tailored for Java/Spring projects with specific type rules and scope examples.
Ships in java-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a git commit message for the current Java changes. Use the Conventional Commits format tailored to Java/Spring projects.
Run (or ask Claude to run): git diff --staged --stat to see which files changed.
If nothing is staged, check git diff --stat for unstaged changes.
Based on the changed files, determine:
service, controller, repository, security)Use this format:
<type>(<scope>): <imperative summary under 72 chars>
[optional body — what changed and why, not how]
[optional footer — breaking changes, issue references]
feat: new class, method, endpoint, or featurefix: bug fix in logic, null check, exception handlingrefactor: extract method, rename, restructure — no behaviour changeperf: N+1 fix, index added, caching, virtual threadstest: new or updated JUnit/Mockito/Testcontainers testssecurity: OWASP fix, auth change, secret handling improvementchore: dependency update, build config, version bumpuser-service, order-controller, payment-repositoryauth, security, jpa, api, dtopom, gradle, cifeat(user-service): add findByEmail with case-insensitive search
Adds UserService.findByEmail() using Spring Data derived query.
Returns Optional<User> to handle missing users without null checks.
fix(order-controller): return 404 when order not found instead of 500
Previously threw NullPointerException when order ID did not exist.
Now throws ResourceNotFoundException mapped to 404 by GlobalExceptionHandler.
perf(product-repository): fix N+1 query with @EntityGraph on findAll
Each product was triggering a separate query for its category.
Added @EntityGraph(attributePaths = "category") to load in one JOIN.
refactor(auth-service): replace field injection with constructor injection
Removes @Autowired field injection on JwtTokenProvider and UserDetailsService.
Constructor injection makes dependencies explicit and improves testability.
Provide:
git commit -m "$(cat <<'EOF'\n[message]\nEOF\n)"If multiple logical changes are staged together, suggest splitting into separate commits.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ducpm2303/claude-java-plugins --plugin java-core14 skills in this plugin
/java-adr/java-adr — Architecture Decision RecordsCreates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document this decision", "write an architecture decision", "add ADR", "list decisions", "show ADRs", or "record this architectural choice"./java-api-reviewStep 1 — HTTP method and status code correctnessReviews 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 good REST", "review endpoints", "API design review", "check my controller", or "review HTTP API"./java-clean-arch/java-clean-arch — Clean / Hexagonal Architecture AdvisorReviews or implements Clean Architecture / Hexagonal Architecture (Ports & Adapters) and DDD tactical patterns for Java projects. Use when user asks to "apply clean architecture", "implement hexagonal architecture", "add ports and adapters", "apply DDD", "refactor to clean arch", "review architecture", or "add value objects"./java-concurrency-reviewStep 1 — Identify concurrency primitives in useReviews Java code for thread safety, race conditions, deadlocks, and Java 21 virtual thread compatibility. Use when user asks to "review concurrency", "is this thread safe", "check for race conditions", "concurrency issues", or "virtual thread compatible"./java-design-patternMode A — Detect patterns in existing codeDetects 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", "suggest a pattern", "should I use factory", "which design pattern", or "recommend a pattern for"./java-docsRules for generating JavadocGenerates Javadoc comments for Java classes and methods. Use when user asks to "add javadoc", "document this class", "write documentation", "add comments", "generate docs", or "document this method".Other plugins' skills for the same job