Scala Development
Writes high-quality, functional Scala code using the Typelevel ecosystem and Test-Driven Development (TDD).
Key features
- Employs a Test-Driven Development (TDD) workflow using the MUnit testing framework.
- Adheres to functional programming principles and the Typelevel ecosystem (cats, cats-effect, fs2).
- Avoids unsafe patterns like `Any`, `null`, and `throw` in favor of safer alternatives.
- Uses Algebraic Data Types (ADTs) for domain modeling and treats errors as values (Either, EitherT).
- Provides specific commands for compiling and testing with a preference for Bloop over sbt.
Use cases
- Implementing new features in an existing Scala codebase following functional programming best practices.
- Writing comprehensive unit and integration tests for Scala applications using MUnit.
- Building a new Scala project from scratch, particularly one using the Typelevel stack.
FAQ
What core capabilities does it provide?
It provides expertise in the Typelevel stack, employs the MUnit framework for TDD, models domains with ADTs, treats errors as values (Either, EitherT), and prioritizes the Bloop build server for faster compilation and testing.
When should I use this skill?
Use this skill when you need to write new Scala features, build applications with a functional approach, work within a Typelevel-based project, or follow a strict Test-Driven Development (TDD) workflow. It is ideal for projects using sbt or Bloop.
What does the Scala Development skill do?
This skill enables Claude to act as a senior functional Scala developer. It specializes in writing high-quality, test-driven code using the Typelevel ecosystem (cats, cats-effect, fs2) and modern functional programming practices.
How does this skill improve my workflow?
It streamlines development by consistently applying best practices. You get idiomatic functional code, comprehensive tests from the start (TDD), and safer, more predictable error management, leading to more robust and maintainable applications.
Related skills
DSPy for Ruby
Builds type-safe, composable, and optimizable LLM applications in Ruby using the DSPy.rb framework.
Developer Tools2,82412 ptsDHH Ruby/Rails Style
Generates Ruby and Rails code embodying David Heinemeier Hansson's philosophy of clarity, convention, and developer happiness.
Developer Tools2,82412 ptsDHH/37signals Rails Style
Applies the distinctive 37signals/DHH conventions to generate and refactor Ruby on Rails code.
Developer Tools2,82412 pts