jvm-helper

Assist Java and Kotlin development on the JVM with Gradle, Maven, jlink, and GraalVM.

127|8|Updated Jun 14, 2022
One-click install
npx skills add https://github.com/shepherdjerred/monorepo --skill jvm-helper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jvm-helper
Source: https://github.com/shepherdjerred/monorepo/tree/main/packages/dotfiles/dot_claude/skills/jvm-helper
Command: npx skills add https://github.com/shepherdjerred/monorepo --skill jvm-helper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines your Java and Kotlin development on the JVM by providing quick access to modern language features, build tools, and essential JVM utilities, reducing the time spent looking up commands and syntax.

Core Features & Use Cases

  • Modern Language Features: Quickly reference syntax and examples for Java (21+ LTS) and Kotlin (2.x).
  • Build Tool Integration: Execute common Gradle and Maven tasks for building, testing, and dependency management.
  • JVM Tooling: Utilize tools like jlink, jpackage, and GraalVM for packaging and optimization.
  • Use Case: You're working on a Kotlin project and need to quickly implement a sealed class hierarchy with exhaustive when expressions, or you need to build a fat JAR using Gradle. This Skill provides the necessary code snippets and commands.

Quick Start

Show me how to create a sealed class in Kotlin.

Frequently Asked Questions about jvm-helper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a sealed class hierarchy with exhaustive when expressions in Kotlin?

To implement a sealed class in Kotlin, define the class using the `sealed` modifier and utilize exhaustive `when` expressions to handle all subtypes. This Skill provides syntax references and code snippets for Kotlin 2.x to structure these hierarchies effectively.

What is the best way to build a fat JAR using Gradle or Maven?

Building a fat JAR involves configuring your build tool to bundle all dependencies into a single archive. This Skill assists with Gradle and Maven commands for dependency management and packaging, streamlining the build process for JVM applications.

Can I use jlink and GraalVM native-image to optimize and package JVM applications?

Yes, `jlink` assembles custom runtime images and GraalVM `native-image` compiles Java or Kotlin code into standalone executables. This Skill supports these JVM tooling utilities to reduce package size and startup time.

Does this Skill support modern Java 21 LTS features and syntax?

Yes, this Skill provides quick reference for modern Java 21 LTS features. It assists developers by offering syntax examples and language feature support to streamline JVM programming without manual lookups.

How do I execute common build and testing tasks for Java and Kotlin projects?

Executing build and testing tasks requires running specific commands in your build tool. This Skill supports Gradle and Maven integration, helping you quickly manage dependencies, build projects, and run tests on the JVM.