1.9k sybil-solutions

test-t3-app Skill

通过内置 Browser 面板针对隔离的开发状态测试 T3 Code 的 Web 和桌面 UI。用于浏览器验证、浏览器配对恢复和测试夹具。原生移动端验证请使用 test-t3-mobile。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Test T3 web and desktop

Use T3's built-in Browser panel for verification. If its tools are absent or
the panel reports unavailable, explain the blocker and stop verification.
Do not install or switch to another automation system. For native mobile
testing, use test-t3-mobile.

Start the app

Reuse this task's healthy dev server. Otherwise run vp run dev from the
repository root and retain its terminal session. Use the worktree's ignored
.t3 state and read the actual ports and pairing URL from the dev-runner output.
Never run against ~/.t3/userdata or set VITE_HTTP_URL or VITE_WS_URL.

Test with meaningful project and thread data. Read
references/sqlite-fixtures.md only when
inspecting or seeding SQLite. Stop the test server before direct fixture writes.

Use the Browser panel

Call preview_status, then preview_open if the Browser panel is
closed. Navigate to the complete startup pairing URL once with
preview_navigate, then use preview_snapshot and T3's interaction tools.
If the token was consumed or expired, run node apps/server/src/bin.ts pair
for a fresh one. Keep using the same tab.

Verify and retain

Exercise the affected flow and capture the state that proves it works. Keep
the server, state, and panel available while the user inspects or iterates.
An assistant turn ending is not teardown. Stop only processes you started,
using retained terminal sessions or captured PIDs.

When sharing is requested, start with vp run dev --share and give the user
a fresh complete pairing URL that you have not consumed. Keep other credentials
out of screenshots, commits, and replies.