yapi-mock-data

Official

Generate mock data and TypeScript types from YApi definitions.

Authorempjs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps AI agents read YApi definitions and automatically generate mock data and corresponding TypeScript types, accelerating test data creation and validation.

Core Features & Use Cases

  • Generate JSON mock data from YApi schemas
  • Create TypeScript types from API definitions for type-safe tests
  • Use in CI pipelines to seed test environments with realistic data
  • Use Case: quickly spin up an API client mock from a YApi project to drive UI tests

Quick Start

Provide the path to your YApi project and run the skill to generate mocks and types.

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: yapi-mock-data
Download link: https://github.com/empjs/skill/archive/main.zip#yapi-mock-data

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.