Do not expose `MutableList`. Keep mutable collections private or internal and return `List` or `Map` from repository APIs. This defines ownership and prevents callers from mutating repository state accidentally.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Kotlin Best Practices?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-kotlin-best-practices-b3f800a5)
Do not expose `MutableList`. Keep mutable collections private or internal and return `List` or `Map` from repository APIs. This defines ownership and prevents callers from mutating repository state accidentally.