json-yaml

A tool or workflow skill to use when formatting or validating JSON or YAML configurations is needed.

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 "json-yaml" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-019c3e292b6ecb08fef2f06f899682dbc39d60f3356efddb0d2f8f4ff732e2a5. Verify the upstream source and version against https://skillhub.cn/skills/user_af163eaa/z-dev-json-yaml-fmt 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 tool or workflow skill to use when formatting or validating JSON or YAML configurations is needed.

0 Downloads

Introduction source: third_party · user_af163eaa · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: JSON-YAML格式化校验
id: z-dev-json-yaml-fmt
version: 1.0.0
description: 当用户要格式化/校验 JSON 或 YAML 配置时使用。
agent_created: true
platforms: 全平台
category: dev-programming
slug: z-dev-json-yaml-fmt
displayName: JSON-YAML格式化校验
summary: JSON/YAML 格式化与校验工具:粘贴混乱数据即格式化、校验语法错误并定位行。
license: MIT
icon: icon.png

JSON-YAML格式化校验

类型:常规 Skill(程序员小工具)|slug:z-dev-json-yaml-fmt|版本 V1.0.0

一、定位 / 适用边界

  • 定位:JSON/YAML 格式化与校验工具:粘贴混乱数据即格式化、校验语法错误并定位行。
  • 适用:当用户要格式化/校验 JSON 或 YAML 配置时使用。
  • 不适用:与本类其他 Skill 边界不同(见下方红蓝对抗),不替代专业服务/官方系统。
  • 标签:JSON, YAML, 格式化, 开发工具

二、触发词

JSON格式化 / yaml校验 / json yaml / 配置格式化

三、章节地图

需 / 求 / 理 / 解 / 与 / 格 / 式 / 说 / 明

四、工作流程

理解需求 → 生成可运行代码/配置或实时校验 → 给出可复制结果 + 参数解释 + 边界陷阱提示。不替用户执行未知脚本、不写入密钥。

五、输出规范

输出=可复制代码片段/配置 + 关键行注释 + 常见错误与替代方案。

六、红蓝对抗(高频疑问)

Q:生成的跑不通?→贴报错,我据上下文修正。Q:有风险命令?→标注危险性,建议先在测试环境。Q:要适配语言?→说明目标语言即改写。

七、使用建议 / 错题本

提供‘保存为片段’建议;复杂需求拆步验证,避免一次性大段不可测代码。

八、红线 / 安全审查

  • 生成代码/配置仅供参考,执行前请自测与安全审查;不替用户运行未知脚本,不写入密钥。
  • 不含密钥/token;不生成违规或侵权内容;发布须符合平台规范。

九、版本与来源

  • V1.0.0 · 由本工作空间基于 SkillHub 已发布 492 个覆盖的缺口分析催生(方向 程序员小工具),常规 Skill,未接 API/MCP。

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 Value75/100

Highlights

  • 定位为程序员小工具,解决 JSON/YAML 格式化与校验这一明确开发场景需求
  • 属于通用开发工具,受众较广,实用性强
Trigger Precision75/100

Areas to improve

  • 触发词不全 Reported severity: Minor

    触发词覆盖合理,但缺少部分常见变体如 'json validate'、'yaml format',存在少量边缘场景缺失。

    Recommendation: 建议补充常见触发词变体,如 'json validate'、'yaml format'、'json check' 等,以提升触发覆盖率。

Highlights

  • 触发词覆盖合理,边界清晰
Structure and Standards75/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档结构完整,但缺少端到端的完整示例(如具体 JSON/YAML 格式化前后对比)。

    Recommendation: 建议在 '工作流程' 或 '输出规范' 章节补充一个完整的 JSON/YAML 格式化与校验示例,包括输入、处理过程和输出结果。

Highlights

  • 文档结构完整,包含定位、触发词、工作流程、输出规范、红蓝对抗、使用建议等章节
  • Phase/步骤清晰,有出口条件
Execution Reliability85/100

Highlights

  • Skill 为纯提示词类工具,未调用外部 API/MCP,工具来源明确
  • 覆盖主要异常(如报错修正、风险标注),不可逆操作有确认机制(如建议测试环境)
Evidence Verifiability (mean of the first four)78/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.

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.

Not specified in the source documentation.

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