Validates JSON syntax across the workspace. Use this skill to check for syntax errors in configuration files, memory files, or data assets.
一个简单的工具,用于递归扫描工作区中的 .json 文件,并使用 JSON.parse() 验证其语法。
bash
JSON 报告包含以下内容:
json
{
scanned_at: 2026-02-14T21:45:00.000Z,
total_files: 150,
valid_files: 149,
invalid_files: 1,
errors: [
{
path: config/broken.json,
error: Unexpected token } in JSON at position 42
}
]
}
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 json-linter-1776420061 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 json-linter-1776420061 技能
skillhub install json-linter-1776420061
文件大小: 3.46 KB | 发布时间: 2026-4-17 18:35