From Flutter Monaco
Configures or troubleshoots Language Server Protocol support in flutter_monaco 3.x apps. Handles transport selection (WebSocket, stdio bridge, custom), CSP, stable document URIs, reconnect policy, and LSP lifecycle.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flutter-monaco:configure-flutter-monaco-lspThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Match the transport to where the real language server runs. Inspect the app's platforms, server process or proxy, authentication requirements, sandboxing, and current `MonacoPageConfig` before editing.
Match the transport to where the real language server runs. Inspect the app's platforms, server process or proxy, authentication requirements, sandboxing, and current MonacoPageConfig before editing.
Read references/transport-guide.md before implementation.
flutter_monaco 3.x.LspWebSocketTransport for a WebSocket server or proxy on any platform.LspServerProcess/LspBridgedTransport for a local stdio process on macOS or Windows.LspCustomTransport only when the app owns a compatible JavaScript transport factory.file:/// URI. Confirm language ids and workspace paths match what the server expects.MonacoPageConfig.allowedConnectSources. Do not add broad sources such as * when one origin is sufficient.LanguageServerConnection, observe its state, and define disconnect/reconnect behavior.controller.onPageReloaded, disconnect the stale registered connection, recreate app-owned documents from durable state, and reconnect; the controller cannot infer either layer and duplicate live ids are rejected.connectLanguageServer resolves only after the LSP initialize handshake succeeds.lsp marker owner. Prefer one server per editor unless their diagnostics are disjoint.sendRequest, sendNotification, and Monaco LSP internals are experimental and must be rechecked on engine upgrades.connecting, open, and terminal closed or failed states.Report the chosen transport, server ownership, auth/CSP decisions, lifecycle, and which real feature was exercised.
npx claudepluginhub omar-hanafy/flutter_monaco --plugin flutter-monacoDiagnoses cross-layer failures where flutter_monaco is on the failing path, covering boot, assets, Web mounting, protocol, focus, LSP, reload, and scroll. Use when the failing layer is not yet established.
Adds Language Server Protocol (LSP) support to Visual Studio extensions, enabling IntelliSense, diagnostics, and navigation for custom languages.
Installs and configures LSP servers for Claude Code to enable go-to-definition, find-references, rename-symbol, and real-time diagnostics in Python, TypeScript/JS, Go, Rust, Java, C#, PHP, Kotlin, Ruby, and more.