跳到正文
TakoAPI
返回技能列表

expanso-json-validate

由 aronchick 提供

CLI Utilities
627下载量由 clawskills.sh 提供
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接