What problem does it solve?
Creating Zo Datasets by hand is error-prone, especially when schema.yaml must match Zo UI expectations and stay synchronized with the underlying DuckDB tables. This Skill helps you scaffold correct dataset structure and generate schema.yaml reliably, so your tables display properly in the Zo UI.
Core Features & Use Cases
- Scaffold Zo dataset structure from scratch: Creates the required folders and baseline files (datapackage.json, schema.yaml placeholder, README.md, PROCESS.md) for a new dataset.
- Auto-generate Zo-compatible schema.yaml: Generates schema.yaml from data.duckdb using DuckDB table/column metadata and COMMENT annotations.
- Repair broken datasets: Provides a workflow to validate and regenerate schema when Zo UI fails to show tables due to missing files or incorrect schema format.
- Reference documentation for datapackage and DuckDB conventions: Includes guides for schema.yaml format expectations and common Zo dataset troubleshooting.
Quick Start
Run python3 scripts/create_dataset.py <dataset-name> to scaffold a new Zo Dataset directory ready for DuckDB database creation and schema generation.