Skip to main content

compare-two-data-exports

Compare two data exports by schema, keys, records, fields, aggregates, ordering, and provenance. Use when checking whether a refresh, migration, query, or system change preserved expected data.

来源信息

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

安装方式

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

检查来源文件

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

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
compare-two-data-exports
category
data
description
Compare two data exports by schema, keys, records, fields, aggregates, ordering, and provenance. Use when checking whether a refresh, migration, query, or system change preserved expected data.
# compare-two-data-exports Normalize only documented representational differences. ## When to use - Use for CSV, JSON, spreadsheet, query, report, or system exports. - Do not expose sensitive values in diff output beyond the approved need. ## Procedure 1. Preserve both files and record source, query or configuration, timestamp, checksum, encoding, and expected differences. 2. Parse each export with explicit schema and normalize only agreed whitespace, case, timezone, number, null, and ordering rules. 3. Compare columns, types, order, keys, row counts, file counts, and control totals. 4. Match rows by stable key and classify added, removed, duplicate, changed, and unmatched records. 5. Compare field values with defined precision, tolerance, and multivalue ordering. 6. Summarize differences by field, source, period, cohort, and materiality while retaining drill-down references. 7. Reconcile expected differences and leave unexplained differences open. ## Done - A versioned comparison report records sources, rules, schema, counts, aggregates, record differences, expected changes, and unresolved items - Checksum, key, row, field, tolerance, duplicate, and control-total checks verify the comparison
在 GitHub 查看