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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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) 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).
अक्सर पूछे जाने वाले सवाल
क्या यह मुझे इंस्टॉल मेनू चलाने के लिए देती है?
नहीं। यह सर्वर देने वाला प्लगइन चालू करती है, या किसी कॉन्फ़िग फ़ाइल में एक जोड़ती है।
अगर कोई सर्वर कॉन्फ़िगर ही न हो तो?
स्किल निष्कर्ष निकालती है कि कोई लैंग्वेज सर्वर सेट नहीं है, और अंदाज़ा लगाने के बजाय प्लगइन के ज़रिए एक जोड़ती है।
मुझे कैसे पता चलेगा कि सुधार काम आया?
स्किल बदलाव के बाद सर्वरों की सूची दोबारा जाँचती है।
जानकारी
लेखक का मूल विवरण
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
कमेंट
- …
इस repository की और skills
capabilities-manage
5.2kयह आपके एजेंट को सादे अनुरोध से Kode CLI की सुविधाएँ, जैसे लैंग्वेज सर्वर, स्टेटस लाइन और प्लगइन, चालू, बंद या सही हालत में लाने में मदद करती है।
doc-coauthoring
5.2kयह आपके एजेंट को बिखरे नोट्स से साफ़ प्रस्ताव, स्पेक या निर्णय-दस्तावेज़ लिखने में मार्गदर्शन देती है, फिर एक नए पाठक से उसकी जाँच करवाती है।
mcp-builder
5.2kयह आपके एजेंट को बाहरी सेवा के लिए MCP सर्वर बनाने में मार्गदर्शन देती है, जो AI को साफ़ नाम वाले और स्पष्ट कार्य देता है, TypeScript या Python में।
permissions-debug
5.2kयह आपके एजेंट को पता लगाने में मदद करती है कि Kode किसी टूल को बार-बार क्यों रोकता या पूछता है, और अनुमति सेटिंग को छोटे व सुरक्षित तरीके से ठीक करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।