lsp-verify

Solid

Full three-layer verification after any change — LSP diagnostics + compiler build + test suite, ranked by severity. Use after completing any edit, refactor, or feature to confirm nothing is broken before committing.

Code & Development 56 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
58
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> Requires the agent-lsp MCP server. # lsp-verify: Three-Layer Verification ## When to Use Run this skill after any significant change to verify correctness at every level: - After editing source files (logic changes, refactors, new functions) - After merging or rebasing branches - After dependency updates or configuration changes - Before committing or pushing code ## Input - `workspace_dir` (required): absolute path to the workspace root (e.g. `/Users/you/code/myproject`) - `changed_files` (optional): list of files you edited — used for targeted diagnostics ## Execution ### Pre-step: Test correlation (when `changed_files` is provided) Before running the three layers, call `get_tests_for_file` for each changed source file to build a source → test file map: ``` mcp__lsp__get_tests_for_file({ "file_path": "<changed/source/file>" }) ``` Returns the test files that correspond to each source file. Store this map — it is used in Layer 3 to focus failure analysis. If `changed_files` is unknown, skip this step. **Run all three layers in parallel** — they are independent and do not need to be sequenced. Issue all three calls in the same message to minimize wall time. ### Layer 1: LSP Diagnostics Call `mcp__lsp__get_diagnostics` with `file_path` set to each changed file. `get_diagnostics` takes a file path, not a workspace directory. Note: requires LSP to be initialized. If not yet running, call `start_lsp` with the workspace root first. ``` mcp__lsp__get_diagnostics({...

Details

Author
blackwell-systems
Repository
blackwell-systems/agent-lsp
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category