public/codex/skills/languages/java/SKILL.md
Java rules for services, controllers, repositories, DTOs, mapper interfaces, and Java/MyBatis contract edges: Java 11 baseline, explicit types, null safety at boundaries, cohesive methods, Stroustrup layout, and no @SuppressWarnings.
npx skillsauth add jungho-git/jllm javaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this rule when:
Java changes should preserve explicit contracts and local code shape.
instanceof, text blocks, switch expressions, or post-Java 11 features.var; declare explicit local types.@SuppressWarnings; fix the cause or report the remaining warning.final to fields or local variables as a default habit.Objects.requireNonNull() for required parameters at boundaries.String.valueOf(obj) for nullable values; use Objects.toString(obj, "") when an empty fallback is intended.AutoCloseable resources.Exception or Throwable unless an existing framework boundary requires it.List<T>, not concrete implementations unless required.StringBuilder inside loops.String.format() only for complex formatting; avoid noisy concatenation.else, catch, and finally start on the next line after the closing brace.if, else, for, while, and do-while bodies.@SuppressWarningsDo not run Gradle compile or test commands unless the user explicitly allows it.
testing
Required phase order for non-trivial tasks: Plan, Explore, Implement, Verify, Finalize. Use for multi-step work, scoped exploration, re-planning, validation, and final synthesis.
development
Final response format: Korean-first, concise Process / Checks / Issues / Updates, optional Usage, with only actual changes, actual validation, real blockers, changed files, and measured token data when available.
development
Smallest complete change rule: preserve local code shape, extend existing patterns, avoid speculative extraction or cleanup, and include required coupled updates for correctness.
development
Code comment policy: numbered one-line `―` dividers for touched declarations and logical sections, paired outer blocks only for long regions, concise purpose comments, and no comment churn.