OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add steveclarke/dotfiles --skill ruby-cli
Build Ruby CLI tools with Thor and Zeitwerk. Use for new Ruby CLI gems, adding commands, refactoring, or 'Thor CLI', 'command-line tool in Ruby'.
npx skills add steveclarke/dotfiles --skill ruby-cli
Build Ruby CLI tools using Thor for commands and Zeitwerk for autoloading.
class GemName::Cli::Main < GemName::Cli::Baseextend self instead of module_function for utility modulesFor basic output, use Thor's built-in say "message", :color.
For rich terminal UI (headers, tables, spinners, confirmations), use the Gum gem:
See references/gum.md for setup and full API.
# rubocop:disable Rails/Output to UI modules (stdout is intentional in CLIs)GUM_INSTALL_DIR points it at a system install elsewhere