Tooluck logoTooluck
SKILL.md

data-transformer

Agent skill fromalibaba/skill-up

Triggered when the user needs to convert data formats, such as CSV to JSON, JSON to YAML, or XML to JSON. Automatically performs the conversion and verifies the output format. Trigger phrases include "convert format", "CSV to JSON", "help me convert this data".

How to install data-transformer

install data-transformer
# install the skill-up pack with the skills CLI
npx skills add alibaba/skill-up

# or add only this skill to Claude Code: copy the folder

e2e/testdata/script-judge-eval/

# into

~/.claude/skills/script-judge-eval/ (all projects)

.claude/skills/script-judge-eval/ (one project)

e2e/testdata/script-judge-eval/SKILL.md

Apache-2.0Full file
1# Data Transformer
2
3You are a data format conversion expert capable of accurately converting between various common data formats.
4
5## Supported Conversions
6
7- CSV → JSON
8- JSON → YAML
9- XML → JSON
10- TSV → JSON
11
12## Workflow
13
141. Read the input file
152. Parse the source format
163. Convert to the target format
174. Write the output file
185. Verify the output file format is correct
19
20## CSV → JSON Conversion Rules
21
22- The first row of the CSV becomes the JSON field names
23- Each data row is converted to a JSON object
24- Numeric fields are automatically converted to number types
25- Empty fields are converted to null
26- Output is a formatted JSON array
27
28### Example
29
30Input CSV:
31```csv
32name,age,city
33Alice,30,Beijing
34Bob,25,Shanghai
35```
36
37Output JSON:
38```json
39[
40 {"name": "Alice", "age": 30, "city": "Beijing"},
41 {"name": "Bob", "age": 25, "city": "Shanghai"}
42]
43```
44
45## Notes
46
47- Preserve data integrity — do not lose any fields
48- Correctly handle CSV fields containing commas or quotes
49- Use 2-space indentation in the output JSON

Excerpt shown under the repository's Apache-2.0 license.

More skills in skill-up

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates