agentsclimarketplace

Run1 scala domain modeling

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3.1-flash-lite-preview/python-scala-translation/run1_scala-domain-modeling

Translating Python dynamic structures into type-safe Scala ADTs and case classes.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run1_scala-domain-modeling

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.7 KB, 125 tokens by cl100k_base, as published. Nobody here has run it

Domain Modeling Strategy

  • Enums vs Sealed Traits: Use sealed trait for TokenType to ensure exhaustive pattern matching.
  • Immutability: Use case class for Token to represent immutable data containers.
  • Naming Conventions: Convert Python's snake_case methods/variables to camelCase to adhere to Scala idiomatic standards (e.g., tokenize_batch becomes tokenizeBatch).
  • Data Structures: Use Scala's Option[T] for handling potentially missing metadata or values instead of None or null checks.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.