Skip to content
Back to skills

Lsp Local Setup

ASecurity

无需下载扩展,配置或排查本地语言智能(LSP)

  • 52 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 2, 2026
ai-agentsjavascripttypescriptpythonjavac++node

Works with

  • vscode
  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add wangzhe04/ruyi-workbench-oss --skill lsp-local-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lsp Local Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lsp Local Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wangzhe04-lsp-local-setup/badge)](https://www.skillsdirectory.com/skills/wangzhe04-lsp-local-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 本地语言智能
description: 无需下载扩展,配置或排查本地语言智能(LSP)
---

# LSP Local Setup

Use this skill to configure or troubleshoot local language intelligence without downloading extensions.

Everything below must already be installed offline (project dependencies, a bundled toolchain, or the offline package). Never run npm/pip installs during setup; report what is missing instead.

Workflow:

1. Detect project languages with `project_snapshot` and `dependency_inventory`.
2. Look for already-installed language servers under `node_modules\.bin`, `.venv\Scripts`, `vendor`, `tools`, or configured IDE paths. On Windows, npm binaries are the `.cmd` shims (e.g. `node_modules\.bin\typescript-language-server.cmd`).
3. Prefer local project binaries over global binaries.
4. Verify a server starts before configuring it: run it (or its companion CLI) with `--version`, e.g. `typescript-language-server --version`, `pyright --version`.
5. Write editor config only when the path is known and stays valid inside the offline package; prefer project-relative paths. Example for VS Code, TypeScript (built-in support, no extension): `.vscode/settings.json` containing `{ "typescript.tsdk": "node_modules/typescript/lib" }`, then pick "Use Workspace Version" once. For a generic LSP client (Neovim, Helix, ...), set the server command to the local binary plus `--stdio`.
6. Report what was found, what config was written where, and what is still missing.

Language servers:

- TypeScript/JavaScript: `typescript-language-server --stdio`, which wraps the project's `tsserver`. `tsserver` alone speaks its own protocol, not LSP.
- Python: `pyright-langserver --stdio` from the npm `pyright` package (the PyPI `pyright` wrapper downloads that npm package on first run, so offline it only works if that download was done in advance); `pylsp` or `ruff server` only if already installed.
- C/C++: `clangd` from a bundled LLVM toolchain.

Do not install extensions from the internet during setup.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.