/copilot-customization-authoring:lsp-setupfrom copilot-customization-authoring
Installs and configures Language Server Protocol servers for GitHub Copilot CLI, enabling go-to-definition, find-references, hover, and type information. Detects language, OS, and scope, then merges lspServers config.
Ships in copilot-customization-authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Detect the target programming language, operating system, server package, and configuration scope; install the correct LSP binary; then merge a valid lspServers JSON entry for GitHub Copilot CLI.
/lsp show a running server."references/lsp-servers.md for known server binaries, install commands, and config snippets.command must be on $PATH or use an absolute path.ask_user, use ask_user with choices for language and scope selection; in non-interactive environments, infer safely from repository files and document the assumption.uname -s, or Windows indicators such as $env:OS / %OS%.references/lsp-servers.md and select the known LSP server, install command, binary, arguments, extensions, and language IDs.~/.copilot/lsp-config.json, repo-level lsp.json, or repo-level .github/lsp.json.lspServers entries.which <binary> or where.exe <binary>./exit, restart copilot, run /lsp, and try hover, go-to-definition, or find-references.This is a UTILITY SKILL for GitHub Copilot CLI only; do not use it for IDE/editor configuration. Most server entries use the literal argument "--stdio"; verify binaries with which <binary> on Unix-like systems and where.exe <binary> on Windows; the Windows command name is where.exe.
| Scope | Path | Precedence | Use when |
|---|---|---|---|
| User-level | ~/.copilot/lsp-config.json | Lower than repo-level | The server should be available across repositories. |
| Repo-level root | lsp.json | Higher than user-level | The repository should carry its own CLI LSP configuration. |
| Repo-level GitHub | .github/lsp.json | Higher than user-level | The repository keeps tool configuration under .github/. |
{
"lspServers": {
"<server-key>": {
"command": "<binary>",
"args": ["--stdio"],
"fileExtensions": {
".<ext>": "<languageId>",
".<ext2>": "<languageId>"
}
}
}
}
| Key | Rule |
|---|---|
lspServers | Multiple servers can coexist; never clobber unrelated entries. |
<server-key> | Stable name for the language server, usually language or binary oriented. |
command | Binary name on $PATH or absolute path. |
args | Usually includes --stdio for standard I/O transport. |
fileExtensions | Map each extension with leading dot to a valid Language ID. |
| Situation | Action |
|---|---|
Language appears in references/lsp-servers.md | Use the documented server, install command, and config snippet. |
| Package manager missing, such as no Homebrew on macOS | Suggest an alternative install method from the reference file. |
| Language is not listed | Search the web for <language> LSP server, then guide manual configuration with command, args, and fileExtensions. |
| Existing config is invalid JSON | Stop before writing; report the parse error and required repair. |
| Binary not found after install | Check shell path, package-manager bin directory, and absolute binary path. |
/exit and relaunch copilot before the server is loaded.lsp.json or .github/lsp.json takes precedence over ~/.copilot/lsp-config.json.lspServers; preserve existing entries and formatting as much as possible.| Resource | Use when | Contains |
|---|---|---|
references/lsp-servers.md | Always during setup | Known language servers, install commands, config snippets, binary names, and alternatives. |
## LSP setup result — <language>
**Status:** configured | partially configured | blocked
**Scope:** user-level | repo-level root | repo-level .github
**Config file:** `<~/.copilot/lsp-config.json | lsp.json | .github/lsp.json>`
**Server key:** `<server-key>`
**Command:** `<binary>`
### Verification
- OS detected: `<uname -s | Windows>`
- Binary check: `which <binary>` or `where.exe <binary>` -> pass | fail
- JSON valid: pass | fail
- Existing entries preserved: yes | no
### Next user steps
1. Type `/exit` to quit GitHub Copilot CLI.
2. Relaunch `copilot` in a project with `<language>` files.
3. Run `/lsp` to check server status.
4. Try go-to-definition, find-references, hover, or type info.
references/lsp-servers.md was read before selecting a known server.~/.copilot/lsp-config.json, lsp.json, and .github/lsp.json.lspServers entries.command, args, and fileExtensions are valid for the selected server.which <binary> or where.exe <binary>./exit, relaunch copilot, run /lsp, and test code intelligence.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin copilot-customization-authoring21 skills in this plugin
/agent-skill-stackFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a multi-step workflow, asks which Skills fit a project, needs an installed-Skill audit or conflict check, has low Skill recall, wants indirect helpers such as humanizers or compliance checks, or wants a project-specific Skill Stack with controlled installation. Search local Skills, registries, GitHub, and OpenCLI; compare adoption, verified fit, safety, and overlap. Do not use for locating one known or common Skill; use the generic find-skills workflow./ai-readyHelp users install and use John Papa's ai-ready skill as the up-to-date source for making repositories AI-ready with AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and stack-specific guidance. Use when the user asks to make a repo ai-ready, set up AI config, prepare for AI contributions, or install ai-ready./boost-promptRefine a rough task request into a high-quality markdown prompt by clarifying scope, deliverables, constraints, context, and success criteria, then copy the final prompt to the clipboard with Joyride. Use when the user asks to improve, boost, rewrite, or polish a prompt without writing code. Requires Joyride./cli-masteryInteractive training for the GitHub Copilot CLI through guided lessons, quizzes, scenario challenges, a final exam, and on-demand reference for slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Use when the user says "cliexpert", asks to learn the Copilot CLI, wants a quiz, scenario, challenge, cheat sheet, or final exam./copilot-cli-quickstartUse this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and Non-Developer tracks, plus on-demand Q&A. Just say "start tutorial" or ask a question! Note: This skill targets GitHub Copilot CLI specifically and uses CLI-specific tools (ask_user, sql, fetch_copilot_cli_documentation)./copilot-primitive-authoringAuthor current GitHub Copilot agents, instructions, and VS Code prompts in this repository. Use when asked to create or update a known primitive type with repository governance, dated evidence, canonical sources, templates, synchronization, and type-specific validation.Other plugins' skills for the same job