Community编程与开发github.com

clankership/plugin

设置产品以使其 Clanker Ship 测试在所有环境(包括生产环境)中运行:包括 Fixture API、TESTING.md、测试辅助工具和 CI。当用户要求设置测试、添加 Fixture API 或针对暂存或生产环境运行测试时使用。获取团队的实时固件和测试 CI 指令。

plugin 是什么?

此技能用于自动化设置 Clanker Ship 产品的端到端测试基础设施,确保测试在所有环境(暂存、生产等)中一致运行。它主要提供两个核心功能:通过 `get_agent_instructions` 工具获取团队的“固件”和“测试 CI”指令,然后指导用户构建 Fixture API、为每个部署设置固件 URL、编写 `TESTING.md` 文件,并添加 CI 运行配置。最后,通过运行 `clanker fixtures check --environment <env>` 验证每个环境的测试通过。当用户需要修改测试设置时,可以使用 `update_agent_instructions` 保存变更。此技能适用于使用 Clanker Ship 的开发团队,支持 Cursor 等 AI 编程助手平台。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clankership/plugin/tree/HEAD/skills/set-up-testing

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

设置测试

  1. 使用 kind: "fixtures" 和团队密钥调用 get_agent_instructions,然后使用 kind: "test-ci" 和团队密钥再次调用。
  2. 遵循固件指南构建 Fixture API,设置每个部署的固件 URL,并根据模板编写 TESTING.md。
  3. 遵循测试 CI 指南添加 CI 运行。
  4. 为每个环境运行 clanker fixtures check --environment <env>,直到通过。在说明需要等待批准的地方停止。
  5. 当用户要求更改测试设置时,使用 update_agent_instructions 保存更改。

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

相关技能