nvim-diagnostics

Extract Neovim LSP diagnostics and group code issues by severity.

Updated Jun 10, 2016
One-click install
npx skills add https://github.com/N0nki/dotfiles --skill nvim-diagnostics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nvim-diagnostics
Source: https://github.com/N0nki/dotfiles/tree/main/common/claude/skills/nvim-diagnostics
Command: npx skills add https://github.com/N0nki/dotfiles --skill nvim-diagnostics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Neovim の LSP が検出したエラー、警告、情報、ヒントを取得し、コードの問題点と修正案を提案します。リクエストに応じて診断情報を分析し、修正を提案します。

Core Features & Use Cases

  • Neovim の LSP 診断情報を取得して、エラー・警告・情報を整理します。
  • 診断情報を根本原因ごとに分析し、修正案と実装方針を提示します。
  • 実務シナリオとして、現在編集中のファイルの診断情報を取得、修正の提案、コード品質向上のためのベストプラクティスを提供します。

Quick Start

Use this instruction to fetch the current buffer's LSP diagnostics and present actionable fixes.

Frequently Asked Questions about nvim-diagnostics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get Neovim LSP diagnostics and fix code errors using AI?

Fetch Neovim LSP diagnostics to extract code errors, warnings, and hints from the current buffer or headless Neovim, then receive concrete fixes and implementation guidance for AI-assisted remediation.

Can I analyze Neovim diagnostics from a headless session without opening the editor?

Yes, Neovim LSP diagnostics can be retrieved via headless Neovim sessions, grouping items by severity and outputting structured results suitable for code investigations and on-demand diagnostic checks.

How are LSP diagnostics grouped and presented for code analysis in Neovim?

LSP diagnostics are grouped by severity—errors, warnings, information, and hints—then analyzed by root cause to present structured results with actionable fixes and best practices for code quality improvement.

What's the best way to propose fixes for LSP warnings and errors in Neovim?

Retrieve LSP diagnostics from the active buffer, group them by severity, and use AI-assisted remediation to analyze root causes and propose concrete fixes with implementation guidance.

Do I need a running Neovim session to fetch LSP diagnostics for code investigation?

No, diagnostics can be retrieved from the current active buffer during live editing sessions or via headless Neovim for on-demand diagnostic checks across related files.