neovim-debugging_skill

This skill helps diagnose Neovim/LazyVim configuration issues by forming hypotheses, testing efficiently, and narrowing down root causes.
  • Shell

6

GitHub Stars

5

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill bityoungjae/marketplace --skill neovim-debugging

  • diagnostic-flowchart.md22.8 KB
  • error-patterns.md8.5 KB
  • information-gathering.md7.7 KB
  • plugin-specifics.md9.9 KB
  • SKILL.md5.6 KB

Overview

This skill diagnoses Neovim and LazyVim configuration problems by thinking like a detective. It narrows causes with hypothesis-driven tests and uses headless commands and file inspection to gather evidence before asking the user. The goal is to find a root cause and provide a minimal, verifiable fix.

How this skill works

I classify the reported symptom, form ranked hypotheses, then run targeted, minimal tests (often using nvim --headless or inspecting config files). Tests follow a binary-search approach: rule out large classes of causes first, then narrow to specific plugins, keymaps, or Lua errors. Final steps confirm the fix reproduces the resolved behavior.

When to use it

  • Neovim shows Lua errors (E5108 or similar).
  • Keymaps or leader/localleader mappings don’t trigger actions.
  • Plugins appear missing, features not loaded, or lazy-loading seems broken.
  • Startup performance issues, excessive latency, or freezes.
  • Visual/UI problems: colors, missing elements, or statusline glitches.

Best practices

  • Collect a precise symptom description and reproduce steps before deep debugging.
  • Prefer headless inspection (nvim --headless) to gather deterministic evidence without user environment changes.
  • Test hypotheses in order of likelihood and keep tests minimal and reversible.
  • Binary-search config changes: disable halves of config/plugins to quickly isolate the culprit.
  • Record evidence (error messages, headless outputs) and confirm the fix by reproducing the original symptom.

Example use cases

  • Resolve E5108 Lua error originating from a plugin config by inspecting stack traces and the specific module.
  • Fix leader/localleader which-key behavior by verifying leader values and whether which-key loaded for that prefix.
  • Diagnose a plugin that doesn’t load due to lazy-loading misconfiguration by checking plugin load conditions in headless mode.
  • Investigate slow startup by identifying heavy plugins or expensive config using selective disabling and timing.
  • Repair missing UI elements (colorschemes, statusline) by checking plugin availability and runtimepath ordering.

FAQ

Use headless commands to inspect the remote config and plugin state; ask the user for the smallest repro steps only when programmatic checks are insufficient.

How do you decide which hypothesis to test first?

I rank hypotheses by likelihood and impact: common misconfigurations (leader values, lazy loading) and reproducible errors get tested before rare or environment-specific causes.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational