terminal-output

Standardize Swamp CLI terminal output across log and JSON formats.

530|41|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/systeminit/swamp --skill terminal-output
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: terminal-output
Source: https://github.com/systeminit/swamp/tree/main/.claude/skills/terminal-output
Command: npx skills add https://github.com/systeminit/swamp --skill terminal-output

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that all command-line interface (CLI) output within the Swamp project is consistent, readable, and adaptable to different user needs, whether for human consumption or machine processing.

Core Features & Use Cases

  • Dual Output Modes: Supports both human-friendly "log" mode with colors and formatting, and machine-readable "json" mode.
  • Consistent Formatting: Enforces a uniform design system for presentation, including color schemes, spacing, and indentation.
  • Use Case: When developing a new Swamp CLI command, use this Skill's guidelines to ensure its output is clear, well-structured, and functions correctly in both interactive terminal sessions and automated scripting environments.

Quick Start

Follow the output file pattern and render function guidelines to implement consistent terminal output for new CLI commands.

Frequently Asked Questions about terminal-output

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

FAQPage Schema
How do I standardize CLI output formatting for both human-readable and JSON formats?β–Ό

You standardize CLI output formatting by applying a uniform design system that defines output file patterns, color schemes, and layout rules for both interactive terminal sessions and automated scripting environments. This ensures consistent presentation across all commands.

What is the best way to structure terminal output for automated scripting environments?β–Ό

The best way to structure terminal output for automated scripting is using a machine-readable JSON mode. This dual-mode approach separates machine processing from human-friendly log mode, ensuring scripts receive structured data reliably.

How do I apply consistent color schemes and indentation when developing a new CLI command?β–Ό

You apply consistent color schemes and indentation by following predefined terminal output design guidelines. These guidelines enforce a uniform presentation system across all command-line interface commands, ensuring clear and well-structured rendering.

Does this terminal output design system support both interactive terminal sessions and automated parsing?β–Ό

Yes, the terminal output design system supports both interactive sessions and automated parsing. It achieves this by defining dual output modes: a human-friendly log mode with colors and a machine-readable JSON mode for scripts.

When do I need a dual output mode design system for command-line interface presentation?β–Ό

You need a dual output mode design system when a CLI must serve both human consumption and machine processing. It ensures readability through colored log formats while providing structured JSON for automated environments.

Why should I enforce a uniform design system for CLI output rendering functions?β–Ό

You enforce a uniform design system for CLI output rendering to ensure all command-line output is consistent, readable, and adaptable. This prevents fragmented presentation layers and guarantees commands function correctly across different environments.