New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mwguerra avatar

terminal-specialist

Terminal and shell expert that adds reference docs and commands for TTY, streams, and signals.

version
1.0.0
GitHub stars
36
View on GitHub

What it does

  • Adds /cross-platform, /docs, /escape, /modes, /shell, /signals, and /streams commands plus a terminal-specialist-agent
  • Covers TTY/PTY architecture, stdin/stdout/stderr streams, signals, ANSI escape sequences, and job control
  • Provides a terminal-docs skill with reference material on TTY/PTY, streams, signals, and cross-platform patterns
  • Designed for developers building cross-platform CLI tools who need terminal behavior details

Terminal and shell systems expert with comprehensive documentation. Covers TTY/PTY architecture, stdin/stdout/stderr streams, signals, ANSI escape sequences, job control, terminal modes, and cross-platform CLI development.

Add marketplace

/plugin marketplace add mwguerra/claude-code-plugins

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install terminal-specialist@mwguerra-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Terminal Documentation Reference Skill

Overview

This skill provides access to comprehensive terminal and shell systems documentation. Use this skill to look up exact configurations, code patterns, and best practices for terminal-related development.

Documentation Location

All documentation is stored in: /home/mwguerra/projects/mwguerra/claude-code-plugins/terminal-specialist/skills/terminal-docs/references/

Directory Structure

references/
├── 01-fundamentals.md      # TTY/PTY concepts, terminal stack, device files
├── 02-streams.md           # stdin, stdout, stderr, buffering behavior
├── 03-exit-codes.md        # Exit status, POSIX codes, signal exits
├── 04-shells.md            # Shell types, startup files, options
├── 05-dimensions.md        # Terminal size, SIGWINCH, resize handling
├── 06-modes.md             # Canonical/raw mode, termios flags
├── 07-job-control.md       # Sessions, process groups, background jobs
├── 08-environment.md       # TERM, PATH, locale, prompt variables
├── 09-signals.md           # Signal handling, keyboard signals
├── 10-escape-sequences.md  # ANSI codes, colors, cursor control
├── 11-redirection.md       # Pipes, file descriptors, here docs
├── 12-windows.md           # Windows console, ConPTY, PowerShell
├── 13-cross-platform.md    # Portable patterns, platform differences
└── 14-advanced.md          # tmux, screen, recording, graphics

Usage

When to Use This Skill

  1. Before implementing terminal-related functionality
  2. When debugging I/O or stream issues
  3. To verify correct escape sequence syntax
  4. To understand terminal mode behavior
  5. For signal handling patterns
  6. For cross-platform compatibility guidance

Search Workflow

  1. Identify Topic: Determine what documentation is needed
  2. Navigate to File: Go to relevant documentation file
  3. Read Documentation: Extract exact patterns
  4. Apply Knowledge: Use in implementation

Common Lookups

TopicFile
Terminal architecture01-fundamentals.md
Stream buffering02-streams.md
Exit codes03-exit-codes.md
Shell configuration04-shells.md
Terminal size05-dimensions.md
Raw mode06-modes.md
Job control07-job-control.md
Environment variables08-environment.md
Signal handling09-signals.md
ANSI escape codes10-escape-sequences.md
Pipes and redirection11-redirection.md
Windows console12-windows.md
Cross-platform13-cross-platform.md
Multiplexers14-advanced.md

Documentation Reading Pattern

When reading documentation:

  1. Find the right file: Match topic to documentation file
  2. Read the overview: Understand the concept
  3. Extract code examples: Copy exact patterns
  4. Note platform specifics: Consider Unix/Windows differences
  5. Check best practices: Apply safety and portability tips

Example Usage

Looking up ANSI Color Codes

  1. Navigate to 10-escape-sequences.md
  2. Find Colors section
  3. Extract:
    • 4-bit color codes (30-37, 40-47)
    • 256-color format
    • True color format
    • tput commands

Looking up Signal Handling

  1. Navigate to 09-signals.md
  2. Find relevant section (Bash, C, Python)
  3. Extract:
    • Signal handler setup
    • Signal-safe patterns
    • Cleanup handlers

Looking up Cross-Platform Input

  1. Navigate to 13-cross-platform.md
  2. Find Key Input section
  3. Extract:
    • Unix termios pattern
    • Windows msvcrt pattern
    • Platform detection code

