What problem does it solve?
This Skill helps TypeScript and Deno developers build SKMTC generators that produce well-structured Kotlin code without re-deriving language-specific rules for declarations, imports, packages, annotations, naming, and schema rendering.
Core Features & Use Cases
- Kotlin Target Integration: Configure model and OpenAPI operation projections with the Kotlin language layer and its projection-base veneers.
- Code Rendering: Generate Kotlin files, data classes, interfaces, sealed interfaces, enums, type aliases, values, constructors, function signatures, annotations, and KDoc.
- Import and Package Management: Handle symbol-level imports, aliases, path-derived packages, same-package suppression, and Kotlin package validation.
- Schema Routing: Implement schema-to-value routers for objects, arrays, references, unions, primitives, defaults, nullability, and serialization annotations.
- Naming and Validation: Sanitize Kotlin property names, escape hard keywords, validate package segments, and preserve correct generated output structure.
- Use Case: Use this Skill alongside the SKMTC generator skill to create a production-ready Kotlin SDK generator that converts OpenAPI models and operations into Kotlin source files with correct imports, annotations, and sealed union hierarchies.
Quick Start
Use the skmtc-lang-kotlin skill to scaffold or review an SKMTC generator that emits Kotlin data classes and API interfaces from an OpenAPI specification.