Golden Dataset
Purpose
Help agents create and maintain high-trust datasets for evaluation and regression checks. This skill covers schema, provenance, versioning, review, backups, train/eval separation, and quality metrics.
Quick Start
- Define dataset purpose and schema before adding rows.
- Record provenance and review status for every row.
- Keep train, dev, test, and golden regression sets separate.
- Validate schema and labels automatically.
- Version dataset changes with changelog-style notes.
- Back up important releases before major edits.
Operating Constraints
- Do not call a dataset golden because it is merely convenient or large.
- Do not mix generated labels and human labels without provenance.
- Do not allow training data leakage into held-out evaluation sets.
- Do not edit expected answers without preserving the old version or rationale.
- Prefer fewer reviewed examples over many weak examples.
Inputs This Skill Expects
- Dataset purpose, schema, allowed labels, and consumers.
- Existing rows, source traces, documents, or seed examples.
- Reviewers, label policy, and quality thresholds.
- Storage, versioning, and backup location.
Output Contract
- Produce or update a validated dataset with row IDs, provenance, labels, expected behavior, and review status.
- Include a summary of additions, removals, repairs, and quality risks.
- State split strategy and leakage checks.
- State backup or version tag created when relevant.
Procedure
- Define the dataset contract and consumers.
- Normalize rows into a stable schema.
- Add provenance, review status, and row IDs.
- Validate schema, label values, duplicates, and split leakage.
- Review high-impact rows manually.
- Version the dataset and document changes.
- Run a small consumer smoke test.
Pitfalls And Gotchas
- Treating synthetic examples as golden without review.
- Editing expectations to match a new model instead of product truth.
- Losing provenance during deduplication.
- Ignoring class imbalance and coverage gaps.
- Letting old benchmark rows drift from current product behavior.
Progressive Disclosure
Start with schema and provenance. Expand into backup, restore, label review, synthetic augmentation, or benchmark governance only when the dataset becomes release-critical.
Verification Pattern
- Confirm schema validation passes.
- Confirm every row has provenance and review status.
- Confirm split leakage checks pass.
- Confirm important changes are versioned and reversible.
- Confirm a downstream eval or regression smoke run can consume the dataset.
1---2name: golden-dataset3description: Guardrail for curating, versioning, validating, and protecting golden datasets used for evals, regression checks, and model comparisons.4---56# Golden Dataset78## Purpose9Help agents create and maintain high-trust datasets for evaluation and regression checks. This skill covers schema, provenance, versioning, review, backups, train/eval separation, and quality metrics.1011## Quick Start121. Define dataset purpose and schema before adding rows.132. Record provenance and review status for every row.143. Keep train, dev, test, and golden regression sets separate.154. Validate schema and labels automatically.165. Version dataset changes with changelog-style notes.176. Back up important releases before major edits.1819## Operating Constraints20- Do not call a dataset golden because it is merely convenient or large.21- Do not mix generated labels and human labels without provenance.22- Do not allow training data leakage into held-out evaluation sets.23- Do not edit expected answers without preserving the old version or rationale.24- Prefer fewer reviewed examples over many weak examples.2526## Inputs This Skill Expects27- Dataset purpose, schema, allowed labels, and consumers.28- Existing rows, source traces, documents, or seed examples.29- Reviewers, label policy, and quality thresholds.30- Storage, versioning, and backup location.3132## Output Contract33- Produce or update a validated dataset with row IDs, provenance, labels, expected behavior, and review status.34- Include a summary of additions, removals, repairs, and quality risks.35- State split strategy and leakage checks.36- State backup or version tag created when relevant.3738## Procedure391. Define the dataset contract and consumers.402. Normalize rows into a stable schema.413. Add provenance, review status, and row IDs.424. Validate schema, label values, duplicates, and split leakage.435. Review high-impact rows manually.446. Version the dataset and document changes.457. Run a small consumer smoke test.4647## Pitfalls And Gotchas48- Treating synthetic examples as golden without review.49- Editing expectations to match a new model instead of product truth.50- Losing provenance during deduplication.51- Ignoring class imbalance and coverage gaps.52- Letting old benchmark rows drift from current product behavior.5354## Progressive Disclosure55Start with schema and provenance. Expand into backup, restore, label review, synthetic augmentation, or benchmark governance only when the dataset becomes release-critical.5657## Verification Pattern58- Confirm schema validation passes.59- Confirm every row has provenance and review status.60- Confirm split leakage checks pass.61- Confirm important changes are versioned and reversible.62- Confirm a downstream eval or regression smoke run can consume the dataset.