본문으로 건너뛰기
cccskills
무료GitHub에 공개

tui-debug-in-pane

Use when you need to reproduce or debug TUI rendering issues (garbled output, broken streaming, layout corruption) by running ralph in a tmux split pane and capturing live output.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

tui-debug-in-pane

Debug TUI rendering bugs by launching ralph in a tmux split pane and capturing live output. The split keeps your main pane free for inspection commands.

When to Use

  • Reproducing garbled or corrupted TUI output from a specific provider
  • Investigating streaming rendering issues that only appear live
  • Capturing TUI state for bug reports or diagnostics

Quick Reference

TaskCommand
Identify current panetmux display-message -p '#{session_name}:#{window_index}.#{pane_index}'
Create split panetmux split-window -h -t SESSION:WINDOW -c /path/to/repo
List panestmux list-panes -t SESSION:WINDOW
Fix shell in panetmux send-keys -t PANE "exec /path/to/fish" Enter
Send commandtmux send-keys -t PANE "command" Enter
Capture outputtmux capture-pane -t PANE -p -S -60
Quit TUItmux send-keys -t PANE q
Force stoptmux send-keys -t PANE C-c
Kill split panetmux kill-pane -t PANE

Procedure

1. Create the Split Pane

tmux display-message -p '#{session_name}:#{window_index}.#{pane_index}'
tmux split-window -h -t SESSION:WINDOW -c /path/to/repo
tmux list-panes -t SESSION:WINDOW

2. Fix Shell Environment

Split panes inherit the tmux server's default shell (bash), not the parent's. Tools like pi need fish (mise/Node).

tmux send-keys -t PANE "exec /nix/store/km9w9r1p4nl92y5fp4vfwsjymjig4axl-fish-3.7.1/bin/fish" Enter
tmux send-keys -t PANE "which pi && pi --version" Enter

3. Clean Up Before Running

rm -f .ralph/loop.lock
git worktree prune

4. Launch Ralph

# Prefer release binary (faster startup)
tmux send-keys -t PANE "target/release/ralph run -c CONFIG.yml -p 'prompt' --max-iterations N" Enter

# Or with cargo (must specify --bin for this workspace)
tmux send-keys -t PANE "cargo run --bin ralph -- run -c CONFIG.yml -p 'prompt' --max-iterations N" Enter

5. Capture and Analyze

sleep 20  # Pi/Kiro take 15-30s to start streaming
tmux capture-pane -t PANE -p -S -60
ls -lt .ralph/diagnostics/logs/ | head -5

6. Clean Up

tmux send-keys -t PANE q
tmux send-keys -t PANE C-c
tmux kill-pane -t PANE

Common Mistakes

  • Shell mismatch: Split panes get bash by default. If tools fail with "command not found", switch to fish with exec /path/to/fish.
  • Stale loop lock: If .ralph/loop.lock exists, ralph spawns worktree loops instead of running normally. Always delete it first.
  • Wrong backend in TUI header: Without cli.backend: pi in the config, ralph uses claude regardless of hat settings.
  • Missing hat name field: HatConfig requires name; omitting it causes a config parse error.
  • Premature capture: Pi and Kiro take 15-30s before streaming text appears. Capture too early and you see an empty content area.
  • Ghost keystrokes: If the TUI already exited, pressing q prepends it to your next command. Check if the TUI is still running before sending quit keys.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical Implementation Partner and TDD Coach — following existing patterns, avoiding over-engineering, and producing idiomatic, modern code.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mikeyobrien/ralph-orchestrator3.2천2026년 10월 16일 업데이트

Generates structured .code-task.md files from descriptions or PDD implementation plans. Auto-detects input type, creates properly formatted tasks with Given-When-Then acceptance criteria.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mikeyobrien/ralph-orchestrator3.2천2026년 10월 16일 업데이트

Use when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mikeyobrien/ralph-orchestrator3.2천2026년 10월 16일 업데이트

Lists all code tasks in the repository with their status, dates, and metadata. Useful for getting an overview of pending work or finding specific tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mikeyobrien/ralph-orchestrator3.2천2026년 10월 16일 업데이트

pdd

무료

Transforms a rough idea into a detailed design document with implementation plan. Follows Prompt-Driven Development — iterative requirements clarification, research, design, and planning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mikeyobrien/ralph-orchestrator3.2천2026년 10월 16일 업데이트

Browser automation via Playwriter (remorses) using persistent Chrome sessions and the full Playwright Page API.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mikeyobrien/ralph-orchestrator3.2천2026년 10월 16일 업데이트

mikeyobrien의 스킬 모두 보기

이 스킬의 문제 신고