Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pluginagentmarketplace avatar

Kotlin Serialization

  • 14 installs
  • 7 repo stars
  • Updated January 5, 2026
  • pluginagentmarketplace/custom-plugin-kotlin

kotlin-serialization is a Claude Code skill for ai & agent building.

About

kotlin-serialization is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • kotlin-serialization
  • AI & Agent Building
  • AI-coding skill

Kotlin Serialization by the numbers

  • 14 all-time installs (skills.sh)
  • Ranked #11,275 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-kotlin --skill kotlin-serialization

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs14
repo stars7
Last updatedJanuary 5, 2026
Repositorypluginagentmarketplace/custom-plugin-kotlin

How do I helps with ai & agent building tasks.?

Helps with ai & agent building tasks.

Who is it for?

Best when you're working on ai & agent building and need structured help with kotlin serialization.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks., or when kotlin-serialization is a claude code skill for ai & agent building.

What you get

Structured output aligned to kotlin-serialization: kotlin-serialization, AI & Agent Building.

Files

SKILL.mdMarkdownGitHub ↗

Kotlin Serialization Skill

Type-safe serialization with kotlinx.serialization.

Topics Covered

JSON Serialization

@Serializable
data class User(
    val id: Long,
    val name: String,
    @SerialName("email_address") val email: String,
    val createdAt: Instant = Instant.now()
)

val json = Json {
    ignoreUnknownKeys = true
    encodeDefaults = true
    prettyPrint = true
}

val user = json.decodeFromString<User>(jsonString)
val output = json.encodeToString(user)

Custom Serializers

object InstantSerializer : KSerializer<Instant> {
    override val descriptor = PrimitiveSerialDescriptor("Instant", PrimitiveKind.LONG)
    override fun serialize(encoder: Encoder, value: Instant) = encoder.encodeLong(value.toEpochMilli())
    override fun deserialize(decoder: Decoder) = Instant.ofEpochMilli(decoder.decodeLong())
}

@Serializable
data class Event(
    @Serializable(with = InstantSerializer::class) val timestamp: Instant
)

Polymorphic Serialization

@Serializable
sealed class Response {
    @Serializable @SerialName("success")
    data class Success(val data: String) : Response()

    @Serializable @SerialName("error")
    data class Error(val message: String) : Response()
}

val json = Json { classDiscriminator = "type" }

Troubleshooting

IssueResolution
"Serializer not found"Add @Serializable or plugin
Unknown property failsSet ignoreUnknownKeys = true

Usage

Skill("kotlin-serialization")

Related skills

FAQ

What does kotlin-serialization do?

kotlin-serialization is a Claude Code skill for ai & agent building.

When should I use kotlin-serialization?

When you need to helps with ai & agent building tasks., or when kotlin-serialization is a claude code skill for ai & agent building.

What are the main capabilities?

kotlin-serialization; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.