MCP HubMCP Hub
Zurück zu Fähigkeiten

interactive-menu-builder

vamseeachanta
Aktualisiert Today
6 Ansichten
3
2
3
Auf GitHub ansehen
Anderebashmenucliinteractivetuinavigation

Über

Diese Fähigkeit ermöglicht es Entwicklern, mehrstufige, interaktive CLI-Menüs mit Navigation und Auswahl für Bash-Skripte zu erstellen. Sie ist ideal für die Entwicklung benutzerfreundlicher CLI-Tools, die komplexe Optionsnavigation erfordern oder mehrere Skripte zusammenfassen. Verwenden Sie sie für benutzerorientierte Tools, vermeiden Sie sie jedoch für einfache Automatisierungen oder Einzweck-Skripte.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add vamseeachanta/workspace-hub
Plugin-BefehlAlternativ
/plugin add https://github.com/vamseeachanta/workspace-hub
Git CloneAlternativ
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/interactive-menu-builder

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

Interactive Menu Builder

When to Use This Skill

Use when:

  • Building user-friendly CLI tools
  • Need navigation through multiple options
  • Complex tools with many sub-commands
  • Tools used by humans (not just automation)
  • Consolidating multiple scripts into one interface

Avoid when:

  • Scripts meant for automation/CI
  • Simple single-purpose scripts
  • When a plain command-line interface is sufficient

Complete Example: Multi-Level Menu System

Full implementation from workspace CLI:

#!/bin/bash
# ABOUTME: Complete multi-level menu system
# ABOUTME: Template for workspace-hub style CLI tools

set -e

# ─────────────────────────────────────────────────────────────────
# Configuration
# ─────────────────────────────────────────────────────────────────

SCRIPT_NAME="$(basename "$0")"
VERSION="1.0.0"

# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
CYAN='\033[0;36m'
MAGENTA='\033[0;35m'
BOLD='\033[1m'
NC='\033[0m'

*See sub-skills for full details.*

## Resources

- [Dialog Tool](https://invisible-island.net/dialog/) - TUI dialogs
- [Whiptail](https://en.wikibooks.org/wiki/Bash_Shell_Scripting/Whiptail) - Alternative TUI
- [Gum](https://github.com/charmbracelet/gum) - Modern CLI toolkit

---

## Version History

- **1.0.0** (2026-01-14): Initial release - extracted from workspace-hub CLI tools

## Sub-Skills

- [1. Basic Menu Structure](1-basic-menu-structure/SKILL.md)
- [2. Multi-Level Menu System](2-multi-level-menu-system/SKILL.md)
- [3. Table Display (+1)](3-table-display/SKILL.md)
- [5. Confirmation Dialogs (+1)](5-confirmation-dialogs/SKILL.md)
- [1. Consistent Navigation (+3)](1-consistent-navigation/SKILL.md)

GitHub Repository

vamseeachanta/workspace-hub
Pfad: .claude/skills/_core/bash/interactive-menu-builder

Verwandte Skills

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

Skill ansehen

when-creating-slash-commands-use-slash-command-encoder

Andere

This Claude Skill helps developers create ergonomic slash commands (/command) for micro-skills with auto-discovery and parameter validation. It generates command handlers, validation logic, and documentation for fast CLI access to workflows. Use it when building command-line interfaces that need intelligent routing and command chaining capabilities.

Skill ansehen

when-bridging-web-cli-use-web-cli-teleport

Andere

This skill enables bidirectional integration between web interfaces and CLI tools, allowing web apps to trigger CLI commands and CLI tools to display web interfaces. It provides REST APIs, WebSocket communication, and handles authentication for seamless workflow bridging. Use it when you need to connect web-based systems with command-line workflows for advanced integration scenarios.

Skill ansehen

interactive-planner

Design

The interactive-planner skill uses Claude Code's AskUserQuestion tool to systematically gather project requirements through structured multi-select questions. It helps developers break complex projects into scopable decisions using a planned question strategy. This is ideal for converting vague ideas into concrete specifications during the planning phase.

Skill ansehen