Kotlin Multiplatform
Generates Kotlin Multiplatform code for file writing operations, optimized for performance and cross-platform compatibility.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add fwrite0920-kotlin-multiplatform npx -- -y @trustedskills/fwrite0920-kotlin-multiplatform
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"fwrite0920-kotlin-multiplatform": {
"command": "npx",
"args": [
"-y",
"@trustedskills/fwrite0920-kotlin-multiplatform"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to leverage Kotlin Multiplatform (KMP) for building cross-platform applications. It allows developers to share common code between different platforms like Android, iOS, and desktop, reducing development time and improving consistency. The skill facilitates writing platform-specific code when necessary while maximizing code reuse across multiple targets.
When to use it
- Cross-Platform Development: Building apps that need to run on both Android and iOS devices simultaneously.
- Code Sharing: When you have existing Kotlin codebase and want to share logic with an iOS application.
- Reducing Redundancy: Minimizing duplicated code across multiple platforms, leading to easier maintenance.
- Desktop Application Development: Expanding your app's reach by building a desktop version alongside mobile apps.
Key capabilities
- Cross-platform code sharing
- Kotlin/Native compilation
- Platform-specific extensions
- Shared business logic implementation
- Android and iOS target support
Example prompts
- "Write a Kotlin Multiplatform function to calculate the factorial of a number."
- "Generate KMP code for data validation, usable on both Android and iOS."
- “Create a shared data model using Kotlin Multiplatform that can be used in an Android and iOS app.”
Tips & gotchas
- Requires familiarity with Kotlin programming language.
- Platform-specific UI code still needs to be written separately for each target platform.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.