Skip to main content

lsp

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

Aller à l'installation

Informations de source

Dépôt
tomevault-io/tomes
Dernière activité de la source
23 juillet 2026 à 21:48
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
lsp
description
Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.
metadata
{"author":"code-yeongyu"}
# Codex LSP Call `lsp` MCP tools through the tool interface; `lsp.*`/`mcp__lsp__*` are tool-call names, not shell commands. ## Tools - `lsp.status`: list configured, installed, missing, disabled, and active language servers. - `lsp.diagnostics`: check one file or directory for LSP diagnostics. Prefer `severity: "error"` after edits. - `lsp.goto_definition`: locate a symbol definition from file, line, and character. - `lsp.find_references`: find usages of a symbol across the workspace. - `lsp.symbols`: inspect document symbols or search workspace symbols. - `lsp.prepare_rename`: check whether a rename is valid at a position. - `lsp.rename`: apply a language-server workspace edit for a rename. ## Config Project config lives at `.codex/lsp-client.json`; user config lives at `~/.codex/lsp-client.json`. ```json { "lsp": { "typescript": { "command": ["typescript-language-server", "--stdio"], "extensions": [".ts", ".tsx", ".js", ".jsx"] } } } ``` Use `lsp.status` first when diagnostics report a missing language server. --- > Source: [code-yeongyu/lazycodex](https://github.com/code-yeongyu/lazycodex) — distributed by [TomeVault](https://tomevault.io). <!-- tomevault:4.0:skill_md:2026-07-09 -->
Voir sur GitHub