تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

expanso-json-validate

بواسطة aronchick

CLI Utilities
627التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

"Validate JSON syntax and structure".

الوصف

ما الذي تفعله هذه المهارة

Validates JSON syntax and structure by piping input through an Expanso Edge pipeline. Can run as a standalone CLI tool or as an MCP server. Supports deployment to Expanso Cloud for remote execution.

Runs as both a CLI pipeline and an MCP server, so the same validation logic works in scripts, agent workflows, and cloud deployments without changes.

متى تستخدمها

  • Checking API response payloads for malformed JSON before processing
  • Validating configuration files before deploying to production
  • Debugging JSON parsing errors from third-party services
  • Automated validation of webhook payloads in CI pipelines
  • Batch-checking multiple JSON files for structural issues

مثال على سير العمل

الإدخال

User asks: Is this JSON valid? {"name": "Alice", "age": 30}

الوكيل
  1. 1

    Receives the JSON string as input

  2. 2

    Pipes it through the Expanso Edge CLI pipeline

  3. 3

    Runs syntax and structure validation

  4. 4

    Returns the validation result

الإخراج

Confirmation that the JSON is valid, or an error message identifying the location of the malformed content

المتطلبات

  • Expanso Edge binary installed in PATH (install via clawhub: clawhub install expanso-edge)

التثبيت

clawhub install aronchick/expanso-json-validate

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط