kotlin-lsp
>
Works with
--- name: kotlin-lsp description: > license: MIT --- # Kotlin LSP — kotlin-language-server Integration ## Role and Purpose 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. ## Workflow ### Step 1 — Plan Phase 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. ### Step 2 — Act Phase 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. ### Step 3 — Verify Phase 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. ## Confirmation Policy 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. ## Prerequisites Install the **kotlin-language-server** tool: ### Option 1: Homebrew (macOS) ```bash brew install kotlin-language-server ``` ### Option 2: SDKMAN ```bash sdk install kls ``` ### Option 3: From GitHub Releases Download the latest release from [fwcd/kotlin-language-server](https://github.com/fwcd/kotlin-language-server/releases), extract, and add the `bin/` directory to your PATH. Verify the integration is available: ```bash kotlin-language-server --version ``` ## Supported File Types | Extension | Language ID | |-----------|------------| | `.kt` | `kotlin` | | `.kts` | `kotlin` | ## Troubleshooting - **"Executable not found in $PATH"** — Install via Homebrew, SDKMAN, or GitHub releases - **No diagnostics appearing** — Ensure the project has a `build.gradle.kts` or `build.gradle` - **Slow startup** — First launch indexes and downloads Gradle dependencies; `startupTimeout` is 30s. Escalation: restart the server if it hangs. - **Out of memory** — For large Android projects, set `JAVA_OPTS=-Xmx4g` as a fallback
More Mobile skills
animation-vocabulary
emilkowalski/skills
Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
cross-border-ecommerce
nexscope-ai/ecommerce-skills
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

