agentsclimarketplace

Run2 scala type classes

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3.1-flash-lite-preview/python-scala-translation/run2_scala-type-classes

Implementing type classes for extensible, ad-hoc polymorphism.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_scala-type-classes

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

SKILL.md

0.4 KB, 81 tokens by cl100k_base, as published. Nobody here has run it

Pattern

  1. Definition: Define a trait Tc[T] that describes the behavior.
  2. Implicit Instances: Create implicit objects/vals for each type.
  3. Implicit Parameters: Use (implicit tc: Tc[T]) in methods/constructors.
  4. Syntax (Extension Methods): Create implicit class ... to provide dot-syntax convenience.

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.