IntelliSense Designed for Coding Agent
npx skills add https://github.com/lsp-client/lsp-skill --skill lsp-code-analysisInstallieren Sie diesen Skill über die CLI und beginnen Sie mit der Verwendung des SKILL.md-Workflows in Ihrem Arbeitsbereich.
IntelliSense Designed for Coding Agent
Check our website!
This agent skill equips AI agents with the Language Server Agent Protocol (LSAP), enabling them to navigate, understand, and analyze codebases with the same fidelity as a human developer using VS Code.
😎 Copy the following prompt to your agent and let it do all the heavy lifting for you:
Please follow these steps to install this skill:
1. Identify what AI agent tool you are (e.g., Claude Code, Gemini, Codex, OpenCode, etc.).
2. Determine the correct installation directory for your tool:
- Claude Code: `~/.claude/skills/`
- Gemini: `~/.gemini/skills/`
- Codex: `~/.codex/skills/`
- OpenCode: `~/.config/opencode/skill/`
- Other tools:
1. Search online to determine if your tool supports agent skills from `agentskills.io`.
2. If supported, check your tool's documentation to get the skill directory.
3. Download the latest release and unzip it into that directory.
For example, if you are Claude Code:
```bash
# Create directory if it doesn't exist
mkdir -p ~/.claude/skills/lsp-code-analysis
# Download and unzip the latest release
TMP_DIR=$(mktemp -d)
curl -sSL https://github.com/lsp-client/lsp-skill/releases/latest/download/lsp-code-analysis.zip -o "$TMP_DIR/lsp-code-analysis.zip"
unzip -o "$TMP_DIR/lsp-code-analysis.zip" -d ~/.claude/skills/
rm -rf "$TMP_DIR"
```
You can also use skills for easy installation:
npx skills add lsp-client/lsp-skill
The lsp-code-analysis skill provides compiler-accurate code understanding that surpasses text-based search:
This skill wraps the lsp command line tool, which acts as a bridge between the agent and standard Language Servers (like basedpyright, ``typescript-language-server, rust-analyzer`).
When an agent invokes this skill:
process function") into precise file coordinates using LSAP's anchoring mechanism.This skill currently provides out-of-the-box support for the following languages:
| Language | Language Server |
|---|---|
| Python | basedpyright |
| Rust | rust-analyzer |
| TypeScript / JavaScript | typescript-language-server |
| Go | gopls |
| Deno | deno lsp |
| Java | jdtls |
More language support coming very very soon!
lsp-cli settings and environment variables.This skill uses a modular best practices system that can be extended for specific languages, frameworks, or workflows.
skills/lsp-code-analysis/references/
├── bp_frontend.md # Frontend development workflows
├── bp_backend.md # Backend development workflows
└── bp_<category>_<scenario>.md # Custom domain-specific guides
Add your own:
just new-bp python django # -> bp_python_django.md
just new-bp modify api-migration # -> bp_modify_api-migration.md
See CONTRIBUTING.md for details.
This Agent Skill features a three-tier extensibility design that ensures its capabilities will continue to grow:
The underlying lsp-client library continuously expands support for more language servers and LSP protocol capabilities.
The integrated LSP CLI implements the LSAP (Language Server Agent Protocol) to provide high-level, agent-optimized capabilities:
This skill adopts a modular Best Practice system, enabling community contributions of domain-specific workflows:
These three layers of extensibility work together: the foundation provides raw tool materials, composed capabilities design efficient tool combinations, and best practices apply these tools to concrete scenarios. As all three continue to evolve, this skill will become increasingly powerful and user-friendly.
This repository is a self-contained Agent Skill that bundles: