मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग5.2k · #15021

lsp-maintain

यह क्या करती है

यह जाँचती है कि Kode में कौन-से लैंग्वेज सर्वर कॉन्फ़िगर हैं, और जो सर्वर गायब है उसे देने वाला प्लगइन या सेटिंग खोजती है। यह उन Kode उपयोगकर्ताओं के लिए है जिनकी भाषा में कोड मदद नहीं दिखती।

कब इस्तेमाल करें

  • ✓जब Kode में कोड सुझाव या खोज काम नहीं कर रही।
  • ✓जब लैंग्वेज सर्वर बंद है और आप उसे फिर से चालू करना चाहते हैं।
  • ✓जब आप किसी नई प्रोग्रामिंग भाषा के लिए लैंग्वेज सर्वर जोड़ना चाहते हैं।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/lsp-maintain/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी Python फ़ाइलों में Kode कोई कोड सुझाव नहीं दे रहा। क्या आप पता लगाकर इसे ठीक कर सकते हैं?”

हर हफ़्ते 5 नई skills, 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) 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).
अक्सर पूछे जाने वाले सवाल

क्या यह मुझे इंस्टॉल मेनू चलाने के लिए देती है?

नहीं। यह सर्वर देने वाला प्लगइन चालू करती है, या किसी कॉन्फ़िग फ़ाइल में एक जोड़ती है।

अगर कोई सर्वर कॉन्फ़िगर ही न हो तो?

स्किल निष्कर्ष निकालती है कि कोई लैंग्वेज सर्वर सेट नहीं है, और अंदाज़ा लगाने के बजाय प्लगइन के ज़रिए एक जोड़ती है।

मुझे कैसे पता चलेगा कि सुधार काम आया?

स्किल बदलाव के बाद सर्वरों की सूची दोबारा जाँचती है।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

capabilities-manage

5.2k

यह आपके एजेंट को सादे अनुरोध से Kode CLI की सुविधाएँ, जैसे लैंग्वेज सर्वर, स्टेटस लाइन और प्लगइन, चालू, बंद या सही हालत में लाने में मदद करती है।

AI और एजेंटएजेंट

doc-coauthoring

5.2k

यह आपके एजेंट को बिखरे नोट्स से साफ़ प्रस्ताव, स्पेक या निर्णय-दस्तावेज़ लिखने में मार्गदर्शन देती है, फिर एक नए पाठक से उसकी जाँच करवाती है।

लेखन और डॉक्यूमेंटलेखन

mcp-builder

5.2k

यह आपके एजेंट को बाहरी सेवा के लिए MCP सर्वर बनाने में मार्गदर्शन देती है, जो AI को साफ़ नाम वाले और स्पष्ट कार्य देता है, TypeScript या Python में।

AI और एजेंटकनेक्टर (MCP)

permissions-debug

5.2k

यह आपके एजेंट को पता लगाने में मदद करती है कि Kode किसी टूल को बार-बार क्यों रोकता या पूछता है, और अनुमति सेटिंग को छोटे व सुरक्षित तरीके से ठीक करती है।

AI और एजेंटएजेंट

मिलती-जुलती skills