Golem add scala dependency

From golemcloud/golem · View interactive version

Golem add scala dependency is an AI agent skill from the GitHub repository golemcloud/golem. Add a new library dependency to a Scala Golem project. Use when the user asks to add a library, package, or dependency.

How to use this skill

Skill file

Add a Scala Library Dependency

Important constraints

Steps

  1. Add the dependency to build.sbt

In the component's build.sbt, add the library under libraryDependencies:

```scala

libraryDependencies += "com.example" %%% "library-name" % "1.0.0"

```

Use %%% (not %%) to get the Scala.js variant of the library.

  1. Build to verify

```shell

golem build --yes

```

Do NOT run sbt compile directly — always use golem build.

  1. If the build fails

Already available libraries

These are already in the project's build.sbt — do NOT add them again:

HTTP and networking

Use the Golem SDK's HTTP client utilities. Standard JVM networking (java.net) is not available in Scala.js/WASM.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.