一键导入
run-tests
Runs Vitest tests across the workspace or for a specific lib. Use after any code change before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Runs Vitest tests across the workspace or for a specific lib. Use after any code change before committing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Creates a new self-contained subagent identity in .claude/agents/ and its .github/agents/ (Copilot) and .junie/agents/ (Junie) mirrors. Use when introducing a new expert identity to the klank agent system.
Checks klank's agent setup for consistency - mirror parity, frontmatter, cross-refs, stale paths, descriptions. Use before any commit under .claude/, .github/agents/, or docs/agents/.
Diagnoses a failing CI/CD run via failed-step logs, debug logging, re-runs, flaky triage, and local repro. Loads a platform reference (e.g. github-actions). Use when a pipeline run is failing.
Audits and hardens an existing CI/CD pipeline against supply-chain and injection attacks. Loads a platform reference (e.g. github-actions) with a full checklist. Use when securing pipelines.
Keeps CI/CD pipelines healthy via dependency and runner-image updates, pruning, and reusable-pipeline versioning. Loads a platform reference (e.g. github-actions). Use for routine upkeep.
Scaffolds a secure-by-default CI/CD pipeline - least-privilege, pinned deps, caching, matrices, reusable parts. Loads a platform reference (e.g. github-actions). Use when creating a pipeline.
| name | run-tests |
| description | Runs Vitest tests across the workspace or for a specific lib. Use after any code change before committing. |
libs/ or apps/klank/app/pnpm nx run-many -t testpnpm nx test @klank/platform-api (or @klank/ui, @klank/store)pnpm nx test @klank/platform-api --watchpnpm nx test @klank/platform-api --coveragelocalStorage.clear() to beforeEach in the failing test file.act() warning → wrap state-updating calls in act(() => { ... }).tsconfig.base.json §paths has the @klank/* alias for the lib under test.vi.stubGlobal.