How to WRITE Java scripts with JBang — single-file programs with inline dependencies, no project setup. Use this skill when the user wants to write a Java script, create a single-file Java program, add dependencies via //DEPS without Maven/Gradle, create a CLI tool in Java, use JBang directives (//DEPS, //JAVA, //SOURCES, etc.), generate scripts from templates, or needs to know about JBang's script syntax and features. This skill is about WRITING code — for running JARs, installing tools, managing JDKs, or publishing apps via catalogs without writing code, see the jbang skill instead.
JBang as a universal Java launcher and tool manager — run JARs, Maven artifacts, and remote scripts without writing any code. Use this skill when the user wants to run a JAR or WAR file, execute a Maven artifact by GAV coordinates, install a Java tool as a system command, manage JDK versions, browse the JBang AppStore, set up catalogs to publish or distribute Java apps, run remote scripts from URLs or GitHub, or use JBang in CI/CD pipelines. Also triggers for "jbang app install", "jbang jdk", running anything by Maven coordinates, or publishing apps via catalogs. This skill is about USING and DISTRIBUTING Java tools — for WRITING JBang scripts, see the jbang-scripting skill instead.