- name
SKILL.md
ไฟล์สกิลยังคงอยู่ในรีโพซิทอรีของผู้เผยแพร่
วางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add omagents/omagents --skill lsp-guide -a cursor -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add omagents/omagents --skill lsp-guide -a claude-code -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add omagents/omagents --skill lsp-guide -a codex -yวางคำสั่งที่คัดลอกไว้ในเทอร์มินัล คำสั่งจะติดตั้ง SKILL.md นี้ลงในเอเจนต์ตัวนั้น
npx skills add omagents/omagents --skill lsp-guide -a grok -yส่งข้อความที่คัดลอกไว้ในแชต Grok Bot แล้ว Bot จะดึง SKILL.md นี้จาก GitHub และเพิ่มลงในสกิลที่ Bot ทุกตัวของคุณใช้ร่วมกัน
Install this skill: https://github.com/omagents/omagents/tree/HEAD/packages/core/skills/lsp-guideจากผู้เผยแพร่
OpenCode has built-in LSP support. This skill helps you choose the right tool for each job.
LSP must be enabled in the project:
// opencode.json
{ "lsp": true }
The lsp tool is experimental. Set this environment variable:
export OPENCODE_EXPERIMENTAL_LSP_TOOL=true
What do you need?
│
├─ Definition / Reference / Hover / Symbol
│ └─ Use OpenCode's built-in `lsp` tool
│ Operations: goToDefinition, findReferences, hover,
│ documentSymbol, workspaceSymbol,
│ goToImplementation, incomingCalls, outgoingCalls
│
├─ Call path / Impact radius / Blast radius
│ └─ Use codegraph MCP: codegraph_codegraph_explore
│ Returns verbatim source + call paths between symbols
│
├─ Precise text search (regex)
│ └─ Use grep tool (ripgrep under the hood)
│
├─ File pattern matching
│ └─ Use glob tool
│
├─ AST pattern matching / structural rewrite
│ └─ Use ast-grep skill (if installed) or fallback to grep
│
└─ Diagnostics (errors/warnings)
└─ Use `lsp` tool with lsp_diagnostics
OR run the project's linter directly via bash
OpenCode auto-detects LSP servers by file extension:
Full list: https://opencode.ai/docs/lsp/
Guide agents to use the right code intelligence tool: OpenCode's native LSP, codegraph MCP, grep, or ast-grep. Trigger when the agent needs code navigation, definition lookup, reference finding, renam
---name: lsp-guidedescription: Guide agents to use the right code intelligence tool: OpenCode's native LSP, codegraph MCP, grep, or ast-grep…---# packages/core/skills/lsp-guide/SKILL.mdภาพรวม
Guide agents to use the right code intelligence tool: OpenCode's native LSP, codegraph MCP, grep, or ast-grep. Trigger when the agent needs code navigation, definition lookup, reference finding, renaming, or diagnostics.
FAQ
ดาวน์โหลด packages/core/skills/lsp-guide/SKILL.md จากผู้เผยแพร่ หรือคัดลอกพาธแล้วเปิดรีโพซิทอรี PlugMCP แสดงรายการสกิลเท่านั้น ไม่ได้โฮสต์ไฟล์
ผู้เผยแพร่เก็บไว้ที่ https://github.com/omagents/omagents
Claude, Cursor, Codex และ Grok Build อ่าน SKILL.md ที่คุณเพิ่มจากรีโพซิทอรีของผู้เผยแพร่ได้ ส่วน Grok Bot จะติดตั้งให้เมื่อคุณส่งลิงก์โฟลเดอร์ GitHub ของสกิลในแชต