CSV validator
A clean, well-formed example skill that passes skilldoctor with grade A.
When to use
The user has a CSV and wants to confirm its columns match an expected schema, or wants to find rows that don't conform.
Steps
- Read the target CSV file.
- Compare the header row to the expected column list.
- Walk the rows and collect any with the wrong number of fields.
- Report mismatches with their 1-based line numbers.
Notes
- Keep tool access minimal: this skill only needs
ReadandGrep. - It never writes files or makes network calls.