CSV Quality Auditor
Run the bundled auditor before importing, transforming, or handing off a CSV file.
Workflow
- Identify the input file and its delimiter.
- Run the auditor from this skill directory:
python scripts/audit_csv.py INPUT [--delimiter DELIM] [--json]
- Omit
--delimiterfor comma-separated input. Passsemicolon,tab,\t, or one custom character when needed. - Add
--jsonfor automation. Parse stdout only when the exit status is0or1; failures are written to stderr. - Report the issue codes, logical record numbers, and messages. Do not modify the source file.
- Read references/rules.md when exact counting, normalization, or output semantics matter.
Exit Status
0: The file was read successfully and no quality issues were found.1: The file was read successfully and one or more quality issues were found.2: Command usage, file reading, text decoding, or CSV parsing failed.