From Napkin
Installs and configures LSP servers for Copilot CLI to enable go-to-definition, find-references, hover, and type info for any programming language.
How this skill is triggered — by the user, by Claude, or both
Slash command
/napkin:lsp-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**UTILITY SKILL** — installs and configures Language Server Protocol servers for Copilot CLI.
UTILITY SKILL — installs and configures Language Server Protocol servers for Copilot CLI. USE FOR: "setup LSP", "install language server", "configure LSP for Java", "add TypeScript LSP", "enable code intelligence", "I need go-to-definition", "find references not working", "need better code understanding" DO NOT USE FOR: general coding tasks, IDE/editor LSP configuration, non-Copilot-CLI setups
ask_user to ask which programming language(s) the user wants LSP support foruname -s (or check for Windows via $env:OS / %OS%) to determine macOS, Linux, or Windowsreferences/lsp-servers.md for known servers, install commands, and config snippetsask_user to ask whether the config should be user-level (~/.copilot/lsp-config.json) or repo-level (lsp.json at the repo root or .github/lsp.json)~/.copilot/lsp-config.json for user-level; lsp.json or .github/lsp.json for repo-level). If a repo-level config already exists, keep using that location; otherwise ask the user which repo-level location they prefer. Create the file if missing and preserve existing entries.$PATH and the config file is valid JSONCopilot CLI reads LSP configuration from user-level or repo-level locations, and repo-level config takes precedence over user-level config:
~/.copilot/lsp-config.jsonlsp.json (repo root) or .github/lsp.jsonThe JSON structure:
{
"lspServers": {
"<server-key>": {
"command": "<binary>",
"args": ["--stdio"],
"fileExtensions": {
".<ext>": "<languageId>",
".<ext2>": "<languageId>"
}
}
}
}
command is the binary name (must be on $PATH) or an absolute path.args almost always includes "--stdio" to use standard I/O transport.fileExtensions maps each file extension (with leading dot) to a Language ID.lspServers.ask_user with choices when asking the user to pick a language or scope.references/lsp-servers.md, search the web for " LSP server" and guide the user through manual configuration.which <binary> (or where.exe on Windows) to confirm the binary is accessible.After setup, tell the user:
/exit to quit Copilot CLI — this is required so the new LSP configuration is loaded on next launchcopilot in a project with files of the configured language/lsp to check the server status3plugins reuse this skill
First indexed Jun 6, 2026
npx claudepluginhub ani1797/forge --plugin copilot-sdkInstalls and configures LSP servers for Claude Code to enable go-to-definition, find-references, rename-symbol, and real-time diagnostics in Python, TypeScript/JS, Go, Rust, Java, C#, PHP, Kotlin, Ruby, and more.
Detects LSP servers for 18 languages including TypeScript, Python, Go, Rust, Java; installs missing ones via npm, pip, go; integrates with Claude Code for real-time diagnostics during /cc-setup phase 7 or project setup.
Performs precise dependency analysis using LSP tools: find-references, call-hierarchy, go-to-definition. Builds dependency graphs, quantifies coupling (fan-in/fan-out), and calculates blast radius for code changes.