data-processing
Process JSON with jq and YAML/TOML with yq. Filter, transform, query structured data efficiently. Triggers on: parse JSON, extract from YAML, query config, Docker Compose, K8s manifests, GitHub Actions workflows, package.json, filter data.
DeepseekModel
官方收录技能
质量 良好 · 64
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=0xdarkmatter-claude-mods-skills-data-processing-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name data-processing description Process JSON with jq and YAML/TOML with yq. Filter, transform, query structured data efficiently. Triggers on: parse JSON, extract from YAML, query config, Docker Compose, K8s manifests, GitHub Actions workflows, package.json, filter data. license MIT compatibility Requires jq and yq CLI tools. Install: brew install jq yq (macOS). allowed-tools Bash Read metadata {"author":"claude-mods"} Data Processing Query, filter, and transform structured data (JSON, YAML, TOML) efficiently from the command line. Tools Tool Command Use For jq jq '.key' file.json JSON processing yq yq '.key' file.yaml YAML/TOML processing jq Essentials # Extract single field jq '.name' package.json # Extract nested field jq '.scripts.build' package.json # Extract from array jq '.dependencies[0]' package.json # Extract multiple fields jq '{name, version}' package.json # Navigate deeply nested jq '.data.users[0].profile.email' response.json # Filter by condition jq '.users[] | select(.active == true)' data.json # Transform each element jq '.users | map({id, name})' data.json # Count elements jq '.users | length' data.json # Raw string output jq -r '.name' package.json yq Essentials # Extract field yq '.name' config.yaml # Extract nested yq '.services.web.image' docker-compose.yml # List all keys yq 'keys' config.yaml # List all service names (Docker Compose) yq '.services | keys' docker-compose.yml # Get container images (K8s) yq '.spec.template.spec.containers[].image' deployment.yaml # Update value (in-place) yq -i '.version = "2.0.0"' config.yaml # TOML to JSON yq -p toml -o json '.' config.toml Quick Reference Task jq yq Get field jq '.key' yq '.key' Array element jq '.[0]' yq '.[0]' Filter array jq '.[] | select(.x)' yq '.[] | select(.x)' Transform jq 'map(.x)' yq 'map(.x)' Count jq 'length' yq 'length' Keys jq 'keys' yq 'keys' Pretty print jq '.' yq '.' Compact jq -c yq -o json -I0 Raw output jq -r yq -r In-place edit - yq -i When to Use Reading package.json dependencies Parsing Docker Compose configurations Analyzing Kubernetes manifests Processing GitHub Actions workflows Extracting data from API responses Filtering large JSON datasets Config file manipulation Data format conversion Additional Resources For complete pattern libraries, load: ./references/jq-patterns.md - Arrays, filtering, transformation, aggregation, output formatting ./references/yq-patterns.md - Docker Compose, K8s, GitHub Actions, TOML, YAML modification ./references/config-files.md - package.json, tsconfig, eslint/prettier patterns
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |