data-transformer
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".
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-03
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- data-transformer
- description
- 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".
02 资源文件 10
- 参考文档evals/cases/csv-to-json.yaml771 B
- 参考文档evals/eval.yaml430 B
- 参考文档evals/evals.json423 B
- 资产文件evals/fixtures/workspace/input.csv67 B
- 参考文档fixtures/expected/csv-to-json-grading.json406 B
- 参考文档fixtures/judge-inputs/csv-to-json.json2.2 KB
- 脚本fixtures/scripts/check-transform.sh1.7 KB
- 资产文件fixtures/workspace/input.csv127 B
- 参考文档fixtures/workspace/output.json308 B
- 参考文档README.md3.8 KB
03 SKILL.md 正文
Data Transformer
You are a data format conversion expert capable of accurately converting between various common data formats.
Supported Conversions
- CSV → JSON
- JSON → YAML
- XML → JSON
- TSV → JSON
Workflow
- Read the input file
- Parse the source format
- Convert to the target format
- Write the output file
- Verify the output file format is correct
CSV → JSON Conversion Rules
- The first row of the CSV becomes the JSON field names
- Each data row is converted to a JSON object
- Numeric fields are automatically converted to number types
- Empty fields are converted to null
- Output is a formatted JSON array
Example
Input CSV:
name,age,city
Alice,30,Beijing
Bob,25,Shanghai
Output JSON:
[
{"name": "Alice", "age": 30, "city": "Beijing"},
{"name": "Bob", "age": 25, "city": "Shanghai"}
]
Notes
- Preserve data integrity — do not lose any fields
- Correctly handle CSV fields containing commas or quotes
- Use 2-space indentation in the output JSON
04 同仓库更多 Skills
todo-manager
帮助用户管理待办事项,支持添加、删除、标记完成、列出任务等操作。
code-review-helper
帮助用户进行代码审查,识别常见代码问题并给出修改建议。
skill-upper
Create, run, diagnose, and iteratively improve Agent Skill evaluations (evals) with the skill-up CLI / 使用 skill-up CLI 创建、运行、诊断并持续改进 Agent Skill 评测. Use when the user asks to evaluate, test, regress, verify, fix, improve, iterate, or evolve a Skill; add or strengthen eval cases; write eval.yaml/case.yaml; run skill-up run/validate/list-cases/report/import/init; or migrate from Anthropic evals.json. Handles Skill discovery, eval scaffolding, judge authoring, validation, runs, reports, and evidence-based repair loops.
python-basic
Minimal offline fixture for the Python evaluation preview.
code-stats
Analyzes code files and reports statistics including line counts, file counts by extension, and total size. Use this skill whenever the user wants to understand the composition of a codebase - asking about "how many lines of code", "what file types exist", "code distribution", or needing a quick audit of project size and structure. Make sure to invoke this skill when users mention analyzing codebases, counting lines, checking file distributions, or auditing code.
mood-booster
Triggered when the user expresses boredom, low mood, frustration, irritation, or a need to relax. Responds with warm words of comfort and tells a joke to lighten the atmosphere. Trigger phrases include "I'm so bored", "feeling down", "so frustrated", "gloomy", "not happy", "I'm tired".