Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dataset-curator

БесплатноБез исполняемых скриптовНе проверен

Use this skill when designing, cleaning, deduplicating, or documenting datasets for model training and evaluation including schema design, class imbalance…

NickCrewот NickCrew★ 76 звёзд на GitHub

Об этом скилле

Dataset Curator

Overview

This skill covers the full lifecycle of dataset creation and curation for machine learning and LLM tasks. It addresses dataset schema design, data collection strategies, quality filtering, deduplication, class imbalance mitigation, stratified train/val/test splits, annotation guideline writing, and dataset card documentation. Good datasets are the foundation of reliable models — this skill helps teams avoid the most common data quality pitfalls that lead to poor generalization, evaluation leakage, and biased models.

When to Use

  • Designing a new dataset schema for a classification, extraction, or generation task
  • Cleaning and deduplicating a raw dataset before model training
  • Planning annotation guidelines for human labelers or LLM-assisted labeling
  • Addressing class imbalance in a training set (oversampling, undersampling, weighting)
  • Creating stratified train/val/test splits without leakage between splits
  • Writing a dataset card (model card for data) for reproducibility and documentation
  • Auditing an existing dataset for quality, coverage, and potential biases
  • Combining multiple data sources into a single unified dataset

When NOT to Use

  • Training or fine-tuning a model (use model training skills)
  • Running SQL or analytical queries on a production database (use data analysis skills)
  • Building real-time data pipelines or streaming ETL (use data engineering skills)
  • Designing evaluation suites for deployed LLMs (use eval-designer skill)
  • Web scraping or data collection from APIs (use data collection skills)

Quick Reference

Task Approach
Define dataset schema List fields, types, required vs optional, allowed values, and examples
Remove duplicates Hash-based exact dedup + MinHash/LSH for near-duplicate detection
Fix class imbalance Oversample minority (SMOTE) or undersample majority; adjust loss weights
Create train/val/test splits Stratified split by label; ensure no overlap of entities across splits
Document the dataset Write a dataset card with provenance, schema, statistics, and limitations
Validate annotation quality Compute inter-annotator agreement (Cohen's kappa or Krippendorff's alpha)
Handle missing values Decide per-field: impute, drop row, or add "unknown" category
Detect label noise Use confident learning (cleanlab) or cross-validation outlier detection

Instructions

  1. Define the task and schema — Before collecting any data, write the schema: every field name, data type, allowed values, and whether it is required. For classification datasets, enumerate all valid labels and their definitions. Ambiguous schemas cause inconsistent annotations and training failures.

  2. Establish collection strategy — Determine the data source: human-annotated, LLM-generated, web-scraped, synthetic, or a combination. Document collection date, source URLs, licenses, and any sampling decisions. Ensure the collection covers the full input distribution the model will encounter in production.

  3. Write annotation guidelines — Create a guideline document for labelers that defines every label, provides positive and negative examples for each, and includes decision rules for edge cases. Pilot the guidelines with 2–3 annotators on a sample of 50 items and iterate before full annotation begins.

  4. Run quality filtering — Remove items that are too short, too long, contain encoding errors, are in the wrong language, or fail domain-specific quality checks. Log how many items were removed at each filter step and why. Preserve a raw snapshot before filtering.

  5. Deduplicate the dataset — Apply exact deduplication first (hash the text or key fields). Then apply near-duplicate detection using MinHash + LSH (e.g., datasketch library) or sentence embedding cosine similarity. Aim to remove items with >80% overlap. Keep the highest-quality copy when deduplicating.

  6. Assess and address class imbalance — Compute class distribution. If any class has less than 5% of the majority class count, consider: (a) collecting more data for minority classes, (b) oversampling with augmentation, (c) applying class weights in the loss function, or (d) using stratified sampling. Document the chosen approach and its rationale.

  7. Create stratified splits — Split data into train/val/test sets preserving class distribution in each split. Use an 80/10/10 or 70/15/15 ratio as a starting point. For datasets with identifiable entities (users, documents, companies), ensure the same entity never appears in multiple splits to prevent leakage. Test set must remain untouched until final evaluation.

  8. Measure annotation quality — For human-labeled data, compute inter-annotator agreement on a sample (at least 10% of the dataset labeled by 2+ annotators). Cohen's kappa > 0.7 is acceptable; < 0.6 indicates guideline issues. Resolve disagreements through adjudication, not random selection.

  9. **Audit

Полный SKILL.md на GitHub

Установить dataset-curator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dataset-curator?

Use this skill when designing, cleaning, deduplicating, or documenting datasets for model training and evaluation including schema design, class imbalance handling, and train/val/test splits. Not for running model training or hyperparameter tuning. Not for real-time data pipeline engineering.

Как установить скилл dataset-curator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dataset-curator запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dataset-curator с