liuyanghejerry/clausura/code-review-with-lsp

Claude Code and agent skill by liuyanghejerry/clausura

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Code review with LSP-powered code intelligence. Uses MCP tools (diagnostics, hover, references, definition, symbols) for semantic code understanding, not just text grep.

Install

npx vskill@latest install liuyanghejerry/clausura/code-review-with-lsp

SKILL.md

Code Review with LSP

This skill works with mcp_servers + preflight in .clausura.yaml.
Preflight diagnostics are collected automatically; this skill guides
the agent to use LSP tools for deeper semantic analysis.

Review Workflow

For each file or diff hunk under review:

Step 1. Check diagnostics

Call mcp__<server>__get_diagnostics (or equivalent) for the file. Preflight results are already in context — but if diagnostics were not automatically collected, run them now.

Record every diagnostic as a finding:

  • rule_id: lsp-<diagnostic-type> (e.g. lsp-type-mismatch)
  • severity: map 1:1 from diagnostic severity
  • message: keep the original diagnostic message verbatim
Step 2. Understand unfamiliar symbols

When you encounter a symbol, function, or type you need to understand:

  1. hover — get type signature and docs: mcp__<server>__hover
  2. definition — jump to the definition: mcp__<server>__goto_definition
  3. references — check all callers: mcp__<server>__find_references
Step 3. Check for cascading impact

If a change affects a public API or core type:

  • Use mcp__<server>__find_references to find all callers
  • Check if those callers handle the new signature correctly

Finding Severity Mapping

LSP SeverityFinding SeverityWhen
ErrorerrorCompile error, type mismatch, undefined reference
WarningwarningDeprecation, unused variable, non-fatal lints
InformationinfoStyle hints, auto-fix suggestions
HinthintMinor suggestions, organizational hints

Example Rule IDs for Gating

yaml
gating:
# LSP diagnostics (rule_id_prefix: "lsp-")
- rule: lsp-type-mismatch
min_severity: error
max_findings: 0
action: fail
- rule: lsp-compile-error
min_severity: error
max_findings: 0
action: fail

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
203
Repository forks
29
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/liuyanghejerry/clausura/code-review-with-lsp/badge)](https://verified-skill.com/skills/liuyanghejerry/clausura/code-review-with-lsp)

Something wrong with this skill or its page? Tell us.