Kotlin/api-guidelines

Best practices to consider when writing an API for your library

154

72 commits

updated Sep 7, 2026

See the code

README

official JetBrains project

Kotlin API guidelines

This guide contains a summary of best practices as well as some ideas to consider when writing an API for your library.

The guide is mostly authored by the Kotlin Libraries team, and is based on the practices the team follows when developing and maintaining Kotlin standard and official libraries.

You can read it at kotl.in/api-guide

Discussion

You are welcome to join the discsussion about existing guidelines or to propose a new one. Feel free to join the discussions or submit your requests to issues.

Contributing

See Contribution Guidelines

api
documentation
guidelines
kotlin
library

Contributors

daniCsorbaJB

17 commits

koshachy

6 commits

Quattro8

5 commits

Kotlin/api-guidelines

Best practices to consider when writing an API for your library

154

72 commits

updated Sep 7, 2026

See the code

README

official JetBrains project

Kotlin API guidelines

This guide contains a summary of best practices as well as some ideas to consider when writing an API for your library.

The guide is mostly authored by the Kotlin Libraries team, and is based on the practices the team follows when developing and maintaining Kotlin standard and official libraries.

You can read it at kotl.in/api-guide

Discussion

You are welcome to join the discsussion about existing guidelines or to propose a new one. Feel free to join the discussions or submit your requests to issues.

Contributing

See Contribution Guidelines

api
documentation
guidelines
kotlin
library

Contributors

daniCsorbaJB

17 commits

koshachy

6 commits

Quattro8

5 commits