generics-implementation
Expert skill for implementing parametric polymorphism including type parameter bounds, monomorphization, type erasure, variance, higher-kinded types, and associated types.
npx skills add a5c-ai/babysitter --skill generics-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Generics Implementation Skill Implement parametric polymorphism for programming languages including generics, type bounds, and compilation strategies. ## Capabilities - Design generic syntax and type parameter bounds - Implement monomorphization (Rust-style) - Implement type erasure (Java-style) - Handle variance in generic types - Implement higher-kinded types (if applicable) - Design trait/interface bounds - Handle associated types - Implement generic method dispatch ## Usage Invoke this skill when you need to: - Add generics to a language - Implement monomorphization or type erasure - Design trait bounds and constraints - Handle variance and subtyping with generics ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | compilationStrategy | string | Yes | Strategy (monomorphization, erasure, dictionary) | | features | array | No | Features to implement | | varianceModel | string | No | Variance handling (explicit, inferred, none) | | boundsSystem | object | No | Bounds system configuration | ### Compilation Strategies ```json { "compilationStrategy": "monomorphization", // Rust, C++ "compilationStrategy": "erasure", // Java, Typ
- Capabilities
- Usage
- Inputs
- Compilation Strategies
- Feature Options
- Output Structure
- Generic Type System
- Type Parameter Syntax
- Generic Type Representation
- Monomorphization
- Type Erasure
- Variance
- Trait Bounds
- Associated Types
What does the generics-implementation skill do?
Expert skill for implementing parametric polymorphism including type parameter bounds, monomorphization, type erasure, variance, higher-kinded types, and associated types.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill generics-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
