Overview of Elvish Shell internals and references
masterThis skill provides a comprehensive reference for the Elvish shell internals. It is intended for developers working with Elvish's completion system, editor API, styling, language fundamentals, and configuration.
Key areas covered include:
- Completion System: Writing
arg-completerfunctions, usingedit:complex-candidate, configuring matchers, and understanding the completion pipeline. - Editor API: Managing modes (insert, command, navigation, history), configuring keybindings, customizing prompts (
promptandrprompt), and using editor hooks. - Styling: Using
styledtext, applying style transformers (ANSI, XTerm 256-color, TrueColor), and managing foreground/background colors. - Language Fundamentals: Working with value types (lists, maps, etc.), pipelines, namespaces, modules, and scoping.
- Configuration: Setting up
rc.elv, managing the module system, and understanding the startup order and environment variables.
For specific integration with carapace (such as snippet generation, value formatting, or JSON output), refer to the carapace-dev skill in references/shell-elvish.md.