Output

After reading documentation, provide:

  1. Exact code pattern from docs
  2. Platform considerations
  3. Best practices noted
  4. Safety/security notes
  5. Alternative approaches if applicable

From the mwguerra/claude-code-plugins README

mwguerra Claude Code Plugins

A collection of Claude Code plugins for development workflows.

Installation

# Add the marketplace
/plugin marketplace add mwguerra/claude-code-plugins

# Browse and install plugins
/plugin

Available Plugins

article-writer

Create publication-ready technical articles with author voice profiles, web research, runnable code examples, and multi-language output. Supports interactive single-article creation or autonomous batch processing.

/plugin install article-writer@mwguerra-marketplace

code

Production readiness toolkit with code cleanup, comprehensive analysis, and automated testing. Removes debug artifacts for clean commits, runs Pest and Playwright tests, and prepares apps for deployment.

/plugin install code@mwguerra-marketplace

docs-specialist

Generate and maintain documentation from code with drift detection. Validates docs against source, auto-generates from code patterns, syncs outdated content, and provides reusable templates.

/plugin install docs-specialist@mwguerra-marketplace

docker-local

Expert agent for docker-local (mwguerra/docker-local) Laravel Docker development environment. Manages Docker services, diagnoses issues, checks project conflicts, handles database operations, and troubleshoots environment setup.

/plugin install docker-local@mwguerra-marketplace

docker-specialist

Docker and Docker Compose expert with complete documentation. Generates Dockerfiles, compose configs, database containers, SSL/TLS setup with Traefik or Nginx, and provides troubleshooting.

/plugin install docker-specialist@mwguerra-marketplace

e2e-test-specialist

Comprehensive E2E testing using Playwright MCP. Creates detailed test plans, tests all pages for errors, verifies user flows by role, and runs visual browser tests with full coverage.

/plugin install e2e-test-specialist@mwguerra-marketplace

filament-specialist

Expert FilamentPHP v4 assistant with complete official documentation. Generates resources, forms, tables, actions, widgets, infolists, and Pest tests following v4 patterns.

/plugin install filament-specialist@mwguerra-marketplace

laravel-filament-package-development-specialist

Scaffold and develop Laravel packages and Filament plugins with full testing support. Creates package structure, configures Pest testing, sets up GitHub Actions CI.

/plugin install laravel-filament-package-development-specialist@mwguerra-marketplace

post-development

App launch preparation toolkit with SEO analysis, automated screenshots, buyer persona creation, social media ad generation, technical article writing, and landing page proposals.

/plugin install post-development@mwguerra-marketplace

taskmanager

Plan and execute tasks from PRDs with hierarchical subtasks, dependency tracking, and project memories. Features dashboard visualization, autonomous batch execution, and persistent memory.

/plugin install taskmanager@mwguerra-marketplace

terminal-specialist

Terminal and shell systems expert with comprehensive documentation. Covers TTY/PTY architecture, stdin/stdout/stderr streams, signals, ANSI escape sequences, job control, and terminal modes.

/plugin install terminal-specialist@mwguerra-marketplace

test-specialist

Proactive Pest 4 testing for PHP, Laravel, Livewire, and Filament apps. Auto-generates tests for models, controllers, policies, and Livewire components. Analyzes coverage gaps.

/plugin install test-specialist@mwguerra-marketplace

obsidian-vault

Manage an Obsidian vault as your development knowledge base and automatic work journal. Auto-captures commits, tasks, and Claude Code components with structured frontmatter.

/plugin install obsidian-vault@mwguerra-marketplace

error-memory

Intelligent error tracking and solution recall system. Learns from every error you solve, providing instant access to past solutions with multi-level matching and confidence scores.

/plugin install error-memory@mwguerra-marketplace

prd-builder

Interactive PRD (Product Requirements Document) builder with comprehensive interview-driven discovery, gap analysis, and taskmanager integration.

/plugin install prd-builder@mwguerra-marketplace

my-workflow

Personal workflow management combining assistant, secretary, and executive roles. Tracks sessions, commitments, decisions, and goals. Integrates with GitHub and Obsidian vault. Provides intelligent briefings and productivity insights.

/plugin install my-workflow@mwguerra-marketplace

