masterdata-validator

Validate and auto-correct master data CSV files against schema JSON constraints.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Wonderplanet/glow-brain --skill masterdata-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: masterdata-validator
Source: https://github.com/Wonderplanet/glow-brain/tree/main/.claude/disable-skills/masterdata-validator
Command: npx skills add https://github.com/Wonderplanet/glow-brain --skill masterdata-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

このスキルは、生成されたマスタデータCSVをスキーマJSONと照合し、整合性を検証・自動修正します。ENUM、NOT NULL、PRIMARY KEY制約をチェック。マスタデータの検証、スキーマとの整合性で使用します。

Core Features & Use Cases

  • DDL準拠チェック: カラム型、NOT NULL、ENUMの整合性を検証
  • 自動修正: 破損したCSVを修正・補完
  • 検証レポート: 修正ログとエラー報告を返却
  • Use Case: マスタデータをCIパイプラインへ統合前に検証

Quick Start

Quick Start: 下記のCSVを検証します。例:

  • python3 scripts/validate_csv.sh マスタデータ/施策/新春ガチャ/OprGacha.csv OprGacha

Frequently Asked Questions about masterdata-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate master data CSV files against a schema?

Validate master data CSV files by comparing them against a schema JSON definition. This Skill checks column types, NOT NULL constraints, ENUM values, and PRIMARY KEY integrity, then outputs a corrected CSV, Markdown validation report, and detailed logs for audit purposes.

Can this tool auto-correct broken or incomplete CSV data?

Yes, the Skill automatically repairs and reconciles CSV files by filling missing columns, normalizing data types, and applying schema constraints. It outputs both the corrected CSV and a detailed log of all modifications made.

What constraints does CSV schema validation check for?

Schema validation enforces ENUM constraints to match allowed values, NOT NULL constraints to flag missing required data, and PRIMARY KEY constraints to ensure uniqueness. All violations are logged and can trigger automated corrections.

How do I integrate master data validation into a CI pipeline?

Run the validation script before deploying master data to production. The Skill generates a Markdown report and corrected CSV, enabling automated quality gates that block invalid data from reaching downstream systems.

What output does the validation process produce?

The Skill outputs three artifacts: a corrected CSV file with auto-fixes applied, a Markdown validation report documenting all changes, and detailed logs for audit and maintenance tracking.