dogfood-tui
Structured TUI dogfooding and QA workflow using agent-tty. Use for exploratory testing, bug hunting, release-readiness validation, and UX review of terminal…
от coder★ 33 звезды на GitHub
Установить dogfood-tui в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Dogfooding TUIs with agent-tty
Use this skill when the user wants structured exploratory testing, bug hunting, release-readiness validation, or UX review for a terminal application or TUI.
Prerequisites
This workflow assumes the agent-tty core skill is already loaded.
If it is not, load it first with agent-tty skills get agent-tty.
Use this skill as the specialized QA layer on top of the core terminal automation workflow.
Choose the Evidence Instrument
Open an agent-tty session when the question needs runtime terminal evidence:
crashes, input routing, focus/navigation behavior, resize behavior, alt-screen or
screen-lifecycle cleanup, animation, transient corruption, or a reviewer-facing
recording of a real interaction.
Prefer source reading, focused unit tests, or layout tests before opening a session for questions about layout math, string width/alignment, style mapping, or static rendering logic. A session can still corroborate the result, but it should not be the first or only instrument for source-answerable questions.
Treat snapshot --format text as searchable terminal text evidence, not as an
authoritative column-width oracle. For CJK, emoji, and other wide-glyph content,
text snapshots serialize the visible characters and can hide width/column
ambiguity. If a text snapshot disagrees with source or layout tests on wide-glyph
alignment, trust the source/tests first and use screenshots as visual
corroboration.
Sessions cost time and setup overhead. Use one when the bug class requires live interaction or reviewable runtime proof, not as the default first move for every visual question.
Dogfooding Workflow
- Create an isolated home so artifacts and session state stay reviewable and do not pollute the real user environment.
- Check renderer and browser prerequisites with
doctor --jsonbefore any screenshot or recording work. - Create the session with a known shell or launcher command and capture the returned session ID.
- Launch the target app intentionally:
- Use
runfor fast setup commands or scripted launches. - Use
typefor literal keystroke-by-keystroke text entry that should appear in the session. - Use
send-keysfor control input such as arrows, Enter, Escape, Ctrl+C, or function-key navigation.
- Use
- Wait on observable state with
waitinstead of blind sleeps:--textwhen a label, prompt, or status message should appear.--screen-stable-mswhen the UI is animating or repainting.--idle-mswhen command completion matters more than screen text.
- Capture the current screen state with
snapshot --format text --jsonfor searchable text evidence. - Capture visual proof with
screenshot --jsonwhen runtime layout, color, cursor, or rendering quality needs visual corroboration. - Export motion proof with
record export --format webm --jsonwhen the issue involves navigation, animation, resize behavior, focus handling, or transient corruption. - Repeat the loop for every meaningful scenario: startup, first-run prompts, resize, help flows, error handling, and teardown.
- Destroy the session when the investigation is complete.
Recommended Session Skeleton
DOGFOOD_HOME="$(mktemp -d)"
agent-tty --home "$DOGFOOD_HOME" doctor --json
SESSION_ID=$(agent-tty --home "$DOGFOOD_HOME" create --json -- /bin/bash | jq -r '.result.sessionId')
agent-tty --home "$DOGFOOD_HOME" run "$SESSION_ID" '<launch-command>' --no-wait --json
agent-tty --home "$DOGFOOD_HOME" wait "$SESSION_ID" --screen-stable-ms 1000 --json
agent-tty --home "$DOGFOOD_HOME" snapshot "$SESSION_ID" --format text --json
agent-tty --home "$DOGFOOD_HOME" screenshot "$SESSION_ID" --json
agent-tty --home "$DOGFOOD_HOME" record export "$SESSION_ID" --format webm --json
agent-tty --home "$DOGFOOD_HOME" destroy "$SESSION_ID" --json
Evidence Checklist
Collect enough evidence that another reviewer can reproduce the result without guessing:
- Exact repro commands, including the launch command and every subsequent
run,type, orsend-keysaction. - Terminal dimensions used for the repro, especially if layout or wrapping is part of the issue.
- At least one screenshot path for the failing or noteworthy state.
- A WebM export path when motion, navigation sequence, or transient rendering matters.
- Snapshot text for the most relevant terminal states so reviewers can search output quickly.
- Expected behavior versus actual behavior written in plain language.
- Whether the issue reproduces consistently, intermittently, or only after a specific setup sequence.
- Cleanup notes, especially if the app leaves background state, temp files, or a broken terminal mode behind.
Issue Taxonomy
Use consistent labels and notes so findings can be triaged quickly:
- Rendering corruption — garbled characters, color loss, double paint, cursor artifacts, or stale cells.
- Resize/layout — wrapping bugs, clipped panes, overlapping widge
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dogfood-tui?
Structured TUI dogfooding and QA workflow using agent-tty. Use for exploratory testing, bug hunting, release-readiness validation, and UX review of terminal applications.
Как установить скилл dogfood-tui?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dogfood-tui запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…