一键导入
test
Dispatch to the right test skill based on scope or what changed
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Dispatch to the right test skill based on scope or what changed
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Fill missing type, title, and description frontmatter on documents using structured AI output
Download a web page by URL and save it as clean markdown with images
Audit for accessibility — keyboard navigation, ARIA labels, contrast, focus indicators
Produce a full dependency health report (SBOM, vulnerabilities, staleness, upgrades, licenses)
Audit error handling UX — error boundaries, silent failures, loading states, empty states
Audit for unnecessary re-renders — Zustand subscriptions, missing memoization, inline callbacks
| name | test |
| description | Dispatch to the right test skill based on scope or what changed |
| user-invocable | true |
| argument-hint | [scope: all | frontend | backend | e2e | perf] |
Routes to specialized test skills based on an explicit scope or git diff. For a single test category, invoke the sub-skill directly.
Determine scope:
git diff --name-only main...HEAD and pick skills by file typeDispatch:
| Scope / changed files | Invoke |
|---|---|
all | every sub-skill below |
frontend / .ts, .tsx | /test-frontend |
backend / src-tauri/**/*.rs | /test-rust |
e2e / editor, IPC hot paths | /test-e2e |
perf / editor, startup, stores, IPC | /test-perf |
| Any changed TS/TSX | /test-coverage |
| Markdown parse/serialize / Tiptap schema | /test-markdown-roundtrip |
| Pre-release only | /test-e2e-real |
Report consolidated results — one pass/fail summary with per-suite breakdown. Stop at first failing gate if running full suite.
| Skill | Use for |
|---|---|
/test-frontend | typecheck + Vitest unit tests |
/test-rust | cargo test in src-tauri/ |
/test-e2e | Playwright mocked E2E |
/test-e2e-real | Real app E2E (WebDriverIO, pre-release) |
/test-perf | Performance benchmarks + baseline |
/test-coverage | Per-file coverage regression |
/test-markdown-roundtrip | Markdown parse/serialize debugging |
A release cannot ship unless:
For the full release flow use /release — it orchestrates the gates and version bump.
.github/workflows/test.yml is the source of truth — read it for exact runners,
multipliers, and steps (they drift). At time of writing: a Detect changed paths
gate skips the test jobs for docs-only PRs, then four jobs run all on macOS:
test:coverage, perf benchmarks, coverage regression check (PR only)chromium + webkit, runs test:e2ecargo test in src-tauri/tauri-webdriver driving the live app (test:e2e-real-full)All non-skipped jobs must pass for merge. Check the workflow file before relying on any specific runner image or budget multiplier.