Skip to main content

inspect-a-csv-file

Inspect a CSV file for encoding, delimiter, headers, shape, types, missing values, quoting, duplicates, and sensitive content. Use when receiving or troubleshooting a tabular text export before analysis or import.

来源信息

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

安装方式

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

检查来源文件

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

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
inspect-a-csv-file
category
data
description
Inspect a CSV file for encoding, delimiter, headers, shape, types, missing values, quoting, duplicates, and sensitive content. Use when receiving or troubleshooting a tabular text export before analysis or import.
# inspect-a-csv-file Preserve the original bytes and inspect before converting. ## When to use - Use for comma, tab, semicolon, or other delimited files. - Do not upload private data to an external viewer without permission. ## Procedure 1. Record source, file name, size, checksum, timestamp, expected rows, columns, delimiter, and encoding. 2. Inspect raw opening and closing lines for byte-order marks, headers, newlines, quotes, escapes, and truncation. 3. Parse with an explicitly chosen encoding, delimiter, quote, escape, and header rule. 4. Count rows and columns; flag ragged rows, blank headers, duplicate headers, empty records, and embedded newlines. 5. Profile candidate types, missing markers, distinct counts, ranges, lengths, leading zeros, and date formats. 6. Check duplicate rows or keys and scan field names plus samples for sensitive content. 7. Compare counts and control totals to the source specification without modifying the original. ## Done - A CSV inspection report records checksum, parsing rules, shape, headers, types, missing values, duplicates, sensitivities, and anomalies - Raw-byte, parse, row-count, column-count, key, type, and control-total checks verify the file can be used safely
在 GitHub 查看