moai-lang-scala

Enforce Scala 3.6+ best practices with ScalaTest, sbt, and Play Framework.

1|Updated Jul 28, 2025
One-click install
npx skills add https://github.com/kivo360/quickhooks --skill moai-lang-scala-kivo360
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-scala
Source: https://github.com/kivo360/quickhooks/tree/main/.claude/skills/moai-lang-scala
Command: npx skills add https://github.com/kivo360/quickhooks --skill moai-lang-scala-kivo360

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill covers Scala 3.6+ best practices with ScalaTest, sbt, functional patterns, and Play Framework.

Core Features & Use Cases

  • Scala Best Practices: Language and testing patterns.
  • Play Framework: Web applications in Scala.
  • Tooling: sbt, scalafix, and scalafmt.

Quick Start

Create a minimal Play app with a Scala test suite.

Frequently Asked Questions about moai-lang-scala

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

FAQPage Schema
How do I enforce Scala 3.6+ best practices in my codebase?

Scala 3.6+ best practices enforcement involves running code reviews and compliance checks using modern tooling like sbt 1.10, ScalaTest 3.2, and scalafmt. This Skill automates best-practice validation for functional programming patterns, test-driven workflows, and quality gates to ensure your project meets current standards.

Can I use Play Framework with Scala 3.6+ for web applications?

Yes, Play Framework integrates fully with Scala 3.6+. This Skill guides web application development in Scala using Play, covering framework patterns, sbt configuration, and ScalaTest integration for test-driven development across your application stack.

What's the best way to migrate a Scala project to use sbt 1.10 and ScalaTest 3.2?

Migration to sbt 1.10 and ScalaTest 3.2 requires updating dependencies, refactoring test suites to current patterns, and validating functional programming compliance. This Skill provides step-by-step migration guidance, test execution plans, and lint checks to ensure smooth transition to up-to-date tooling.

How do I set up a Scala project that passes TRUST 5 compliance checks?

TRUST 5 compliance for Scala projects involves configuring sbt, ScalaTest, scalafmt, and scalafix to enforce code quality and best practices. This Skill integrates with quality gates like moai-foundation-trust, outputting compliance checkpoints and lint execution plans to validate your setup.

Does scalafmt work with functional programming patterns in Scala 3.6+?

Scalafmt supports functional programming patterns in Scala 3.6+ and is part of the best-practices toolchain. This Skill coordinates scalafmt with scalafix, sbt, and functional design patterns to maintain consistent code style while preserving idiomatic functional Scala.

What should I do if my Scala project's tests aren't running correctly with ScalaTest 3.2?

Test failures with ScalaTest 3.2 often stem from dependency conflicts, version mismatches, or pattern incompatibilities. This Skill troubleshoots test execution, generates corrected sbt configurations, validates functional patterns, and provides lint execution plans to restore test functionality.