dataset-lint
Validate an existing evaluation dataset (JSONL/JSON/CSV) for structural correctness, duplicate IDs, missing required fields, and encoding issues — without…
Skill by ianshank
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ianshank-dataset-lint
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dataset-lint
What's inside
- Skill name
dataset-lint- Description
- Validate an existing evaluation dataset (JSONL/JSON/CSV) for structural correctness, duplicate IDs, missing required fields, and encoding issues — without regenerating it. Use when the user has a dataset from an external source, a Langfuse/BrainTrust export, or a manually-authored eval corpus and wants to lint, validate, check, or verify it before running evaluations.
- License
- Apache-2.0
- Compatibility
- python>=3.10
- Instructions
- 67 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- .gitignore
- SKILL.md
- evals.json · evals/
- data.jsonl · evals/fixtures/broken/
- data.jsonl · evals/fixtures/clean/
- ruff.toml
- lint_dataset.py · scripts/
- quality-gate.sh · scripts/
- validate_skill.py · scripts/
- conftest.py · tests/
- test_lint.py · tests/
SKILL.md (first lines)
# dataset-lint — portable dataset validator
Validate an existing evaluation dataset (JSONL, JSON array, or CSV) for structural correctness, duplicate record IDs, missing required fields, and encoding anomalies — without altering or regenerating the source files.
## 1. Preconditions (input contract)
- An input dataset file (`.jsonl`, `.json`, or `.csv`) exists at the specified path.
- The file is readable and uses UTF-8 encoding.
- Required fields for an evaluation item (like `id` or `inputs`) should be present on each record.
- Python 3.10+ (stdlib-only; no external dependencies are required).
## 2. Procedure (the E2E steps)
```bash
python scripts/lint_dataset.py --in <path-to-dataset> --out <path-to-report> [--strict] [--format {json,text}]
```
1. **Invoke** `scripts/lint_dataset.py` with the path to the dataset.
2. **Review** the output report. In standard mode:
- Duplicate IDs or structural errors are flagged as **errors**.
- Missing optional fields or empty strings are flagged as **warnings**.
- With `--strict`, warnings are promoted to errors, failing the validation.
3. **Verify** the output report file format (JSON by default, human-readable text if selected).
## 3. Output contract (postconditions — what "done" means)
- A report is written to the specified `--out` path (or printed to stdout if omitted).
- The report includes:
- `file`: absolute path of the linted file.
- `total_records`: count of parsed records.
- `passed`: `true` if no errors were found, `false` otherwise.
- `errors`: a sorted list of errors (stable key ordering, no timestamps).
- `warnings`: a sorted list of warnings.
- The execution is **deterministic** and **byte-stable** (re-running on the same file yields the identical report).
- The linter exits:
- `0`: if validation passed (no errors).
- `1`: if validation failed (errors found).
- `2`: if a precondition failed (e.g. file missing, invalid arguments).
## 4. Failure handling
- If the input file is not found or is a directory, the command exits with exit code `2`.
- If lines are not valid JSON or CSV rows, the linter records an error for that line and continues parsing rather than crashing.
## 5. Validation gate (before declaring success)
You are **not done** until this exits 0:
```bash
python scripts/validate_skill.py --skill . --tier structural,behavioral
```
## 6. Examples
**Example 1 — linting a clean dataset**
```bash
python scripts/lint_dataset.py --in dataset.jsonl --out report.json
```
Creates `report.json` with `"passed": true`, `"total_records": 100`, `"errors": []`, and `"warnings": []`.
**Example 2 — linting a broken dataset with duplicate IDs**
```bash
python scripts/lint_dataset.py --in broken.jsonl --out report.json
```
Exits with `1`. `report.json` contains `"passed": false`, and details about duplicate `id` values in `errors`.From ianshank/Agents, Apache-2.0.
More from ianshank/Agents
- 0.552score
hierarchical-recursive-brainstorm
ianshank
Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
openspec-implementation-review
ianshank
Reviews a shipped OpenSpec change's implementation against its own proposal/design/tasks/spec, producing a dated, two-pass openspec/changes/<id>/review.md…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
architecture-drift-guard
ianshank
Detect and block architecture drift in CI by comparing a codebase's actual Python import graph against a declared C4 component model.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
eval-corpus-forge
ianshank
Build, validate, and package reusable evaluation datasets for agent and LLM systems from prompts, traces, tool-call logs, metadata, and expected outcomes.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
model-bench
ianshank
Benchmark and A/B-test multiple LLMs or systems-under-test on one evaluation dataset.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openspec-quality-plan
ianshank
Generates a complete OpenSpec change package containing proposal, design, and task specs.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openspec-peer-review
ianshank
Emits an objective Peer Review Findings section and rewrites an OpenSpec package to satisfy quality standards.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openai-judge
ianshank
LLM-as-a-judge evaluations over OpenAI-compatible APIs (including NVIDIA Nemotron & LM Studio).
SkillBFreshness: B★ 1Claude Code +9 - 0.548score
deploy
ianshank
Generate a safety-railed deployment shell script (scripts/deploy.sh) with bash strict mode, a --dry-run mode, a confirmation gate before irreversible steps…
SkillBFreshness: B★ 1Claude Code +9 - 0.545score
e2e-matrix-sentinel
ianshank
Validate cross-platform end-to-end matrix coverage, verify POSIX and Windows driver parity, and enforce offline fixture restamping invariants.
SkillBFreshness: B★ 1Claude Code +9 - 0.545score
corpus-guardian
ianshank
Manage, verify, and synchronize the four frozen synthetic evaluation corpora (RCA, Requirements, TestGen, Answer Quality).
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
merge-gate-auditor
ianshank
Sample unlabelled PR records from merge-gate-data, prepare structured Audit Verdict Cards, and stage human verdicts.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 113
- Last commit (this folder)
- Sep 7, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/ianshank/Agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ianshank
- 0.552score
openspec-implementation-review
ianshank
Reviews a shipped OpenSpec change's implementation against its own proposal/design/tasks/spec, producing a dated, two-pass openspec/changes/<id>/review.md…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
model-bench
ianshank
Benchmark and A/B-test multiple LLMs or systems-under-test on one evaluation dataset.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
hierarchical-recursive-brainstorm
ianshank
Decomposes a topic into a controlled hierarchy, recursively expands leaves, prunes the bottom quartile, and synthesizes upward into a self-explanatory…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
eval-corpus-forge
ianshank
Build, validate, and package reusable evaluation datasets for agent and LLM systems from prompts, traces, tool-call logs, metadata, and expected outcomes.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
architecture-drift-guard
ianshank
Detect and block architecture drift in CI by comparing a codebase's actual Python import graph against a declared C4 component model.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
openai-judge
ianshank
LLM-as-a-judge evaluations over OpenAI-compatible APIs (including NVIDIA Nemotron & LM Studio).
SkillBFreshness: B★ 1Claude Code +9
Cite this page
dataset-lint skill. Agent Mart. https://agentmart.dev/skills/ianshank-dataset-lint (last updated 2026-10-24)