lsp-inspect

Solid

Full code quality audit for a file, package, or directory. Supports batch mode (directory walk with --top ranking), comparison mode (--diff for branch-only issues), severity calibration by blast radius, fix suggestions, and confidence tiers. Applies a check taxonomy (dead symbols, silent failures, error wrapping, coverage gaps, test coverage, doc drift, unrecovered panics, context propagation, concurrency safety) using LSP-first strategies. Concurrency checks cover 25 languages across 4 families (goroutine, thread, async, actor). Produces a severity-tiered findings report. Language-agnostic.

AI & Automation 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-inspect Full code quality audit for a file, package, or directory. Combines LSP batch analysis (`blast_radius`) with targeted per-symbol checks and LLM-driven heuristic analysis. Produces a severity-tiered findings report with confidence tiers and fix suggestions. ## When to Use - Auditing a package before a release or major refactor - Finding dead code, untested exports, and error handling gaps in unfamiliar code - Reviewing code quality of an external codebase for contribution opportunities - Pre-merge quality gate on a set of changed files - Batch inspection of an entire directory with ranked output - Comparing branch changes against main to find newly introduced issues ## Input ``` /lsp-inspect <target> [--checks <type1>,<type2>] [--json] [--top N] [--diff] ``` **Target** can be: - A file path: `/lsp-inspect src/handlers/auth.go` - A directory/package: `/lsp-inspect internal/runnables/` - Multiple targets: `/lsp-inspect pkg/a.go pkg/b.go` **Directory detection:** When target is a directory, walk all `.go`, `.ts`, `.py` files in it recursively. Produce a ranked report: "Top N findings sorted by severity then blast radius." **Flags:** - `--checks <type1>,<type2>`: only run listed check types (default: all applicable) - `--json`: emit structured JSON instead of markdown - `--top N`: Maximum findings to report (default 20). Only applies to directory/batch mode. - `--diff`: Only inspect files changed vs main branch. Filter fi...

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