العودة إلى المهارات
expanso-json-to-yaml
بواسطة aronchick
PDF & Documents—لم يُقيَّم بعد
تقييمك
موجز
Convert JSON to YAML format.
الوصف
ما الذي تفعله هذه المهارة
Converts JSON input to YAML format using the Expanso Edge runtime. Runs as a CLI pipeline or as an MCP server, and can also be deployed to Expanso Cloud for remote execution.
Runs the conversion as a reusable pipeline without writing a one-off script or relying on an online tool.
متى تستخدمها
- Converting API response payloads to YAML config files
- Transforming JSON exports into Kubernetes manifest format
- Reformatting package.json fields as YAML for CI tools
- Converting JSON schema definitions to YAML equivalents
- Batch converting JSON data files to YAML in automation pipelines
مثال على سير العمل
الإدخال
User asks: Convert this JSON to YAML: {"name": "example", "version": "1.0"}
الوكيل
- 1
Receives the JSON string as stdin input
- 2
Pipes it to expanso-edge running the CLI pipeline
- 3
Pipeline processes the JSON-to-YAML conversion
- 4
Returns the formatted YAML string
الإخراج
name: example version: '1.0'
المتطلبات
- expanso-edge binary installed and in PATH (install via clawhub install expanso-edge)
التثبيت
clawhub install aronchick/expanso-json-to-yamlشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.