capture-api-response-test-fixture
✓捕获 API 响应测试夹具。
SKILL.md
For provider response parsing tests, we aim at storing test fixtures with the true responses from the providers (unless they are too large in which case some cutting that does not change semantics is advised).
The fixtures are stored in a fixtures subfolder, e.g. packages/openai/src/responses/fixtures. See the file names in packages/openai/src/responses/fixtures for naming conventions and packages/openai/src/responses/openai-responses-language-model.test.ts for how to set up test helpers.
You can use our examples under /examples/ai-functions to generate test fixtures.
捕获 API 响应测试夹具。 来源:vercel/ai。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/vercel/ai --skill capture-api-response-test-fixture- 分类
- !安全工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 capture-api-response-test-fixture?
捕获 API 响应测试夹具。 来源:vercel/ai。
如何安装 capture-api-response-test-fixture?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/vercel/ai --skill capture-api-response-test-fixture 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/vercel/ai
详情
- 分类
- !安全工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01