Saltar al contenido
Skillpedia
Programación general5,2 mil · #15021

lsp-maintain

Qué hace

Revisa qué servidores de lenguaje tiene configurados Kode y busca el plugin o los ajustes que deberían agregar el que falta. Es para quienes usan Kode y no ven ayuda de código para su lenguaje.

Cuándo usarla

  • ✓Cuando faltan sugerencias o búsquedas de código en Kode.
  • ✓Cuando el servidor de lenguaje está desactivado y quieres que vuelva a funcionar.
  • ✓Cuando quieres agregar un servidor de lenguaje para un lenguaje de programación nuevo.

Link de la skill

https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/lsp-maintain/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/lsp-maintain/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Kode no da sugerencias de código para mis archivos de Python. ¿Puedes averiguar por qué y arreglarlo?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente revisa la lista de servidores configurados, rastrea cada uno hasta el plugin que lo provee y hace un cambio pequeño mediante los comandos de Kode. Luego vuelve a revisar la lista de servidores.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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) or Edit to 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)

  1. Ask for the user goal (languages, monorepo vs single package, whether they already use plugins).
  2. Run /lsp via SlashCommand and read the “Configured servers” list.
  3. 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 SlashCommand to manage plugins (/plugin ...) and re-check with /lsp.
  • Use Edit to update the plugin’s .lsp.json or manifest lspServers record/file.

Step 4 — Verify

  1. Re-run /lsp and confirm servers are resolved.
  2. Attempt one LSP tool call (e.g. goToDefinition) on a file extension that is mapped in extensionToLanguage.

Notes for LSP server config authoring

  • command must be an executable (avoid embedding arguments; use args).
  • Kode runs servers using stdio pipes.
  • Do not use restartOnCrash, startupTimeout, or shutdownTimeout in the config (Kode treats them as unsupported).
Preguntas frecuentes

¿Me dará menús de instalación para ejecutar?

No. Habilita un plugin que provee el servidor o agrega un archivo de configuración a uno.

¿Qué pasa si no hay servidores configurados?

La skill concluye que no hay ningún servidor de lenguaje configurado y agrega uno mediante un plugin, en lugar de adivinar.

¿Cómo sé que la solución funcionó?

La skill vuelve a revisar la lista de servidores después del cambio.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
5,2 mil
Posición en el ranking
#15021
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas