Skip to main content

validate-column-types

Validate dataset column types against definitions, values, nullability, formats, ranges, and downstream use. Use when importing, profiling, migrating, or troubleshooting tabular data.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
validate-column-types
category
data
description
Validate dataset column types against definitions, values, nullability, formats, ranges, and downstream use. Use when importing, profiling, migrating, or troubleshooting tabular data.
# validate-column-types Validate semantic type, not only what a parser can coerce. ## When to use - Use for files, tables, APIs, dataframes, and warehouse extracts. - Do not convert identifiers with leading zeros into numbers or ambiguous dates without a rule. ## Procedure 1. Record dataset version, schema, field definitions, nullability, units, precision, timezone, and valid codes. 2. Parse each column under the expected type while retaining original values and parse failures. 3. Check booleans, integers, decimals, currency, percentages, strings, identifiers, dates, timestamps, arrays, and structured values. 4. Test range, scale, length, format, enum, sign, unit, timezone, and null constraints. 5. Detect mixed types, locale formats, scientific notation, overflow, truncation, leading-zero loss, and sentinel values. 6. Compare observed types to source and downstream schemas. 7. Record exceptions with sample references, counts, impact, and owner. ## Done - A type-validation report records expected and observed types, constraints, failures, exceptions, impact, and source references - Parse, range, precision, null, identifier, timezone, locale, and downstream-schema checks verify every column
在 GitHub 查看