lsp-maintain
できること
Kodeに設定されている言語サーバーを確認し、不足しているサーバーを提供するプラグインや設定を見つけます。使っている言語でコードの支援が表示されない、Kodeの利用者が対象です。
使う場面
- ✓Kodeでコードの候補や参照が表示されないとき。
- ✓言語サーバーが無効になっていて、再び動くようにしたいとき。
- ✓新しいプログラミング言語のために、言語サーバーを追加したいとき。
スキルのリンク
https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/lsp-maintain/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“PythonファイルでKodeのコード候補が出ません。原因を調べて直してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは設定済みのサーバーの一覧を確認し、各サーバーを提供するプラグインまでたどります。Kodeのコマンドで小さな変更を加え、サーバーの一覧を再確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
LSP Maintain (Reference-aligned)
Non-negotiables (policy)
- Do not respond with menu-style instructions like “run
/lsp-maintain install” or “run/lsp-maintain doctor”. - Prefer executing capability changes through
SlashCommand(e.g./plugin ...,/lsp) orEditto configuration files. - Keep the conversation focused: only load deeper resources if absolutely necessary.
What “LSP enabled” means in Kode
Kode’s LSP tool is enabled only when there is at least one resolved LSP server and at least one is not in error.
Step 1 — Establish facts (no guessing)
- Ask for the user goal (languages, monorepo vs single package, whether they already use plugins).
- Run
/lspviaSlashCommandand read the “Configured servers” list. - If there are zero servers, conclude: no LSP servers are configured (do not speculate about missing binaries).
Step 2 — Identify configuration source (plugin-only)
Kode resolves LSP servers from enabled plugins:
- Plugin root
.lsp.json(JSON, top-level record) - Plugin manifest field
lspServers(inline record or relative file path within plugin root)
If the user needs a new server, the correct path is: enable a plugin that provides it, or add/update a plugin’s .lsp.json.
Step 3 — Apply changes through agent CLI
Prefer:
- Use
SlashCommandto manage plugins (/plugin ...) and re-check with/lsp. - Use
Editto update the plugin’s.lsp.jsonor manifestlspServersrecord/file.
Step 4 — Verify
- Re-run
/lspand confirm servers are resolved. - Attempt one
LSPtool call (e.g.goToDefinition) on a file extension that is mapped inextensionToLanguage.
Notes for LSP server config authoring
commandmust be an executable (avoid embedding arguments; useargs).- Kode runs servers using stdio pipes.
- Do not use
restartOnCrash,startupTimeout, orshutdownTimeoutin the config (Kode treats them as unsupported).
よくある質問
インストールのメニューを操作する必要がありますか?
いいえ。エージェントは、サーバーを提供するプラグインを有効にするか、設定ファイルを1つ追加します。
サーバーが1つも設定されていない場合はどうなりますか?
スキルは、言語サーバーが設定されていないと判断し、推測せずにプラグインを通じて1つ追加します。
修正がうまくいったか、どう確認しますか?
変更の後、サーバーの一覧を再確認します。
詳細
作者による元の説明
Diagnose and align Kode LSP behavior with the reference CLI (plugin-based .lsp.json, stdio-only, no install menus). Use when LSP results are missing, LSP is disabled, or you need to configure plugin LSP servers without telling the user to run menu-style install commands.
repo: shareAI-lab/Kode-CLI
人気
- GitHubのスター
- 5.2k
- ランキング
- #15021
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
capabilities-manage
5.2kエージェントが、言語サーバー、ステータスライン、プラグインなどのKode CLIの機能を、平易な依頼でオン、オフ、または動く状態にできるよう支援します。
doc-coauthoring
5.2kエージェントが、雑然としたメモから明確な提案書、仕様書、意思決定の文書を作れるよう、段階を追って支援します。新しい読み手の視点で検証もします。
mcp-builder
5.2kエージェントが、TypeScriptかPythonで、外部サービスのためのMCPサーバーを作れるよう支援します。AIが使いやすい、明確に名付けられた操作を提供します。
permissions-debug
5.2kエージェントが、Kodeがなぜツールをブロックしたり許可を求め続けたりするのかを調べ、権限の設定を安全に小さく直せるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。