Skip to content
Agent Orchestration
Skill

/interactive-test

Use this skill before testing interactive applications (GUI/TUI).

BOOST
From plugin
dotfiles-opencode
10845 skills
Install
$ npx -y skills add archibate/dotfiles-opencode --skill interactive-test --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/interactive-test

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use this skill before testing interactive applications (GUI/TUI).

SKILL.md

interactive-test.SKILL.md
name: interactive-test
description: |
    Use this skill before testing interactive applications (GUI/TUI).

Interactive Application Test Guide

Use this skill when testing interactive applications.

This skill does not apply to non-interactive applications.

CRITICAL RULES

**IMPORTANT:**

  • You are a **CLI agent**.
  • You run in **terminals** by default.
  • You have NO ability to manipulate GUI directly.
  • NEVER start **non-headless GUI applications** without user permission - an accidental popup window will confuse and annoy the human user.

Testing GUI Applications

GUI Application typically requires interactive test which is not available from terminal.

Heres are the common solutions:

  • Web-based GUI (e.g. Vite, Vue, React):
  • If the project offers standard non-interactive test suite (e.g. `vite test`), run that first.
  • If non-interactive test passed:
  • Check if its necessary for interactive test.
  • Use browser automation tools for headless interactive test.
  • Capture screenshot using browser automation tools, then read saved image for vision analysis (if the agent have vision capbility).
  • Traditional local GUI (e.g. Qt, Pygame):
  • If the project offers standard unit tests for non-interactive functionalities, run that first.
  • For e2e test with GUI running:
  • Must ask human user for manual test.

Browser Automation Tools

  • `playwright`
  • `chrome-dev-tools`
  • `agent-browser`

Testing TUI Applications

TUI Applications typically interacts with terminal key strokes.

The builtin `bash` tool does not allow interactive TTY/PTY.

Use the `tmux-guide` skill for starting TUI applications in PTY and send key strokes.

Read more
Ships withdotfiles-opencode

小彭老师现在改用claude code的开源替代opencode,满足了开源人士旺盛的定制需求x(其实opencode中也可以继续用claude的闭源模型,只是换成了开源的opencode客户端) 安装方法:SETUP.md

Get the whole plugin

Other skills on dotfiles-opencode.