java-conventions
БесплатноБез исполняемых скриптовНе проверенJava code conventions covering Java 17+ records and sealed classes, formatting/static analysis, Maven/Gradle, JUnit 5, exception handling, constructor…
от Goldziher★ 182 звезды на GitHubОб этом скилле
- Java 17+ LTS, records for immutable data, sealed classes for restricted hierarchies, pattern matching.
- A consistent style guide and auto-formatter (e.g., Google Java Style + google-java-format). Static analysis (e.g., Error Prone + SpotBugs).
- Build: Maven or Gradle with wrapper scripts (
mvnw/gradlew). Commit wrapper files. - Testing: JUnit 5 with
@ParameterizedTest, an assertion library (e.g., AssertJ), a coverage tool (e.g., JaCoCo) at 80%+. - Benchmarking: JMH for microbenchmarks — never use
System.nanoTime()loops. - Error handling: specific exceptions only, never
catch (Exception), use try-with-resources forAutoCloseable. varfor obvious types,Optional<T>for returns (never params/fields),finalfields by default.- Prefer constructor injection over field injection for DI. Immutable collections:
List.of(),Map.of(). - Streams for collection transforms,
instanceofpattern matching, switch expressions. - Security: OWASP
dependency-checkMaven/Gradle plugin for CVE scanning. - Dependencies: commit lock files, use BOM for version alignment, avoid
SNAPSHOTin releases. - Anti-patterns: public fields, mutable static state, raw types, checked exceptions in lambdas.
Установить java-conventions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл java-conventions?
Java code conventions covering Java 17+ records and sealed classes, formatting/static analysis, Maven/Gradle, JUnit 5, exception handling, constructor injection, streams, and security. Load when writing or reviewing Java code.
Как установить скилл java-conventions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл java-conventions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic