Direct-Style Scala Expert

•
61
•

Generates idiomatic Scala applications using modern direct-style syntax, Ox structured concurrency, and Tapir integration.

This skill transforms Claude into a specialized Scala architect focused on 'direct-style' programming, emphasizing readability and performance. It enforces modern Scala 3 practices like braceless syntax, compile-time dependency injection, and functional programming principles without the complexity of monadic wrappers. By leveraging the Ox library for structured concurrency and Tapir for type-safe endpoints, it provides a comprehensive framework for building robust, high-performance backend systems. It includes rigorous guidance on resource management, error handling via algebraic data types (ADTs), and specialized sbt tooling to ensure production-grade code quality and zero-warning compilation.

Key Features

01Direct-style concurrency using the Ox library and JVM virtual threads
02Type-safe API development with synchronous Tapir endpoint logic
03Structured error handling using ADTs and Either instead of exceptions
0461 GitHub stars
05Automated sbt tooling integration for compilation, testing, and formatting
06Enforcement of Scala 3 braceless syntax and strict coding standards

Use Cases

01Migrating legacy Scala codebases to modern Scala 3 direct-style patterns
02Building high-performance backend microservices with structured concurrency
03Designing type-safe REST APIs with automatic documentation and validation