pty-architecture
CommunityDesign reliable PTY-based multi-session terminals.
Software Engineering#session management#terminal emulation#pty#stream-json#socketio#node-pty#worktree isolation
Authorrecca0120
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the challenge of implementing stable, multi-session terminal experiences that correctly render streamed ANSI output and keep sessions isolated from one another.
Core Features & Use Cases
- Three-layer PTY terminal design: Connects a browser UI (xterm.js) to the server event/routing layer and then to a dedicated PTY-backed CLI layer for each session.
- Production-ready PTY spawn configuration: Specifies TERM/ENV settings, terminal size, and working directory wiring to ensure correct colors, resizing behavior, and consistent runtime behavior.
- Session robustness controls: Covers circular output buffering to prevent memory leaks, graceful shutdown to avoid zombies, and worktree isolation to prevent concurrent session conflicts.
Quick Start
Use the pty-architecture Skill to generate an implementation plan for a PTY-backed multi-session terminal that uses node-pty, stream parsing, and isolated per-session working directories.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pty-architecture Download link: https://github.com/recca0120/code-quest/archive/main.zip#pty-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.