What problem does it solve?
Developing the Golem Scala SDK requires navigating a complex multi-version build matrix (Scala 3.8.2, 2.12.21, sbt, Mill) that is independent of the repository's Rust build, and mistakes in project IDs, publication order, or WIT synchronization cause confusing failures.
Core Features & Use Cases
- Build and Test Guidance: Provides the authoritative sbt commands, project IDs (core, macros, codegen, sbtPlugin, testAgents), and Scala version switches for compiling and testing SDK modules.
- Local Publication: Documents the canonical
sbt golemPublishLocal flow and the repository-wide cargo make build-sdk-scala prerequisite pipeline including WIT sync and guest runtimes.
- Runtime and WIT Changes: Points to authoritative sources like HostApi.scala, DurabilityApi.scala, and wit/main.wit when modifying the Scala.js host surface or regenerating guests.
- Use Case: When changing a public API in the Scala SDK, follow the skill to compile affected projects, run macro and codegen tests, link testAgents, and publish locally before building the standalone example consumer.
Quick Start
Ask the assistant to compile and test the Golem Scala SDK core module with sbt using Scala 3.8.2 and then publish it locally.