| name | lsp-server-integration |
| description | Add and configure Language Server Protocol (LSP) servers to provide language intelligence in OpenCode |
Skill: LSP Server Integration
Goal
Add and configure Language Server Protocol (LSP) servers to provide language intelligence in OpenCode.
Use This Skill When
- You add language support for a new file type.
- You configure or replace LSP servers for a language.
- The request mentions LSP, language servers, or language intelligence.
Do Not Use This Skill When
- The task does not involve LSP or language intelligence.
- You only need editor configuration unrelated to OpenCode.
Inputs
- Target language and file extensions.
- LSP server package or executable.
- Server initialization options and capabilities.
Steps
- Identify the target language and required LSP features.
- Install or reference the correct LSP server.
- Configure server initialization options and workspace root detection.
- Register the server in OpenCode LSP configuration.
- Validate diagnostics, completion, and hover features.
Output
- Configured LSP server entry.
- Verified language intelligence behavior.
- Updated documentation for the added language support.
References
Suggested Next Skills
Check the Skill Graph for the full workflow.