Tooluck logoTooluck
SKILL.md

portaljs-check-data-quality

Agent skill fromdatopian/portaljs

Audit a local or remote tabular file (CSV/TSV) for common data quality issues — schema, nulls, types, duplicates. Read-only. Use when a dataset needs a quality check before publishing, or a showcase renders wrong (blank cells, garbled numbers, an unsortable date column) and the cause needs isolating.

How to install portaljs-check-data-quality

install portaljs-check-data-quality
# install the portaljs pack with the skills CLI
npx skills add datopian/portaljs

# or add only this skill to Claude Code: copy the folder

skills/portaljs-check-data-quality/

# into

~/.claude/skills/portaljs-check-data-quality/ (all projects)

.claude/skills/portaljs-check-data-quality/ (one project)

skills/portaljs-check-data-quality/SKILL.md

MITFull file
1# PortalJS — Check Data Quality
2
3## Overview
4
5Run a read-only quality audit of one CSV or TSV file, local or remote, and return a
6structured JSON report. The audit profiles every column — null/blank counts, inferred
7value types, numeric ranges, likely year/date fields — and flags duplicate rows,
8duplicate values in identifier-like columns, ambiguous overlapping year columns (e.g.
9`calendar year` vs `fiscal year`), and mixed-type columns. It never edits the source
10file, `datasets.json`, or any other project file; it only reads the target file (a
11remote URL is downloaded to a temp file that is deleted before the run ends) and
12prints a report. Use it before publishing a dataset with `portaljs-add-dataset`, or to
13diagnose why a showcase renders wrong.
14
15## Prerequisites
16
17- `python3` on `PATH` — the audit logic runs as an embedded Python script; nothing is
18 installed.
19- One CSV or TSV file, given as a local path or an `http`/`https` URL. Only one file
20 per run.
21
22## Instructions
23
24The canonical, full step-by-step workflow is
25[`.claude/commands/portaljs-check-data-quality.md`](https://github.com/datopian/portaljs/blob/main/.claude/commands/portaljs-check-data-quality.md) —
26the single source of truth. Read and follow it when executing. Summary:
27
281. Gather input — the file path or URL to audit. If missing, ask for it; never dead-end.
292. Resolve the source: if it's an `http`/`https` URL, download it to a temp file first;
30 otherwise use the local path as given.
31…

Excerpt shown under the repository's MIT license.

More skills in portaljs

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates