lsp-setup

Configure a Language Server for a project by detecting file extensions and writing per-project configs.

3.2k|198|Updated May 25, 2026
One-click install
npx skills add https://github.com/code-yeongyu/lazycodex --skill lsp-setup-code-yeongyu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lsp-setup
Source: https://github.com/code-yeongyu/lazycodex/tree/main/plugins/omo/skills/lsp-setup
Command: npx skills add https://github.com/code-yeongyu/lazycodex --skill lsp-setup-code-yeongyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Configure a Language Server correctly for a project to ensure editor tooling like diagnostics, go-to-definition, find-references, and rename function reliably across languages.

Core Features & Use Cases

  • Detects language by file extension and installs the appropriate builtin LSP server.
  • Writes per-project configuration files (.codex/lsp-client.json and .opencode/lsp.json) and provides install hints per language.
  • Includes scripts (detect-lsp.ts and verify-lsp.ts) to validate end-to-end LSP operation across a project.

Quick Start

Run the LSP setup to detect languages in your project, install servers, write per-project configs, and verify operation.

Frequently Asked Questions about lsp-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a language server for a project to enable diagnostics and code navigation?▼

To configure a language server, this skill detects the project language by file extension, installs the appropriate server, and writes per-project configuration files to enable editor diagnostics, navigation, and code actions.

What is the best way to set up LSP across multiple programming languages?▼

Setting up LSP across multiple languages is handled by relying on built-in language references and install hints, automatically detecting the language from file extensions to install and verify the correct server configuration.

How do I verify that my LSP setup is working correctly end-to-end?▼

To verify your LSP setup is working, run the included validation scripts to check end-to-end language server operation, ensuring diagnostics, go-to-definition, and find-references function reliably across your project.

Does LSP configuration work across macOS, Linux, and Windows?▼

Yes, LSP configuration works across macOS, Linux, and Windows, writing project-specific configuration files like .codex/lsp-client.json and .opencode/lsp.json while providing install hints per language.

Why does my editor lack go-to-definition and rename functions even with a language server installed?▼

Your editor lacks go-to-definition and rename functions because the language server lacks correct per-project configuration, which this skill resolves by writing the necessary files and verifying operation.