·capture-api-response-test-fixture
!

capture-api-response-test-fixture

vercel/ai

Capture API response test fixture.

288Installs·4Trend·@vercel

Installation

$npx skills add https://github.com/vercel/ai --skill capture-api-response-test-fixture

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.

Capture API response test fixture. Source: vercel/ai.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/vercel/ai --skill capture-api-response-test-fixture
Source
vercel/ai
Category
!Security
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is capture-api-response-test-fixture?

Capture API response test fixture. Source: vercel/ai.

How do I install capture-api-response-test-fixture?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/vercel/ai --skill capture-api-response-test-fixture Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/vercel/ai