Agent Skills
› warp-drive-data/warp-drive
› mock-cache-checkin
mock-cache-checkin
GitHub确保使用 @warp-drive/holodeck 的测试修改时,相关的 .mock-cache 存根文件被正确暂存和提交,防止 CI 回放失败。
Trigger Scenarios
使用 holodeck mock server 的测试发生变更
准备提交代码或创建 PR
Install
npx skills add warp-drive-data/warp-drive --skill mock-cache-checkin -g -y
SKILL.md
Frontmatter
{
"name": "mock-cache-checkin",
"description": "Ensures `.mock-cache` fixture directories under `tests\/*` are staged and committed whenever a change adds or modifies a test that uses `@warp-drive\/holodeck`'s mock server (`GET`\/`POST`\/`PUT`\/`PATCH`\/`DELETE`\/`HEAD`\/`mock()`). Use before finalizing any commit or opening a PR in this repo, especially from a worktree or agent session where it's easy to stage only the files a task explicitly touched — local test runs silently regenerate these fixtures and it's easy to leave them out of the changeset.",
"user-invocable": false
}
Holodeck mock-cache check-in
Read and follow
warp-drive-packages/memory-alpha/skills/contributors/commit-mock-cache-fixtures.md.
That file is the canonical version of this rule. It lives in @warp-drive/memory-alpha so every
agent working in this repo reaches it through the contributor index, not only Claude Code. This
file exists to trigger at commit time and route you there.
Version History
-
84081dc
Current 2026-09-27 19:39
新增 testing 文档章节,重构 Holodeck 指南结构,将 mock-cache 检查规则迁移为贡献者技能以便 Agent 访问。
- 5c1296a 2026-08-27 16:30


