Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Kotlin API design: functions, types and boundaries v1.0.0

Use this resource to design or review the functions, types and expect/actual declarations of a Kotlin API

New

  • 365 downloads
  • 226 likes
  • 228 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install kotlin-api-design-rules

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent decides where a function, extension or factory belongs, when to create a value class and how to split expect and actual declarations in Kotlin Multiplatform. It names the owner of each behaviour. You get a smaller, clearer public API for callers.

Mostly picked by

Updated November 2, 2026

Card for the “Kotlin API design: functions, types and boundaries” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • references/: cards on function ownership and extensions
  • references/: cards on value classes and multiplatform boundaries

Good fit for

  • A Kotlin class collects utility functions with no clear owner
  • You create an abstraction for a single platform in Kotlin Multiplatform

Not for

    Tags

    • kotlin
    • api
    • multiplatform
    • extensions
    • value classes

    About

    You say

    “In this Kotlin Multiplatform module, tell me where this formatting function should live and whether it should be an extension.”

    Card for the “Kotlin API design: functions, types and boundaries” skill

    Skill published by chrisbanes under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design or review the functions, types and expect/actual declarations of a Kotlin API
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE11.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/functions.md2.8 KB
    • references/multiplatform-boundaries.md4.4 KB
    • references/value-classes.md4.2 KB
    • SKILL.md2.2 KB

    Origin and licence

    Listed unmodified

    Author
    chrisbanes
    Source
    github.com/chrisbanes/skills/tree/8fc8836c80d8985583bf41117a3e5e8cb5eec248/skills/kotlin-api-design
    Licence
    Apache-2.0

    Notice

    « kotlin-api-design » (chrisbanes, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.