$npx -y skills add ma-compbio-lab/SkillFoundry --skill frictionless-tabular-validation-starterUse this skill to validate a small CSV or TSV table against a simple Frictionless schema and emit a compact machine-readable error summary.
| 1 | # Frictionless Tabular Validation Starter |
| 2 | |
| 3 | Use this skill to validate a small CSV or TSV table against a simple Frictionless schema and emit a compact machine-readable error summary. |
| 4 | |
| 5 | ## What it does |
| 6 | |
| 7 | - loads a tabular input file plus a JSON schema descriptor |
| 8 | - runs `frictionless` validation from the repo-managed `data-tools` prefix |
| 9 | - reports row counts, field names, and normalized validation errors |
| 10 | |
| 11 | ## When to use it |
| 12 | |
| 13 | - you need a verified starter for `data-validation` |
| 14 | - you want a deterministic schema-validation smoke fixture for tabular scientific data |
| 15 | - you need structured validation output before downstream ingestion or conversion |
| 16 | |
| 17 | ## Example |
| 18 | |
| 19 | ```bash |
| 20 | ./slurm/envs/data-tools/bin/python skills/data-acquisition-and-dataset-handling/frictionless-tabular-validation-starter/scripts/run_frictionless_tabular_validation.py \ |
| 21 | --input skills/data-acquisition-and-dataset-handling/frictionless-tabular-validation-starter/examples/toy_people_valid.csv \ |
| 22 | --schema skills/data-acquisition-and-dataset-handling/frictionless-tabular-validation-starter/examples/toy_people_schema.json \ |
| 23 | --out scratch/data-validation/frictionless_summary.json |
| 24 | ``` |
| 25 | |
| 26 | ## Verification |
| 27 | |
| 28 | - Skill-local tests: `python3 -m unittest discover -s skills/data-acquisition-and-dataset-handling/frictionless-tabular-validation-starter/tests -p 'test_*.py'` |
| 29 | - Expected valid summary: `valid == true`, `row_count == 3`, `error_count == 0` |