Make product-data skill portable
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
version: 1
|
||||
skill: product-data
|
||||
description: Product-data portable tool manifest. Scripts are the source of capability; platform tool registration is only an adapter.
|
||||
runtime:
|
||||
language: python
|
||||
min_python: "3.10"
|
||||
dependencies: []
|
||||
tools:
|
||||
- name: product_data_normalize_dataset_draft
|
||||
description: Parse dataset draft text v1 into canonical records with generated ids, timestamps, source metadata, context and labels.
|
||||
script: scripts/normalize_dataset_draft.py
|
||||
input_schema: schemas/normalize_dataset_draft.input.schema.json
|
||||
output_schema: schemas/normalize_dataset_draft.output.schema.json
|
||||
fallback:
|
||||
command: python skills/product-data/scripts/normalize_dataset_draft.py --input <input.json>
|
||||
stdin: true
|
||||
- name: product_data_validate_dataset_records
|
||||
description: Validate canonical product-data records for required fields, labels, timestamp order and prompt stitching constraints.
|
||||
script: scripts/validate_dataset_records.py
|
||||
input_schema: schemas/validate_dataset_records.input.schema.json
|
||||
output_schema: schemas/validate_dataset_records.output.schema.json
|
||||
fallback:
|
||||
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.
|
||||
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
|
||||
Reference in New Issue
Block a user