capture-api-response-test-fixture

Official

Capture real API responses for reliable tests

Authorvercel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach for storing true API responses as test fixtures, enabling reliable provider-parsing tests and deterministic results.

Core Features & Use Cases

  • Store real provider responses in a dedicated fixtures folder to ensure tests reflect real-world outputs.
  • Guide for generating and validating fixtures using generateText and streamText workflows, with examples.
  • Use Case: Validate response parsing across providers by reusing saved fixtures during test runs.

Quick Start

Use the fixtures workflow to generate a new test fixture from a provider response and save it under the fixtures directory using the examples described in the Skill's guidance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: capture-api-response-test-fixture
Download link: https://github.com/vercel/ai/archive/main.zip#capture-api-response-test-fixture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.