Use when working with PowerShell internals — tab completion, Register-ArgumentCompleter, PSReadLine, CompletionResult, CommandAst, argument passing to native commands, quoting rules, $PSStyle ANSI rendering, profiles and configuration, or the prediction plugin system. Triggers on: "powershell", "pwsh", "Register-ArgumentCompleter", "PSReadLine", "CompletionResult", "CommandAst", "TabExpansion2", "MenuComplete", "ArgumentCompleter", "PSStyle", "powershell profile", "powershell completion", "powershell quoting", "powershell argument passing", "IPredictor", "predictive intellisense".
user-invocable
true
PowerShell Shell In-Depth Reference
Comprehensive reference for PowerShell internals, with emphasis on the completion system, PSReadLine, and how external tools hook into the completion menu.
Sub-Resources
Load the reference that matches your task. When in doubt, load multiple references.
For carapace-specific PowerShell integration (snippet, value formatting, SGR styling, nospace, single-quote stripping), see the carapace-dev skill → references/shell-powershell.md.