Terminal Expert
Provides expert-level guidance for implementing high-performance terminals in VS Code extensions using xterm.js and PTY integration.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Implementation guidance for xterm.js and essential addons like WebGL and Fit
- Detailed protocols for shell integration using OSC 633 sequences
- Performance optimization techniques including GPU acceleration and output buffering
- Standardized patterns for PTY process management and flow control
- Advanced input handling for keyboard events, mouse interactions, and IME composition
Use cases
- Optimizing terminal rendering for extensions that handle high-frequency data streams
- Building custom terminal interfaces within VS Code extension sidebars or WebViews
- Developing specialized shell integrations for tracking command execution and exit codes
FAQ
When should I use this skill during development?
Use this skill when building custom terminal views in VS Code, configuring terminal addons like WebGL or Fit, implementing complex shell integrations (OSC 633), or managing low-level pseudo-terminal (PTY) communications.
How does this skill improve terminal performance?
It provides optimized patterns for GPU acceleration using WebGL, output buffering for high-frequency data streams, and flow control mechanisms (high/low watermarks) to prevent UI freezing during intense terminal output.
Does it support advanced input and internationalization?
Yes. The skill includes specific protocols for handling IME composition for CJK languages, mouse interaction sequences, and custom keyboard event handling consistent with VS Code's internal architecture.
What is the Terminal Expert skill for Claude Code?
Terminal Expert is a specialized capability that provides Claude with deep technical knowledge for implementing high-performance terminals within VS Code extensions. It covers the full stack from xterm.js UI to PTY process management.
Can I use it to implement terminal session persistence?
Absolutely. It provides implementation logic for the SerializeAddon and state management techniques to ensure terminal scrollback and session data are correctly saved and restored.
Related skills
Frontend Design
Creates distinctive, production-grade frontend interfaces with high design quality and a strong aesthetic point-of-view.
Developer Tools2,82412 ptsXterm.js Development
Provides battle-tested patterns for building robust, production-grade terminal applications using xterm.js, React, and WebSockets.
Developer Tools9912 ptsBrainstorming and Design
Refines rough ideas into fully-formed software designs using structured questioning, alternative exploration, and incremental validation.
Developer Tools6912 pts