Reinstall Script

If you need to completely reinstall all marketplace plugins (useful after updates or to fix issues), add this script to ~/.claude/reinstall_marketplace.sh:

#!/bin/bash

# Delete marketplaces cleanup script
# Removes marketplace plugins and related configuration

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

echo "Cleaning up marketplace plugins..."

# Delete installed_plugins.json
if [ -f "$SCRIPT_DIR/plugins/installed_plugins.json" ]; then
    rm "$SCRIPT_DIR/plugins/installed_plugins.json"
    echo "Deleted: plugins/installed_plugins.json"
else
    echo "Not found: plugins/installed_plugins.json"
fi

# Delete marketplaces folder
if [ -d "$SCRIPT_DIR/plugins/marketplaces" ]; then
    rm -rf "$SCRIPT_DIR/plugins/marketplaces"
    echo "Deleted: plugins/marketplaces/"
else
    echo "Not found: plugins/marketplaces/"
fi

if [ -d "$SCRIPT_DIR/plugins/cache" ]; then
    rm -rf "$SCRIPT_DIR/plugins/cache"
    echo "Deleted: plugins/cache/"
else
    echo "Not found: plugins/cache/"
fi

# Remove enabledPlugins from settings.json using jq or sed
if [ -f "$SCRIPT_DIR/settings.json" ]; then
    if command -v jq &> /dev/null; then
        # Use jq if available
        jq 'del(.enabledPlugins)' "$SCRIPT_DIR/settings.json" > "$SCRIPT_DIR/settings.json.tmp" && \
        mv "$SCRIPT_DIR/settings.json.tmp" "$SCRIPT_DIR/settings.json"
        echo "Removed enabledPlugins from settings.json"
    else
        # Fallback to Python if jq not available
        python3 -c "
import json
with open('$SCRIPT_DIR/settings.json', 'r') as f:
    data = json.load(f)
if 'enabledPlugins' in data:
    del data['enabledPlugins']
with open('$SCRIPT_DIR/settings.json', 'w') as f:
    json.dump(data, f, indent=2)
    f.write('\n')
"
        echo "Removed enabledPlugins from settings.json"
    fi
else
    echo "Not found: settings.json"
fi

# Function to reinstall a marketplace and all its plugins
reinstall_marketplace() {
    local marketplace_name="$1"
    local marketplace_repo="$2"
    local marketplace_dir="$SCRIPT_DIR/plugins/marketplaces/$marketplace_name"

    echo "Reinstalling marketplace: $marketplace_name"
    claude plugin marketplace remove "$marketplace_name"
    claude plugin marketplace add "$marketplace_repo"

    if [ -d "$marketplace_dir" ]; then
        echo "Installing plugins from $marketplace_name..."
        for plugin_dir in "$marketplace_dir"/*/; do
            local plugin_name=$(basename "$plugin_dir")
            # Skip hidden directories (like .git, .claude-plugin)
            if [[ "$plugin_name" != .* ]]; then
                echo "Installing: $plugin_name@$marketplace_name"
                claude plugin install "$plugin_name@$marketplace_name"
            fi
        done
    else
        echo "Error: Marketplace directory not found at $marketplace_dir"
        return 1
    fi
}

# Reinstall marketplaces
reinstall_marketplace "mwguerra-marketplace" "mwguerra/claude-code-plugins"

# Make all .sh files executable in plugins directory
echo "Making .sh files executable in plugins directory..."
find "$SCRIPT_DIR/plugins" -name "*.sh" -type f -exec chmod +x {} \;
echo "Done setting permissions."

echo "Done!"

Usage:

# Make executable
chmod +x ~/.claude/reinstall_marketplace.sh

# Run to reinstall all plugins
~/.claude/reinstall_marketplace.sh

Requirements

  • Claude Code

License

MIT

Details

Marketplace
mwguerra/claude-code-plugins
Source
terminal-specialist
Category
Development Tools
Keywords
terminal, shell, tty, pty, bash, zsh, powershell, cmd, stdin, stdout, stderr, signals, ansi, escape-sequences, job-control, process-management, termios, console, cross-platform, cli
Listed since
Apr 7, 2026

More from mwguerra/claude-code-plugins

All 18

Similar to terminal-specialist

More CLI & Terminal