add-nvim-plugin

Automate adding and configuring Neovim plugins in nix-based setups.

7|Updated Aug 9, 2020
One-click install
npx skills add https://github.com/shinzui/dotfiles.nix --skill add-nvim-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-nvim-plugin
Source: https://github.com/shinzui/dotfiles.nix/tree/main/claude/skills/add-nvim-plugin
Command: npx skills add https://github.com/shinzui/dotfiles.nix --skill add-nvim-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies adding and configuring a Neovim plugin within a Nix-based setup, replacing manual edits with a reproducible, deterministic workflow.

Core Features & Use Cases

  • Locate the plugin in nixpkgs or vimExtraPlugins, fetch plugin information, and understand dependencies.
  • Update home/neovim.nix to include the plugin in the correct category, handle dependencies, and generate Lua config when required.
  • Provide a clear, repeatable process for extending Neovim with plugins while maintaining a nix-based configuration.

Quick Start

Choose a Neovim plugin and follow these steps to add it to your nix-based Neovim setup.

Frequently Asked Questions about add-nvim-plugin

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

FAQPage Schema
How do I add a Neovim plugin using Nix?

Adding a Neovim plugin via Nix involves locating the plugin in nixpkgs or vimExtraPlugins, updating your home/neovim.nix configuration file to include it in the correct category, and generating the necessary Lua configuration stubs.

Where does Nix look for available Neovim plugins?

Nix locates Neovim plugins by searching through the nixpkgs repository or the vimExtraPlugins set, parsing plugin metadata to fetch information and understand required dependencies for your configuration.

Do I need to manually write Lua configuration when adding plugins via Nix?

You do not need to manually write Lua configuration from scratch; the workflow generates appropriate Lua config stubs automatically when required, updating your home/neovim.nix file to handle dependencies.

What is the best way to manage Neovim plugin dependencies in a Nix setup?

The best way to manage Neovim plugin dependencies in a Nix setup is by using a deterministic workflow that parses plugin metadata and updates home/neovim.nix to automatically handle optional dependencies.

Can I use vimExtraPlugins for Neovim plugins not found in nixpkgs?

Yes, you can use vimExtraPlugins for Neovim plugins not found in nixpkgs, allowing you to locate plugin information, understand dependencies, and update your home/neovim.nix file for deterministic integration.