csvschemavalidatorauto-fixer

Validate CSV files against a JSON Schema using AJV and csv-parse. Includes automatic detection and fixing of type mismatches, missing required columns, and encoding issues, with support for configurable strictness levels.

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 "csvschemavalidatorauto-fixer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-badd0a313f2c5323cc113c42698dabd96548ac62646d53736bf605255bd9f9d8. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/csv-schema-validator-auto-fixer 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

Validate CSV files against a JSON Schema using AJV and csv-parse. Includes automatic detection and fixing of type mismatches, missing required columns, and encoding issues, with support for configurable strictness levels.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the 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: "CSV Schema Validator & Auto-Fixer"
slug: "csv-schema-validator-auto-fixer"
version: "1.0.0"
displayName: "CSV Schema Validator & Auto-Fixer"
summary: "使用 AJV 和 csv-parse 验证 CSV 文件是否符合 JSON Schema 定义。自动检测并修复类型不匹配、缺少必需列和编码问题,并支持可配置的严格级别。"
license: "MIT"
description: "使用 AJV 和 csv-parse 验证 CSV 文件是否符合 JSON Schema 定义。自动检测并修复类型不匹配、缺少必需列和编码问题,并支持可配置的严格级别。"
github_stars: 14691
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Data Extraction & Transformation"
framework: "OpenClaw"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 14691
  npm_package: "ajv"
  npm_weekly_downloads: 291125331

CSV 模式验证器与自动修复工具

使用 AJV 和 csv-parse 验证 CSV 文件是否符合 JSON Schema 定义。自动检测并修复类型不匹配、缺少必需列和编码问题,并支持可配置的严格级别。

先决条件

Node.js

安装

使用与您的环境匹配的上游安装或设置路径:

  • npm install ajv

上游的要求和注意事项:

基本用法或入门说明:

文档

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

Highlights

  • 提供 CSV 文件基于 JSON Schema 的验证与自动修复能力,解决实际数据清洗痛点
  • 支持类型不匹配、缺少必需列和编码问题的自动检测与修复,功能完整
Trigger Precision90/100

Highlights

  • 触发描述清晰完整,涵盖核心功能点与关键配置选项
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档未提供具体使用场景说明和端到端操作示例

    Recommendation: 补充典型使用场景说明和完整操作示例,帮助用户快速上手

  • 文档结构不完整,缺少步骤划分 Reported severity: Minor

    主体内容缺乏清晰的 Phase/步骤划分和出口条件说明

    Recommendation: 按执行流程划分清晰步骤,并说明各阶段的输入输出与退出条件

Highlights

  • frontmatter 元数据完整,包含必要的项目信息与依赖说明
Execution Reliability55/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Minor

    未覆盖文件读取失败、Schema 格式错误等主要异常场景的处理机制

    Recommendation: 补充常见异常的处理建议与错误恢复策略

  • 缺少参数配置细节 Reported severity: Minor

    未说明关键参数的具体配置方式与取值范围

    Recommendation: 提供详细的参数配置说明与推荐值

Highlights

  • 工具来源明确,基于成熟的 AJV 和 csv-parse 库
Evidence Verifiability (mean of the first four)71/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 33
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.

  • ajv.js.org
  • datatracker.ietf.org
  • 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.

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.