ajv-clijson

A mode-check tool run from the shell or CI to fail malformed JSON, JSON5, or YAML before they reach downstream tools.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ajv-clijson" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-36cf5051661df0a77c20cee18c78d7ec9442904d8ba55cbb4eaba22053f13bda. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/validate-json-data-and-config-files-against-schemas-with-ajv-cli before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A mode-check tool run from the shell or CI to fail malformed JSON, JSON5, or YAML before they reach downstream tools.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Node.js, ajv-cli, one or more JSON Schema or JTD files, and target JSON, JSON5, or YAML data files
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 ajv-cli 验证 JSON 数据和配置文件是否符合模式要求"
slug: "validate-json-data-and-config-files-against-schemas-with-ajv-cli"
version: "1.0.0"
displayName: "使用 ajv-cli 验证 JSON 数据和配置文件是否符合模式要求"
summary: "从shell或CI运行模式检查,以便在不良格式的JSON、JSON5或YAML输入到达下游工具之前使其失败。"
license: "MIT"
description: "从shell或CI运行模式检查,以便在不良格式的JSON、JSON5或YAML输入到达下游工具之前使其失败。"
github_stars: 308
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Library & API Reference"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 308
  npm_package: "ajv-cli"
  npm_weekly_downloads: 335297

使用 ajv-cli 验证 JSON 数据和配置文件是否符合模式要求

Run schema checks from the shell or CI so malformed JSON, JSON5, or YAML inputs fail before they reach downstream tooling.

Prerequisites

Node.js, ajv-cli, one or more JSON Schema or JTD files, and target JSON, JSON5, or YAML data files

Installation

Use the upstream install or setup path that matches your environment:

  • npm install -g ajv-cli

Requirements and caveats from upstream:

  • Multiple schemas can be passed both by using this parameter multiple times and with glob patterns. Glob pattern should be quoted and extensions cannot be omitted.
  • These modules can be written in TypeScript if you have ts-node installed.
  • Multiple schemas can be passed both by using this parameter multiple times and with glob patterns.

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value90/100

Highlights

  • 提供 JSON/JSON5/YAML 数据格式验证能力,适用于开发、CI/CD 等高频刚需场景
  • 能显著提升数据格式校验效率,属于高价值工具
Trigger Precision90/100

Highlights

  • description 明确描述了从 shell 或 CI 运行模式检查 JSON/JSON5/YAML 输入格式
  • 触发词精准完整,覆盖多种变体
Structure and Standards90/100

Highlights

  • 文档包含 Prerequisites、Installation、Basic usage 等清晰步骤
  • 有端到端示例,frontmatter 完整,结构清晰
Execution Reliability90/100

Highlights

  • 工具来源明确(ajv-cli),参数说明清晰
  • 覆盖主要异常场景,无不可逆操作
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 34
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Node.js, ajv-cli, one or more JSON Schema or JTD files, and target JSON, JSON5, or YAML data files

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.