moai-lang-scala

Consolidates Scala 3.4+ patterns and libraries for building distributed systems.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/yarang/fastapi-error-code --skill moai-lang-scala-yarang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-scala
Source: https://github.com/yarang/fastapi-error-code/tree/main/.claude/skills/moai-lang-scala
Command: npx skills add https://github.com/yarang/fastapi-error-code --skill moai-lang-scala-yarang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a cohesive blueprint for mastering Scala 3.4+ and modern FP ecosystems to accelerate building robust distributed systems and data pipelines.

Core Features & Use Cases

  • Language Modernization: Master Scala 3.4 features (Given/Using, Enums, Opaque types, extension methods) for safer, expressive code.
  • Ecosystem Mastery: Integrate with Akka Typed, Cats Effect, ZIO, and Spark 3.x to build scalable services and data jobs.
  • Project Scaffolding: Follow a detailed Implementation Guide for multi-module sbt projects, including library dependencies, testing, and packaging.
  • Practical Scenarios: Use across microservices, streaming pipelines, and data analytics workloads in distributed environments.

Quick Start

Install sbt, set up a Scala 3.4.x project, add dependencies for akka-actor-typed, cats-effect, zio, http4s, doobie, and spark-sql, then consult the Module Index to begin with Core Language and Frameworks modules.

Frequently Asked Questions about moai-lang-scala

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

FAQPage Schema
How do I set up a Scala 3.4 project with Cats Effect and ZIO?

To set up a Scala 3.4 project with Cats Effect and ZIO, install sbt, configure a multi-module build, and add dependencies like cats-effect, zio, http4s, doobie, and circe to enable functional effects and streaming workloads.

What is the best way to structure a multi-module sbt build for Spark and Akka?

The best way to structure a multi-module sbt build for Spark and Akka is to follow a cohesive project scaffolding blueprint that isolates library dependencies like spark-sql and akka-actor-typed into specific modules for scalable distributed services.

Does this Scala blueprint support integrating Akka Typed with http4s and doobie?

Yes, this Scala blueprint supports integrating Akka Typed with http4s and doobie by providing a detailed implementation guide for adding these dependencies to modern sbt-based Scala 3.4+ setups to build robust microservices.

When do I need Scala 3.4 Opaque Types and Given/Using in functional programming?

You need Scala 3.4 Opaque Types and Given/Using in functional programming when you want safer, more expressive code for type abstraction and dependency injection without runtime overhead across distributed systems.

Can I use this Skill to build streaming pipelines with Cats Effect and Spark?

Yes, you can use this Skill to build streaming pipelines with Cats Effect and Spark 3.x, as it consolidates advanced patterns and ecosystem integrations specifically for data analytics workloads and distributed environments.

What are the limitations of using Scala 3.4 extension methods in distributed systems?

Scala 3.4 extension methods enhance expressiveness but require careful dependency management across multi-module sbt builds to ensure library compatibility within Akka, ZIO, and Spark ecosystems.