lsp

Diagnose and install missing Language Server Protocol servers for detected languages.

15|5|Updated Jul 1, 2025
One-click install
npx skills add https://github.com/swissarmyhammer/swissarmyhammer --skill lsp-swissarmyhammer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lsp
Source: https://github.com/swissarmyhammer/swissarmyhammer/tree/main/builtin/skills/lsp
Command: npx skills add https://github.com/swissarmyhammer/swissarmyhammer --skill lsp-swissarmyhammer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that your project has the necessary Language Server Protocol (LSP) servers installed and configured, providing essential code intelligence features like autocompletion, diagnostics, and navigation.

Core Features & Use Cases

  • LSP Status Check: Verifies if LSP servers for detected languages are installed and operational.
  • Missing Server Identification: Pinpoints which LSP servers are not installed and provides their installation commands.
  • Automated Installation: Offers to install missing LSP servers with user permission.
  • Use Case: When you notice that your IDE isn't providing code suggestions or highlighting errors for a specific language, this Skill can diagnose and fix the underlying LSP server issues.

Quick Start

Run the lsp skill to check and install any missing language servers for your project.

Frequently Asked Questions about lsp

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

FAQPage Schema
How do I fix missing code intelligence and autocompletion in my IDE?

To fix missing code intelligence, diagnose and install missing Language Server Protocol servers for your project. This Skill checks LSP server status for detected languages, presents findings in a table, and prompts you to install missing servers via shell commands.

Why does my project lack diagnostics and code navigation features?

Your project lacks diagnostics and code navigation because the required Language Server Protocol servers are not installed. Running an LSP status check identifies which servers are missing and provides the exact installation commands needed to restore functionality.

What is the best way to install missing language servers for detected programming languages?

The best way to install missing language servers is to run a diagnostic check that identifies gaps and prompts for permission to execute shell commands. This automates the installation of required LSP servers for all detected languages in your project.

Can I check the Language Server Protocol status for all languages in my project at once?

Yes, you can check the Language Server Protocol status for all detected languages at once. The diagnostic process scans your project, verifies if the necessary LSP servers are installed and operational, and presents the findings in a clear table.

What happens if no programming languages are detected during the LSP server check?

If no programming languages are detected during the LSP server check, the process handles the case gracefully by reporting that no languages were found. It also handles cases where installation commands fail, ensuring the diagnostic process completes safely.