a2a-source-edit: write skills/data-workflow-design/SKILL.md

This commit is contained in:
a2a-cloud
2026-07-18 15:49:48 +00:00
parent c0c39c06c6
commit fdc8089d0e

View File

@@ -0,0 +1,18 @@
---
name: data-workflow-design
description: "Design reusable extraction and transformation workflows for CSV, Excel, JSON, JSON-LD, and other structured data using a target JSON Schema."
---
# data-workflow-design
# Data Workflow Design
When creating an extraction and transformation workflow:
1. Identify the source format and parse strategy (csv, excel, json, jsonld, or text).
2. Inspect a bounded sample only; never assume unbounded rows are available.
3. Treat the supplied JSON Schema as the target contract. Required fields must be mapped or listed as gaps.
4. Prefer exact source field matches first, then case/space/punctuation-normalized matches.
5. Add transformation steps for type coercion, enum checks, date normalization, number parsing, trimming, and default handling.
6. Include validation gates before output: required fields, type checks, additionalProperties behavior, and per-field constraints.
7. Save a reusable JSON workflow spec with version, source profile, target schema, mapping rules, validation rules, and an execution receipt reference.
8. Never include credentials, platform tokens, database URLs, or raw oversized data in saved workflows.