tabz-development
/tabz-development
Patterns for building and debugging TabzChrome itself. Use when working on Terminal.tsx, xterm.js integration, WebSocket I/O, resize handling, or any TabzChrome extension/backend code.
- Author
- GGPrompts ↗
- Repository
- TabzChrome ↗
- Licence
- MIT
- Last repository change
- 24.08.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 24.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Patterns for building and debugging TabzChrome itself. Use when working on Terminal.tsx, xterm.js integration, WebSocket I/O, resize handling, or any TabzChrome extension/backend code.
Original author description
Patterns for building and debugging TabzChrome itself. Use when working on Terminal.tsx, xterm.js integration, WebSocket I/O, resize handling, or any TabzChrome extension/backend code.
How it works
- Core Architecture
- Key Files
- Quick Patterns
- References
SKILL.md preview
---
name: tabz-development
description: "Patterns for building and debugging TabzChrome itself. Use when working on Terminal.tsx, xterm.js integration, WebSocket I/O, resize handling, or any TabzChrome extension/backend code."
---
# TabzChrome Development
Reference patterns for building TabzChrome's terminal implementation.
## Core Architecture
```
extension/components/Terminal.tsx → WebSocket → backend/modules/pty-handler.js
↓ ↓
xterm.js render tmux session
```
## Key Files
| File | Purpose |
|------|---------|
| `extension/components/Terminal.tsx` | xterm.js terminal + resize |
| `extension/hooks/useTerminalSessions.ts` | Session lifecycle |
| `extension/background/websocket.ts` | WebSocket management |
| `backend/modules/pty-handler.js` | PTY spawning, tmux |
## Quick Patterns
### Terminal Initialization
```typescript
const term = new Terminal({ /* options */ });
const fitAddon = new FitAddon();
term.loadAddon(fitAddon);
term.open(containerRef.current);
fitAddon.fit();
```
### Resize Handling
```typescript
// Debounce resize, sync xterm → PTY
fitAddon.fit();
ws.send(JSON.stringify({ type: 'resize', cols: term.cols, rows: term.rows }));
```
### WebSocket I/O
```typescript
// Terminal → Backend
term.onData(data => ws.send(JSON.stringify({ type: 'input', data })));
// Backend → Terminal
ws.onmessage = (e) => term.write(JSON.parse(e.data).data);
```
## References
See `references/` for detailed patterns:
- `xterm-patterns.md` - Terminal setup, addons, options
- `resize-handling.md` - Debouncing, PTY sync
- `websocket-io.md` - Message protocol, reconnection
- `testing-checklist.md` - Manual test scenarios
Files in this package (5)
- SKILL.md 2 KB
- references/resize-handling.md 10 KB
- references/testing-checklist.md 9 KB
- references/websocket-io.md 5 KB
- references/xterm-patterns.md 19 KB
Versions
The database has no other skills named tabz-development.
Identical content appears in 4 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 430464b711f5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100tabz-terminals
Spawn and manage terminal tabs via TabzChrome REST API. Use when spawning workers, creating terminals programmatically, setting up worktrees for parallel work, or crafting prompts for Claude workers. - 95xtermjs-skill
Build, configure, debug and extend browser and Electron terminal UIs with xterm.js (@xterm/xterm). TRIGGER WHEN: working with xterm.js, @xterm/xterm, FitAddon, WebglAddon, SearchAddon, AttachAddon, node-pty over WebSocket, ANSI/VT sequences, or embedding a web terminal in React/Vue/Electron. - 95xtermjs-skill
Build, configure, debug and extend browser and Electron terminal UIs with xterm.js (@xterm/xterm). TRIGGER WHEN: working with xterm.js, @xterm/xterm, FitAddon, WebglAddon, SearchAddon, AttachAddon, node-pty over WebSocket, ANSI/VT sequences, or embedding a web terminal in React/Vue/Electron. - 100tabz-browser
Browser automation via 70 tabz MCP tools. Use when taking screenshots, filling forms, debugging network requests, testing responsive design, or using text-to-speech notifications. - 100web-terminal
使用 mearl terminal 操作已打开的 xterm.js 和 Ghostty Web 终端。发现标签页和 iframe 中的面板,读取滚屏或视口,发送文本和按键,等待提示符,并在支持的终端获取命令输出和退出码。 - 100renderer-terminal
xterm.js patterns in Walph (TerminalPanel, terminalBus buffering, fit/resize, focus, lifecycle with the pty in main). Use when creating or reviewing anything in src/renderer/src/components/TerminalPanel.tsx, lib/terminalBus.ts or terminal features.