Apify Output Schema Generator

•
2.0k
•

Generates standardized dataset and key-value store schemas for Apify Actors by analyzing source code and type definitions.

The Apify Output Schema Generator is a specialized skill for Claude Code designed to automate the creation of dataset_schema.json, output_schema.json, and key-value_store_schema.json files. By scanning JavaScript, TypeScript, or Python source code, the skill identifies every data point pushed to storage and maps it to a compliant JSON schema. It enforces critical Apify best practices, such as ensuring all fields are nullable to handle the unpredictable nature of web data, anonymizing example values, and maintaining consistency with existing repository styles. This tool is essential for developers looking to ensure their Actors provide a professional, well-documented experience in the Apify Console without the manual overhead of schema maintenance.

Key Features

01Automated discovery of storage calls like pushData and setValue across multiple languages
02Automatic enforcement of Apify-specific schema rules including nullable fields and additionalProperties
031,973 GitHub stars
04Direct derivation of schema properties from TypeScript interfaces and Python type classes
05Generation of optimized 'Overview' display views for the Apify Console UI
06Context-aware schema creation that matches the naming and formatting conventions of your existing repository

Use Cases

01Standardizing schema formats across a large repository containing multiple Apify Actors
02Generating initial output schemas for new web scraping Actors to enable Console data previews
03Synchronizing existing schema files with recent changes in an Actor's data output logic