From claude-ecosystem
Audits LSP server configurations (.lsp.json files and plugin manifests) in Claude Code projects/plugins for quality, compliance, and validity. Use for plugin development or code intelligence troubleshooting.
npx claudepluginhub melodic-software/claude-code-plugins --plugin claude-ecosystemThis skill is limited to using the following tools:
Audit Claude Code LSP (Language Server Protocol) server configurations for quality and compliance.
Recommends LSP servers by language, configures .lsp.json files, provides installation guides, and troubleshoots issues in Claude Code.
Guides integration of LSP servers into Claude Code plugins via plugin.json or .lsp.json for code intelligence like go-to-definition, references, hovers, and completions.
Installs and configures LSP servers for GitHub Copilot CLI, enabling go-to-definition, find-references, hover, and type info for any programming language. Detects OS and generates user/repo JSON configs.
Share bugs, ideas, or general feedback.
Audit Claude Code LSP (Language Server Protocol) server configurations for quality and compliance.
Before auditing, initialize the environment:
.claude/temp/) exists.The plugin-development skill provides authoritative validation guidance (auto-loaded when this command runs).
.lsp.json file structure and validitylspServers references| Argument | Description |
|---|---|
| (none) | Audit all discoverable LSP configurations |
--force | Audit regardless of modification status |
--skip-validation | Skip finding validation (faster, but may include false positives) |
Search for .lsp.json files in:
.lsp.json)plugins/*/.lsp.json)Also check plugin.json manifests for lspServers field references.
Build a list of discovered LSP configurations with their scope (project, plugin, or user) and full path.
If no LSP configurations are found, report this and provide guidance on how to create one.
Check if the --force flag is present in the command arguments. Build the audit queue based on discovered configurations and the force flag.
Display audit mode (SMART or FORCE), configurations discovered, and list each with scope and last modified date.
For each LSP configuration, spawn the plugin-component-auditor subagent with the following context:
.lsp.json fileRun subagents in parallel when multiple configurations exist.
Subagents write findings to .claude/temp/ as both JSON (for recovery/aggregation) and markdown (for human review). The main conversation thread collects results and updates audit logs using its Write/Edit tools.
Unless --skip-validation flag is present:
audit-finding-validator agent with:
project_root: The captured project root pathaudit_type: "lsp"audit_files: List of .claude/temp/audit-*-lsp-*.json file paths.claude/temp/audit-filtered-findings.jsonIf --skip-validation flag is present:
Report total configurations audited, results by scope, and details table. List configuration or server issues with remediation steps.
Include validation statistics (if validation was performed):
LSP configurations must specify valid server commands, proper language associations, and correct initialization options.
| Location | Purpose |
|---|---|
.lsp.json (project root) | Project-specific LSP servers |
plugins/*/.lsp.json | Plugin-provided LSP servers |
Plugin manifest lspServers | Reference to LSP configurations |
All audit results are written to .claude/audit/lsp.md.
Use /audit-log lsp to view current audit status.
User: /audit-lsp
Claude: Discovering LSP configurations...
## Audit Plan
**Mode**: SMART
**Configurations discovered**: 2
1. [project] .lsp.json
2. [plugin] plugins/typescript/.lsp.json
[Spawns plugin-component-auditor subagents]
## Audit Complete
| Scope | Config | Result | Score |
| --- | --- | --- | --- |
| project | .lsp.json | PASS | 100/100 |
| plugin | typescript/.lsp.json | PASS | 95/100 |
User: /audit-lsp --force
Claude: Auditing all LSP configurations (force mode)...