interactive-menu-builder-1-basic-menu-structure
정보
이 스킬은 번호가 매겨진 옵션으로 구성된 간단한 대화형 메뉴를 생성하기 위한 기본적인 Bash 스크립트 템플릿을 제공합니다. 기본적인 메뉴 구조, 색상 서식 지정, 그리고 사례 기반 선택 처리 방법을 보여줍니다. 사용자 선택이 필요한 명령줄 인터페이스를 위한 시작점이 필요할 때 사용하세요.
빠른 설치
Claude Code
추천npx skills add vamseeachanta/workspace-hub/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/interactive-menu-builder-1-basic-menu-structureClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
1. Basic Menu Structure
1. Basic Menu Structure
Single-level menu with numbered options:
#!/bin/bash
# ABOUTME: Basic interactive menu pattern
# ABOUTME: Simple numbered option selection
# Colors
CYAN='\033[0;36m'
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m'
show_menu() {
clear
echo -e "${CYAN}═══════════════════════════════════════${NC}"
echo -e "${CYAN} Main Menu${NC}"
echo -e "${CYAN}═══════════════════════════════════════${NC}"
echo ""
echo " 1) Option One"
echo " 2) Option Two"
echo " 3) Option Three"
echo ""
echo " 0) Exit"
echo ""
echo -e "${CYAN}═══════════════════════════════════════${NC}"
echo ""
}
handle_choice() {
local choice="$1"
case "$choice" in
1)
echo "Running Option One..."
# Implementation
;;
2)
echo "Running Option Two..."
# Implementation
;;
3)
echo "Running Option Three..."
# Implementation
;;
0)
echo "Goodbye!"
exit 0
;;
*)
echo -e "${RED}Invalid option${NC}"
;;
esac
}
# Main loop
while true; do
show_menu
read -p "Select option: " choice
handle_choice "$choice"
echo ""
read -p "Press Enter to continue..."
done
GitHub 저장소
연관 스킬
content-collections
메타This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
polymarket
메타This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.
creating-opencode-plugins
메타This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.
cloudflare-turnstile
메타This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.
