opencode-qa
内建 self-test,可做回归与环境验收
会在本地执行命令并读取 SQLite 会话数据,可能泄露敏感会话信息
针对 opencode 本体的自动化 QA 工具,覆盖 CLI、TUI、DB 与事件流测试
对 opencode 本体做自动化 QA,能跑 CLI(run、serve、export)、TUI(tmux 下的冒烟测试)、SQLite DB 查询和通过 SSE 验证插件事件等场景的检查。适合要验证 opencode 功能、调试插件钩子或在数据库里定位会话时使用。特点是每个检查都配套一个带 --self-test 的脚本,脚本既是工具也是自我回归测试。
▸ 展开 SKILL.md 英文原文
QA opencode itself, per case: verify the CLI/terminal (opencode run, db, serve, export), prove a specific plugin hook/action/event fired via the SSE event stream, smoke-test the TUI under tmux, and investigate sessions in opencode's SQLite DB by id, title/name, or message text. Ships tested helper scripts (each with a --self-test) plus per-domain references. Use whenever someone wants to QA, smoke-test, verify, or debug opencode's CLI, HTTP server, plugin hooks/events, or TUI, or to find/inspect opencode sessions in the database. Triggers: opencode qa, qa opencode, test opencode, verify opencode hook, opencode session db, find opencode session by id/name/text, opencode tui test, opencode server health, opencode event stream.
帮我安装这个 skill:https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/.agents/skills/opencode-qa/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/.agents/skills/opencode-qa/SKILL.md"# opencode QA QA the opencode coding agent itself. This skill maps each QA need to a tested helper script and a deep reference. Every script ships a `--self-test` that asserts its scenario against the live machine, so the scripts are both the QA tools and their own regression checks. Verified against opencode v1.17.7 (bun 1.3.12, macOS). Confirm the installed version with `opencode --version`; the surface is stable but always sanity check a flag with `opencode <cmd> --help`. ## Golden rules (read before running anything) - READS of the live DB are safe and intended. Investigating sessions (Case D) only reads `~/.local/share/opencode/opencode.db`. - Anything that SPAWNS opencode (serve,