AGENT SKILL

lang-java

Java development standards, Google Java Style, and tooling.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
lang-java
description
Java development standards, Google Java Style, and tooling.

03 SKILL.md 正文

JAVA Standards

  • Style: Google Java Style Guide.
  • Tooling: google-java-format, Checkstyle/SpotBugs, JUnit 5 + Mockito.
  • Modern Java: Java 17+. Use Records for data carriers, sealed classes, and switch expressions.
  • Idioms: Use the Streams API for functional data processing.
  • Safety: Use Optional<T> — never return null for collections or single values. Use Try-with-resources.
  • Concurrency: Virtual threads (Java 21+) for high-throughput I/O.

Always load clean-code alongside this skill.

04 同仓库更多 Skills