Stabilize product data export flow

This commit is contained in:
wuyang6
2026-05-11 11:46:09 +08:00
parent 1752c81913
commit 0e2a00990f
19 changed files with 659 additions and 31 deletions
+9 -1
View File
@@ -23,10 +23,18 @@ tools:
command: python skills/product-data/scripts/validate_dataset_records.py --input <input.json>
stdin: true
- name: product_data_export_dataset_records
description: Validate canonical records and write compact JSONL or JSON files without asking the model to hand-write JSON.
description: Validate canonical records and write compact JSONL or JSON files plus a sibling records.csv sharing table without asking the model to hand-write files.
script: scripts/export_dataset_records.py
input_schema: schemas/export_dataset_records.input.schema.json
output_schema: schemas/export_dataset_records.output.schema.json
fallback:
command: python skills/product-data/scripts/export_dataset_records.py --input <input.json>
stdin: true
- name: product_data_export_dataset_table
description: Convert existing canonical records into the shared records.csv table format without rewriting the metadata file.
script: scripts/export_dataset_table.py
input_schema: schemas/export_dataset_table.input.schema.json
output_schema: schemas/export_dataset_table.output.schema.json
fallback:
command: python skills/product-data/scripts/export_dataset_table.py --input <input.json>
stdin: true