terminal-docs

Retrieve terminal documentation patterns for cross-platform development and debugging.

35|11|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/mwguerra/claude-code-plugins --skill terminal-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terminal-docs
Source: https://github.com/mwguerra/claude-code-plugins/tree/main/terminal-specialist/skills/terminal-docs
Command: npx skills add https://github.com/mwguerra/claude-code-plugins --skill terminal-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides centralized terminal documentation to guide cross-platform development and debugging.

Core Features & Use Cases

  • Quick access to fundamentals and advanced topics
  • Cross-platform patterns and examples
  • Reference for streams, signals, and escape sequences

Quick Start

Look up "ANSI escape sequences" in 10-escape-sequences.md to see color codes and cursor control.

Frequently Asked Questions about terminal-docs

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

FAQPage Schema
How do I handle terminal I/O and streams correctly across Unix and Windows?

Terminal I/O differs between Unix-like systems (TTY/PTY) and Windows (console handles). This Skill provides cross-platform patterns for streams, signals, and terminal modes so you implement I/O that works consistently on both environments without platform-specific bugs.

What are ANSI escape sequences and how do I use them in terminal output?

ANSI escape sequences control cursor movement, text color, and formatting in terminals. This Skill documents escape sequence syntax and platform support so you can add colors and cursor control to terminal applications reliably.

How do I implement terminal functionality and handle PTY/TTY setup?

Implementing terminal features requires understanding pseudoterminal (PTY) and terminal (TTY) behavior, signal handling, and mode configuration. This Skill extracts exact patterns and safety notes for terminal setup and I/O operations across platforms.

Why does my terminal program behave differently on Linux versus Windows?

Terminal behavior diverges: Unix uses TTY/PTY with signals; Windows uses console handles. This Skill documents platform-specific patterns and alternative approaches so you debug cross-platform terminal issues systematically.

What signals and modes do I need to handle for terminal development?

Terminal applications must handle signals (SIGWINCH for resize, SIGTERM for shutdown) and set modes (raw, canonical) correctly. This Skill provides signal patterns and mode documentation to implement robust terminal functionality.

Can I use the same terminal code on macOS, Linux, and Windows?

Terminal APIs differ significantly across platforms, but common patterns exist for streams, escape sequences, and signal handling. This Skill documents which approaches work cross-platform and when platform-specific code is necessary.