/kotlin-lsp:kotlin-lspfrom kotlin-lsp
Provides real-time Kotlin code intelligence via kotlin-language-server: error detection, go-to-definition, find-references, and type info for .kt and .kts files.
Ships in kotlin-lsp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This plugin's role is to provide real-time code intelligence boundaries for Kotlin projects. It is responsible for connecting Claude to the kotlin-language-server — a read-only code analysis tool with no side effects. Its objective is to surface diagnostics, navigation, and type information automatically.
Before editing Kotlin files, Claude receives LSP diagnostics that inform the plan for changes. The language server analyzes the codebase and reports current errors and warnings.
When Claude writes or edits .kt or .kts files, the LSP server
processes changes and returns updated diagnostics in structured JSON
output via the LSP protocol.
After each edit, Claude reviews the LSP diagnostics to confirm the change didn't introduce regressions. If errors appear, Claude uses the fallback of reverting or correcting the edit — a fail-safe error handling procedure.
This plugin requires no human confirmation or approval gates because it is a purely read-only analysis tool — it cannot modify files, make network calls, or produce any side effects. All actions are autonomous and safe by design.
Install the kotlin-language-server tool:
brew install kotlin-language-server
sdk install kls
Download the latest release from fwcd/kotlin-language-server, extract, and add the bin/ directory to your PATH.
Verify the integration is available:
kotlin-language-server --version
| Extension | Language ID |
|---|---|
.kt | kotlin |
.kts | kotlin |
build.gradle.kts or build.gradlestartupTimeout is 30s. Escalation: restart the server if it hangs.JAVA_OPTS=-Xmx4g as a fallbackWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
kotlin-lsp, kotlin-language-server, code-intelligence, diagnostics, lsp, kotlin
npx claudepluginhub msapps-mobile/claude-plugins --plugin kotlin-lspOther plugins' skills for the same job