scala2

Enforce Scala 2.12/2.13 coding conventions from the Databricks style guide.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/pingqLIN/skill-0 --skill scala2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scala2
Source: https://github.com/pingqLIN/skill-0/tree/main/converted-skills/scala2
Command: npx skills add https://github.com/pingqLIN/skill-0 --skill scala2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces consistent and high-quality Scala code by providing comprehensive guidelines on programming conventions, type safety, and performance.

Core Features & Use Cases

  • Style Guide Enforcement: Adheres to Databricks Scala Style Guide for functional programming, type safety, and production code quality.
  • Best Practices: Covers immutability, pure functions, naming conventions, syntactic style, error handling, and concurrency.
  • Use Case: Ensure all new Scala code in a project follows established best practices, leading to more maintainable, readable, and robust software.

Quick Start

Apply the scala2 skill to review the provided Scala code for adherence to best practices.

Frequently Asked Questions about scala2

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

FAQPage Schema
What are the Scala coding conventions for functional programming and type safety?

Scala coding conventions for functional programming prioritize immutability, pure functions, and strict type safety to enhance production code quality. They also cover naming, syntactic style, and error handling based on the Databricks style guide.

How do I enforce Databricks Scala style guide rules in my project?

To enforce Databricks Scala style guide rules, apply automated coding checks to review Scala 2.12 and 2.13 code. This validates adherence to best practices for collections, concurrency, and performance optimization.

Does this Scala style guide cover both Scala 2.12 and 2.13 production code?

Yes, this Scala style guide explicitly supports both Scala 2.12 and 2.13 production code. It provides comprehensive guidelines for type safety, concurrency, performance optimization, and functional programming best practices.

What is the best way to handle immutability and error handling in Scala?

The best way to handle immutability and error handling in Scala is by following functional programming best practices. This involves using pure functions, enforcing strict type safety, and adhering to Databricks syntactic style guidelines.

When should I optimize Scala collections for performance and concurrency?

You should optimize Scala collections for performance and concurrency when writing production code. Following established coding standards ensures your functional programming implementations remain robust, readable, and highly maintainable.