scala-generics-variance
100 / 100 · Low risk
Fine to try.
How to handle type variance in Scala generics when translating from Python's flexible type system. Use this whenever translating Python generic types (TypeVar with covariant/contravariant bounds) to Scala. Covers covariance (+T), contravariance (-T), and invariance for proper type safety.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'scala-generics-variance' ] || [ -L ~/.agents/skills/'scala-generics-variance' ]; then echo 'A skill folder named scala-generics-variance already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/cxcscmu/SkillLearnBench' "$d" && git -C "$d" checkout --quiet '726e1f79b96b0cb3d729d0e55a1c847e0b5353ae' -- 'skills/b4-skill-creator-claude-haiku-4-5/python-scala-translation/scala-generics-variance' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/b4-skill-creator-claude-haiku-4-5/python-scala-translation/scala-generics-variance' ~/.agents/skills/'scala-generics-variance' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'scala-generics-variance' ~/.claude/skills/'scala-generics-variance' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/cxcscmu/SkillLearnBench/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | 726e1f7 | 100 |