nushell-completions

Generate Nushell command completions with inline, const-backed, and dynamic completers.

2|1|Updated Jul 20, 2025
One-click install
npx skills add https://github.com/nushell-prophet/my-dotfiles --skill nushell-completions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nushell-completions
Source: https://github.com/nushell-prophet/my-dotfiles/tree/main/claude/skills/nushell-completions
Command: npx skills add https://github.com/nushell-prophet/my-dotfiles --skill nushell-completions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nushell users often struggle to discover and maintain accurate command completions as they add external commands or complex context-specific arguments. This skill provides a standardized approach to generate inline, const-backed, and dynamic completions, enabling more reliable, context-aware tab completion.

Core Features & Use Cases

  • Inline completions for static options directly in signatures.
  • Const-backed reusable option lists for consistent completions across commands.
  • Context-aware completers that tailor suggestions based on prior args or command context.
  • Support for command-wide completers and external command integration.

Quick Start

Define a simple Nushell completer for a command and attach it with @complete to enable immediate context-aware suggestions.

Frequently Asked Questions about nushell-completions

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

FAQPage Schema
How do I create context-aware tab completion for custom Nushell commands?

Create context-aware tab completion in Nushell by defining a completer and attaching it to commands using the @complete decorator, which generates dynamic suggestions based on prior arguments and command context.

What is the best way to maintain accurate Nushell completions for external commands?

Maintain accurate Nushell completions by generating const-backed reusable option lists, ensuring consistent and standardized tab completion suggestions across multiple external commands without manual duplication.

How do I add inline completions for static options directly in Nushell command signatures?

Add inline completions directly within Nushell command signatures to provide static option suggestions, enabling immediate and reliable tab completion for predictable command arguments without external scripts.

Does Nushell support dynamic completers that tailor suggestions based on prior arguments?

Nushell supports dynamic completers that tailor suggestions based on prior arguments or command context, allowing you to build complex, context-aware workflows for external command integration.

Can I use a standardized approach to generate both inline and const-backed Nushell completions?

You can generate both inline and const-backed Nushell completions using a standardized structure that conforms to SKILL.md frontmatter requirements, outputting structured metadata for discovery.