用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/daveymason/Termalime --skill verify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | verify |
| description | Build, launch, and drive Termalime (Tauri desktop app) to verify changes end-to-end on Linux. |
# Rust backend tests (from src-tauri/)
PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH cargo test
# Frontend typecheck + bundle (from repo root)
npm run build
Snap-installed VSCode leaks GTK/snap env vars that crash the binary with
symbol lookup error: /snap/core20/.../libpthread.so.0. Launch with:
env -u GTK_PATH -u GTK_EXE_PREFIX -u GDK_PIXBUF_MODULE_FILE -u GDK_PIXBUF_MODULEDIR \
-u GIO_MODULE_DIR -u GSETTINGS_SCHEMA_DIR -u LOCPATH -u GTK_IM_MODULE_FILE \
XDG_DATA_DIRS="/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop" \
<command>
Dev mode needs the vite server on :1420 (npm run dev), then run
src-tauri/target/debug/Termalime directly (or npm run tauri dev with the
env cleanup above).
Never inject synthetic input into the user's live display (:1) — the desktop session is often in active use. Use a nested X server instead; Xephyr is installed:
Xephyr :2 -screen 1300x900 -title "Termalime test" & # appears as one window
DISPLAY=:2 <cleaned-env launch of Termalime>
DISPLAY=:2 import -window root shot.png # screenshot
No xdotool on this machine. Use python-xlib (XTEST) in a venv for
clicks/keys — a ready-made driver pattern: xdrive.py with
click X Y, type "text", key Return, connecting via $DISPLAY.
ps --ppid $(pgrep -x Termalime) -o cmd= | grep -c 'bash -i'
should equal the number of open terminal tabs (dev StrictMode double-mounts
are cleaned up if close_pty works).