context-menu

Create interactive context menus in Wave Terminal with TypeScript menu items.

40|9|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/mits-pl/wove --skill context-menu-mits-pl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-menu
Source: https://github.com/mits-pl/wove/tree/main/.kilocode/skills/context-menu
Command: npx skills add https://github.com/mits-pl/wove --skill context-menu-mits-pl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wave Terminal applications need rich, interactive context menus that respond to right-clicks and support submenus, separators, and toggleable items.

Core Features & Use Cases

  • Define menu items with the ContextMenuItem type to support normal items, separators, submenus, checkboxes, and radios.
  • Render and display menus via ContextMenuModel, integrating with event handlers and application state for responsive UI.
  • Use cases include editing files, creating new items, and configuring settings through nested menus.

Quick Start

Create a menu array and call ContextMenuModel.getInstance().showContextMenu(menu, event) to display it on a right-click.

Frequently Asked Questions about context-menu

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

FAQPage Schema
How do I build a context menu in Wave Terminal?

To build a context menu in Wave Terminal, define an array of items using the ContextMenuItem type and call ContextMenuModel.getInstance().showContextMenu(menu, event) to display it on right-click.

Can I add submenus and checkboxes to a right-click menu in TypeScript?

Yes, the ContextMenuItem type supports adding submenus, separators, and toggleable checkbox or radio options to your right-click menu, allowing for nested and interactive UI elements.

How do I integrate context menu interactions with application state?

You integrate context menu interactions with application state by binding event handlers to your menu items, allowing actions like renaming files or editing configurations to update the UI responsively.

Does this context menu renderer support toggleable options?

Yes, the context menu renderer supports toggleable options, providing specific item types for checkboxes and radios to represent binary or exclusive selection states within the menu.

What is the best way to display a context menu on right-click?

The best way to display a context menu on right-click is to define your menu array and invoke the ContextMenuModel singleton within your right-click event handler to render the interactive UI.

What types of items can I define for a TypeScript context menu?

You can define normal items, separators, submenus, checkboxes, and radios for a TypeScript context menu, covering use cases like creating new files, renaming, and configuring settings.