lsp-diagnostics
Use when checking language-server diagnostics after edits, investigating type or syntax failures, or assessing whether an LSP result supports a clean-code claim.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-01
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- lsp-diagnostics
- description
- Use when checking language-server diagnostics after edits, investigating type or syntax failures, or assessing whether an LSP result supports a clean-code claim.
03 SKILL.md 正文
Diagnostic verification
Call lsp_get_diagnostics with the current task's explicit workspace_root and source file_path. Preserve the returned evidence.
pendingorevicted: analysis is unavailable, even with an empty list.indexing_in_progressorpush_notifications_degraded: coverage may be incomplete.push_cache: published results may lag an edit.- Failed pull, unsupported capability, timeout or truncation: report the limitation; do not manufacture an empty successful result.
After an edit, recheck until the expected diagnostic change is observed. Never infer freshness just because availability says published. If freshness cannot be established, state that and use the native project checks. LSP diagnostics are file-level feedback, not a complete project gate.
Use the project's configured type checker, lint, build and tests before declaring completion. For Python, Basedpyright supplies the MCP diagnostic route; Ruff project checks are a separate gate. Keep intentional errors in acceptance fixtures to prove the server is responding.
Report checked files, diagnostic state, actionable failures and checks not run. Do not read real secret files or dump logs that could expose credentials or source secrets. Verification scope separates protocol tests, real backends, actual Codex behavior and remote CI.
04 同仓库更多 Skills
example-workflow
Use when the user needs the specific workflow supplied by this plugin.
svelte-docs-and-autofixer
Use when a Svelte or SvelteKit task needs current official API documentation, a Svelte compiler check, autofixer feedback, or a Svelte playground link.
svelte-component-editor
Use when creating, editing, fixing, or migrating Svelte components, Svelte modules, SvelteKit routes, forms, loads, hooks, or related integration code.
svelte-code-navigation
Use when locating Svelte symbol definitions or references, tracing callers, checking types or diagnostics, or assessing a Svelte rename or deletion.
svelte-code-auditor
Use when reviewing or auditing Svelte or SvelteKit code, a pull request, a migration, or framework-related security and accessibility concerns without editing source files.
svelte-best-practices
Use when implementing, reviewing, or migrating Svelte components, SvelteKit routes, Svelte CLI setup, Astro Svelte islands, or Tailwind styling in a Svelte project.