Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

lsp-managementLSP 管理

Agent Skill

lsp-management 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

61

下载量

103
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lsp-management(LSP 管理)
来源仓库:https://github.com/melodic-software/claude-code-plugins
仓库路径:skills/lsp-management
安装命令:
npx skills add https://github.com/melodic-software/claude-code-plugins --skill lsp-management
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill lsp-management

简介

lsp-management 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于语言服务器管理、插件配置和开发环境优化等研究场景。
  • 通过关键词、任务或来源仓库进行信息筛选,需结合原始 README 确认具体用法。
  • 安装命令为 npx skills add https://github.com/melodic-software/claude-code-plugins --skill lsp-management。
  • 使用前建议确认权限范围、维护状态及是否触发联网或文件读写操作。

SKILL.md

LSP Management Skill

## 🚨 MANDATORY: Invoke docs-management First STOP - Before providing ANY response about LSP configuration: 1. INVOKE docs-management skill for Claude Code LSP documentation 2. QUERY for the user's specific LSP topic 3. BASE all responses on official documentation + this skill's knowledge base Skipping this step results in outdated or incorrect information.

⚠️ EXPERIMENTAL: Claude Code LSP Status

LSP support in Claude Code is experimental and has known issues. Key points:

RequirementDetails
Environment VariableENABLE_LSP_TOOL=1 (singular) required to expose LSP tool
Current Versionv2.1.0+ has partial support (regression #17468)
Stable Versionv2.0.67 is last known stable LSP version
Configuration.lsp.json at project root or lspServers in plugin.json

See troubleshooting.md for version-specific issues and workarounds.

Overview

Central authority for Language Server Protocol (LSP) configuration in Claude Code. This skill provides:

  • LSP server recommendations by language/technology
  • Configuration patterns for .lsp.json files
  • Installation guides for each recommended server
  • Troubleshooting for common LSP issues

Architecture: Keyword registry + curated knowledge base. Delegates to docs-management for official Claude Code LSP documentation.

When to Use This Skill

Keywords: LSP, language server, language-server-protocol, code intelligence, hover, go-to-definition, find-references, diagnostics, pyright, typescript-language-server, gopls, rust-analyzer, csharp-ls,.lsp.json, LSP configuration, LSP setup, LSP troubleshooting

Use this skill when:

  • Setting up LSP servers for a project
  • Choosing between LSP server options for a language
  • Configuring .lsp.json files
  • Troubleshooting LSP issues (hover not working, diagnostics missing, etc.)
  • Understanding LSP server installation requirements
  • Auto-detecting needed LSPs based on project file types

Keyword Registry for docs-management Queries

Use these keywords when querying docs-management skill for official documentation:

Core Concepts

TopicKeywords
LSP Overview"LSP", "language server protocol", "code intelligence"
Configuration File".lsp.json", "LSP configuration", "language server config"
Features"hover", "go-to-definition", "find-references", "diagnostics", "document symbols"

Server-Specific

TopicKeywords
Python"pyright", "pylsp", "python language server"
TypeScript/JavaScript"typescript-language-server", "vtsls", "tsserver"
Go"gopls", "go language server"
Rust"rust-analyzer", "rust language server"
C#"csharp-ls", "OmniSharp", "C# language server"
C/C++"clangd", "ccls", "C++ language server"

Troubleshooting

TopicKeywords
Server Issues"LSP not working", "language server crash", "LSP restart"
Feature Issues"hover not working", "diagnostics missing", "go-to-definition failing"
Configuration Issues"LSP config invalid", ".lsp.json error", "extension mapping"

Quick Decision Tree

What do you need?

  1. Set up LSP for a new project → See server-database.md for recommended servers
  2. Configure.lsp.json → See configuration-patterns.md for patterns
  3. Install a specific LSP server → See installation-guide.md for per-server commands
  4. Fix LSP issues → See troubleshooting.md for common problems
  5. Understand Claude Code LSP support → Query docs-management: "LSP configuration Claude Code"

LSP Server Recommendations (Quick Reference)

LanguageRecommended ServerWhy
PythonPyrightFast, accurate type checking, broad ecosystem support
TypeScript/JavaScripttypescript-language-serverOfficial TypeScript support, widely used
GogoplsOfficial Go team server, comprehensive
Rustrust-analyzerDe facto standard, excellent performance
C#csharp-lsLightweight, cross-platform, dotnet tool
C/C++clangdLLVM-backed, fast, accurate
JavaEclipse JDTLSFull-featured, widely supported
RubysolargraphType inference, documentation support
PHPintelephensePremium features, fast
Lualua-language-serverOfficial, well-maintained
YAMLyaml-language-serverSchema validation, completion
JSONvscode-json-languageserverSchema validation, formatting

For detailed recommendations with alternatives and trade-offs, see server-database.md.

.lsp.json Configuration Format

Claude Code reads LSP configuration from .lsp.json in the project root.

Basic Structure:

{
  "server-name": {
    "command": "server-executable",
    "args": ["--stdio"],
    "extensionToLanguage": {
      ".ext": "language-id"
    },
    "restartOnCrash": true,
    "maxRestarts": 3
  }
}

Required Fields:

FieldTypeDescription
commandstringExecutable command for the server
argsstring[]Command-line arguments (typically ["--stdio"])
extensionToLanguageobjectMaps file extensions to language IDs

Optional Fields:

FieldTypeDefaultDescription
restartOnCrashbooleantrueAuto-restart server on crash
maxRestartsnumber3Maximum restart attempts

For complete patterns and examples, see configuration-patterns.md.

Auto-Detection Strategy

When auto-detecting needed LSPs for a project:

  1. Scan for file extensions using Glob patterns
  2. Match extensions to languages using the mapping table below
  3. Recommend servers from server-database.md

Extension to Language Mapping

ExtensionsLanguageRecommended Server
.py, .pyiPythonpyright
.ts, .tsx, .js, .jsxTypeScript/JavaScripttypescript-language-server
.goGogopls
.rsRustrust-analyzer
.cs, .csxC#csharp-ls
.c, .h, .cpp, .hpp, .ccC/C++clangd
.javaJavajdtls
.rbRubysolargraph
.phpPHPintelephense
.luaLualua-language-server
.yaml, .ymlYAMLyaml-language-server
.jsonJSONvscode-json-languageserver

Integration with Existing Infrastructure

Relationship to audit-lsp

The audit-lsp command validates existing .lsp.json configurations. This skill provides:

  • Server recommendations that audit-lsp can validate against
  • Configuration patterns that audit-lsp checks for compliance
  • Troubleshooting guidance when audit-lsp finds issues

Relationship to setup-lsp

The setup-lsp command creates/updates .lsp.json configurations. This skill provides:

  • Server database for recommendations
  • Installation guides for chosen servers
  • Configuration templates for generation

Test Scenarios

These scenarios should activate this skill:

  1. Direct activation: "Use the lsp-management skill to recommend a Python LSP"
  2. Setup question: "How do I set up LSP for my TypeScript project?"
  3. Configuration question: "What should my.lsp.json look like for Go?"
  4. Troubleshooting: "My hover tooltips aren't working in Python files"
  5. Comparison: "Should I use pyright or pylsp for Python?"

Related Skills

SkillRelationship
docs-managementDelegates to for official Claude Code LSP documentation
plugin-developmentPlugins can provide LSP configurations via lspServers field

References

Detailed guides (load on-demand):

Official Documentation (via docs-management):

  • Query: "LSP configuration Claude Code"
  • Query: ".lsp.json format"

Version History

  • v1.0.0 (2026-01-11): Initial release

- LSP server recommendations for 12+ languages - Configuration pattern documentation - Installation guides per server - Troubleshooting guide - Integration with audit-lsp and setup-lsp


Last Updated

Date: 2026-01-11 Model: claude-opus-4-5-20251101

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

31.83%
按下载量换算33

Claude

32.25%
按下载量换算33

Cursor

17.52%
按下载量换算18

Gemini CLI

9.1%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills