Skip to main content
PROMPT SPACE
L
FreeUniversal

lsp-setup-assistant

Detect, plan, and configure Language Server Protocol (LSP) support for any project with safety-first verification.

skill install https://www.promptspace.in/skills/lsp-setup-assistant

Automate Your Development Environment Setup

The LSP Setup Assistant solves the "blank screen" problem in new or unconfigured repositories. Instead of manually hunting for the right language server, managing conflicting versions, or breaking your package.json, this skill provides a safe, guided path to full code intelligence.

What it does

This skill acts as an intelligent systems engineer for your workspace. It scans your project structure to identify the technology stack, checks for existing configurations, and formulates a surgical plan to enable Language Server Protocol (LSP) features like autocompletion, go-to-definition, and real-time diagnostics.

  • Intelligent Detection: Identifies Python, TypeScript, Go, Rust, C++, Java, and more by analyzing manifests and lockfiles.
  • Safety-First Execution: Generates a detailed "Setup Plan" for your approval before a single file is touched.
  • Standard-Compliant: Configures industry-standard servers like pyright, rust-analyzer, and gopls.
  • Conflict Resolution: Detects competing servers to prevent performance degredation or duplicate errors.

Why use this skill?

Prompting an AI to "fix my LSP" often leads to hallucinated config paths or global installs that pollute your machine. This skill enforces project-scoped isolation and verification gates. It doesn't just run an install command; it verifies that the binary exists and that diagnostics are actually firing before finishing the task.

Use cases

  • Enable code intelligence in a legacy repo without existing config
  • Standardize LSP versions across a team using project-local dependencies
  • Troubleshoot and fix broken go-to-definition or diagnostic features
  • Configure framework-specific servers for Vue, Svelte, or Astro projects

Example

Prompt

Setup LSP support for this repo so I can get autocompletion and type checking.

Output

Plan: Install 'pyright' via npm (devDependency).
Changes: Update package.json, create pyrightconfig.json.
Execution: 'npm install --save-dev pyright' -> Success.
Verification: Running 'npx pyright' found 12 type errors in /src.
Status: Ready. Please restart your editor language client.

Frequently asked questions

The assistant scans your project files (like package.json or go.mod) to identify your stack, then creates a non-destructive setup plan for your approval before installing specific language servers.