Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Design Cli Output

Skill Verifiziert Aktiv
Teil von:Agent Almanac

Design terminal output for a CLI tool with chalk colors, Unicode glyphs, multiple verbosity levels (human, verbose, quiet, JSON), and consistent voice rules. Covers color palette selection, status indicator design, reporter function architecture, ceremony/narrative output variants, and cross-terminal compatibility. Use when building a new CLI reporter module, adding warm narrative output to an existing tool, standardizing output across multiple commands, or designing machine-readable JSON alongside human-readable text.

Zweck

To guide the creation of well-designed, consistent, and accessible terminal output for command-line tools, enhancing user experience and machine readability.

Funktionen

  • Design color palettes with fallbacks
  • Select Unicode or ASCII status indicators
  • Implement four verbosity levels (default, verbose, quiet, JSON)
  • Define and enforce consistent voice rules
  • Structure output into reusable reporter functions
  • Test output across various terminal environments

Anwendungsfälle

  • Building new CLI reporter modules
  • Adding narrative output to existing tools
  • Standardizing output across multiple commands
  • Designing parallel human-readable and JSON output

Nicht-Ziele

  • Designing the CLI commands themselves
  • Implementing the core business logic of the CLI tool
  • Handling error recovery beyond output formatting considerations

Workflow

  1. Define Color Palette
  2. Choose Status Indicators
  3. Design Verbosity Levels
  4. Establish Voice Rules
  5. Implement Reporter Functions
  6. Test Output Across Environments

Praktiken

  • CLI Output Design
  • Terminal UX
  • Code Style

Voraussetzungen

  • Node.js (for chalk dependency)
  • Access to a terminal environment for testing

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert about 21 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne14
LizenzMIT
Status
Quellcode ansehen