Automated summary
Provides comprehensive knowledge for interacting with Neovim, including configuration, plugin management, building custom releases, and daemon management.
Strengths
- Detailed modular configuration structure with Lua-based setup
- Includes a native plugin manager (vim.pack) and lock file for reproducible builds
- Provides infrastructure for building custom Neovim releases with bundled plugins
- Wrapper script for automatic server management and client mode
Limitations
- Requires knowledge of Lua and Neovim internals
- Build system depends on specific scripts and workflows that may not be portable
- Daemon management is specific to this environment's wrapper
Use this skill when you need to customize Neovim, add plugins, or build a tailored Neovim binary for development.
Do not use this skill if you need a generic text editor configuration outside of this environment or if you lack experience with Neovim scripting.
Security analysis
SafeThe skill documents Neovim configuration and build processes using local scripts and standard tools. No destructive or exfiltrating commands are present; instructions are safe for local execution.
No concerns found
How this analysis is madeExamples
Help me set up my Neovim configuration with modular Lua files for editing, LSP, and treesitter.Add the nvim-treesitter plugin using vim.pack and configure it for Python.Show me how to build a custom Neovim nightly with my plugins bundled, using the build scripts in this repo.description: Interact with Neovim configuration and build system trigger: Use this skill for neovim configuration, plugin management, or building custom nvim releases
Neovim interaction skill
This skill provides comprehensive knowledge for interacting with Neovim in this environment.
Architecture
Binary management
- Nvim binary installed to
~/.local/share/nvim/<version>-<sha>/bin/nvim - Symlinked from
~/.local/bin/nvim(managed byhome 3p) - Custom nvim builds with bundled plugins available via
.github/workflows/build-nvim.yml
Configuration structure
- Entry point:
.config/nvim/init.lua(sets up lua paths) - Plugin configs:
.config/nvim/plugin/(modular lua files)- editing.lua, git.lua, grep.lua, interface.lua, lsp.lua, mini.lua
- system.lua, tab.lua, terminal.lua, treesitter.lua, window.lua
- Treesitter queries:
.config/nvim/queries/
Configuration guidelines
- Prefer Lua for all Neovim configuration
- Use modular approach: separate files in
.config/nvim/plugin/for different features - Use
<Space>instead of<leader>for keybindings - Generally avoid plugins; prefer minimal, native configurations
Native package manager (vim.pack)
Install plugins using vim.pack.add() in plugin config files (nvim 0.12+):
vim.pack.add({
{ src = "https://github.com/user/plugin" },
})
Key details:
- Plugins stored in
$XDG_DATA_HOME/nvim/site/pack/core/opt - Optional version constraints:
version = vim.version.range("1.0.0") - Check if loaded:
local ok, plugin = pcall(require, "plugin-name")
Example from mini.lua:
vim.pack.add({
{ src = "https://github.com/nvim-mini/mini.nvim" },
})
local ok_bufremove, _ = pcall(require, "mini.bufremove")
if ok_bufremove then
require("mini.bufremove").setup()
end
Building custom nvim releases
The repository includes infrastructure to build nvim nightly with bundled plugins:
Build system components
scripts/build-nvim.lua: lua script that downloads nvim nightly, bundles plugins, and creates tarballs.config/nvim/nvim-pack-lock.json: lock file defining plugin versions.github/workflows/build-nvim.yml: workflow to build for darwin-arm64, linux-arm64, linux-x64- requires luajit with dkjson (via
.config/setup/luajitbootstrap)
Lock file format
{
"plugins": {
"plugin-name": {
"src": "https://github.com/user/plugin",
"rev": "commit-hash-or-tag"
}
}
}
Build process
- Downloads nvim nightly from neovim/neovim releases
- Clones each plugin from lock file at specified revision
- Installs plugins to
share/nvim/site/pack/core/opt/ - Generates helptags with
nvim --headless +'helptags ALL' +qa - Creates reproducible tarball with checksums
- Verifies plugins load correctly
Running the build
# Locally (requires luajit with dkjson)
bash scripts/build-nvim
# Via GitHub workflow
gh workflow run build-nvim.yml -f create_release=false # test build
gh workflow run build-nvim.yml -f release_tag=2025.11.23 # create release
Nvim wrapper and daemon management
The nvim wrapper at ~/.local/bin/nvim provides automatic server management with flexible socket configuration.
Socket configuration
- Default socket:
~/.config/nvim/nvim.sock - Specify via CLI:
nvim --server /path/to/socket.sock(uses nvim's native flag) - Specify via environment:
NVIM_SOCKET=/path/to/socket.sock nvim - Priority:
--serverflag >NVIM_SOCKETenv var > default
Client mode (nvim)
Automatically starts a daemon server if not running, then connects:
nvim file.txt # uses default socket, auto-starts if needed
nvim --server /tmp/project.sock file.txt # uses custom socket
nvim --remote-expr "execute('echo 42')" # remote commands work too
Daemon management (nvimd)
Explicit daemon control commands:
nvimd start # start server at default socket
nvimd --server /tmp/project.sock start # start at custom socket
nvimd stop # stop server
nvimd status # check if running
Multiple servers
Each socket path gets its own daemon, pidfile, and logfile:
- Socket:
/path/to/foo.sock - Pidfile:
/path/to/foo.pid - Logfile:
/path/to/foo.log
Reloading configuration
To reload nvim configuration after making changes:
nvim --remote-expr "execute('source ~/.config/nvim/init.lua')"
# or with custom socket:
nvim --server /tmp/project.sock --remote-expr "execute('source ~/.config/nvim/init.lua')"
This sources the configuration in running nvim instances without restarting them.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/neovim-configuration-and-management-mm5t89gj/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/neovim-configuration-and-management-mm5t89gj' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/neovim-configuration-and-management-mm5t89gj/download' --output '.skill-downloads/neovim-configuration-and-management-mm5t89gj/SKILL.md.part' && mv '.skill-downloads/neovim-configuration-and-management-mm5t89gj/SKILL.md.part' '.skill-downloads/neovim-configuration-and-management-mm5t89gj/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/neovim-configuration-and-management-mm5t89gj/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.