AI Skill for Scala AI skill by KissMySkills, cover
What's inside the AI Skill for Scala AI skill: Type design, Pattern matching, Concurrency review, Performance checks
How the AI Skill for Scala AI skill works in three steps: download, drop it into your AI chat, done
The AI Skill for Scala AI skill works with Claude, ChatGPT, Gemini and any AI chat, 30-day money-back guarantee

AI Skill for Scala

Your AI works as a senior Scala developer sitting next to the user in their editor and sbt shell, across…

$19· one file, yours to keep

Yours to keep · instant download

Subscribe · $12/mo

7 days free, then $12/mo · cancel anytime

  • Visa
  • Mastercard
  • American Express
  • Apple Pay

30-day money-back · secure checkout by Stripe

Read the opening lines
# AI Skill for Scala
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then just ask questions the way you normally would.

## Who you are
You are a senior Scala developer acting as the user's pair programmer: you know Scala 2 and Scala 3 syntax, the standard library, the type system, the build tooling and the major ecosystems (Akka/Pekko, Cats, ZIO, Play, Spark). You are not a job-role persona; you sit next to the user inside their editor and sbt shell. You optimise for code that is expressive but readable by the whole team, compiles cleanly, and is tested. Tone: direct, practical, code first, explanation second.

## What you know about Scala
- Language versions: Scala 2.12, 2.13 and Scala 3 (Dotty). Scala 3 changes that matter: optional braces and significant indentation, enum, given/using instead of implicit, extension methods, opaque types, union and intersection types, top-level definitions, new control syntax, inline and match types, macro rewrite. Cross-building with scalaVersion and crossScalaVersions.
- Core constructs: case classes and pattern matching, sealed traits (ADTs), Option/Either/Try, for-comprehensions, immutable collections (List, Vector, Map, Set), lazy val, by-name parameters, traits with self-types, companion objects and apply, value classes, type classes via implicits or givens, variance annotations (+A, -A), higher-kinded types.
- Collections API: map, flatMap, filter, foldLeft, groupBy, collect with partial functions, view for laziness, iterators, ArrayBuffer and mutable variants, and the performance characteristics of List vs Vector vs Array.
- Concurrency: Future and ExecutionContext, Promise, Await (and why to avoid it), Akka and Apache Pekko actors and streams, cats-effect IO and fs2, ZIO effects, layers and fibers, parallel collections.
- Build and tooling: sbt (build.sbt, project/plugins.sbt, libraryDependencies with %% and %, sbt console, ~compile, testOnly, assembly, publishLocal), Mill as an alternative, Scala CLI for scripts, Coursier for installs, Metals in VS Code, IntelliJ Scala plugin, scalafmt (.scalafmt.conf) and scalafix, WartRemover, sbt-tpolecat for strict compiler flags.

Prompt set · 81 lines · the first 12 shown

How it works

  1. Buy or subscribeAdd it to your cart for $19 and the file is yours to keep. Or subscribe: every file in the store, $12/mo.
  2. Open in your AIOpen the file, copy a prompt and paste it into Claude, ChatGPT or any AI chat. Subscribers connect their AI once instead:

    Claude

    Anthropic's AI chat, on the web, desktop and phone · about 3 minutes

    Works on every Claude plan, Free included.

    • Team or Enterprise plan: the workspace owner adds it once in Organization settings, then everyone clicks Connect.
    • Nothing happens when you click Connect? Allow pop-ups for claude.ai and try again.

    On a phone? Set it up once on a computer. It then shows up in the Claude phone app by itself. Email me the link

    After you buy a file
    1. Download your .skill file from the order email or your account.

    2. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill.

    3. Start a new chat and ask for the specialist by name.

    Open full guide

  3. Ask by nameAsk your AI for AI Skill for Scala by name, or fill in the parts in brackets and send.

What's inside

  • ai-skill-for-scala.txtPrompt set · 81 lines · instant download
  • ADTs, pattern matches and smart constructors in Scala 2 or Scala 3 syntax
  • Plain-language fixes for implicit, given and type erasure compiler errors
  • ScalaTest, MUnit, specs2 tests plus ScalaCheck property tests
  • build.sbt lines, sbt commands, Spark, Cats Effect and ZIO snippets

What your AI will do

See a real example
You ask

I get 'No given instance of type Encoder[Order] was found' when calling asJson with Circe in Scala 3. How do I fix it?

Your AI answers

You get: the cause in one line (no Encoder[Order] in implicit scope) → a scala code block with the case class and a companion object holding given Encoder[Order] = deriveEncoder[Order] → why placing the given in the companion removes the need for imports at call sites → a note on semiauto vs auto derivation and compile times → the circe-generic line to confirm in build.sbt → the next action: run sbt compile and paste the next error if any.

// faq

Questions before you buy

What does the AI Skill for Scala do?+

It turns Claude or ChatGPT into a Scala AI pair programmer that models domains with ADTs, explains and fixes compiler errors, refactors to idiomatic Scala, writes tests in ScalaTest, MUnit or specs2, edits build.sbt, and writes Spark, Akka or Pekko, Cats Effect and ZIO code in the style your project already uses.

Does it compile or run my Scala code for me?+

No. It does not run sbt, compile or execute tests. It writes the Scala code, the test and the exact sbt command, and you run them locally or in CI. Anything that writes to production data, Kafka topics or Spark output paths comes with a dry-run warning first.

Does it handle both Scala 2 and Scala 3?+

Yes. Tell it your Scala version and it uses the right syntax: implicits and braces for Scala 2.12 or 2.13, given/using, extension methods, enums and optional braces for Scala 3. It flags when a library artefact or feature differs between versions and never mixes the two styles without saying so.

Can it help with Spark jobs and sbt builds in Scala?+

Yes. For Spark it writes DataFrame and Dataset transformations, reads explain plans and suggests partitioning, caching and spark-submit flags. For sbt it gives exact libraryDependencies lines with %% vs %, plugin entries, cross-building settings and assembly configuration.

How do I open it?+

Download your .skill file from the order email or your account. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill. Start a new chat and ask for the specialist by name.

Using ChatGPT, Gemini or another AI? See How it works