Skip to content
Development
Skill

/dataset-split-review

Use when reviewing how data is split into train/validation/test sets -- especially with time-series data, repeated entities (users, patients, sessions), or imbalanced targets.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

$ npx -y skills add yeaight7/agent-powerups --skill dataset-split-review --agent claude-code

SKILL.md

dataset-split-review.SKILL.md
name: dataset-split-review
description: Use when reviewing how data is split into train/validation/test sets -- especially with time-series data, repeated entities (users, patients, sessions), or imbalanced targets.

Purpose

A random split is often the wrong split. Incorrect splitting causes massive overestimation of model performance; this review verifies the split methodology matches the structure of the data.

When to Use

  • Reviewing splitting code before training or sign-off
  • Data has a time component, repeated entities, or class imbalance
  • Validation metrics look too good for the problem

Inputs

  • The splitting code
  • The dataset's structure: time column? entity keys (user/patient/session)? target balance?

Workflow

1. **Time-series data**: if the data has a time component, random `train_test_split` is strictly forbidden. Require a chronological split so the model cannot learn from the future. 2. **Group leakage**: if the dataset has multiple rows per user/patient/session, a standard split puts rows from the same entity in both train and test. Require GroupKFold or group-based splitting. 3. **Stratification**: for imbalanced targets, verify stratification maintains the target distribution across all splits. 4. **Verify in code, not in description**: read the actual splitting call and its parameters before issuing a verdict.

Output

  • An explicit pass/fail verdict on Time, Group, and Stratification safety, citing the splitting code

Verification

  • [ ] Time safety checked (chronological split whenever a time component exists)
  • [ ] Group safety checked (no entity appears in both train and test)
  • [ ] Stratification checked for imbalanced targets
  • [ ] Verdict cites the actual splitting code, not the author's description of it

Failure Modes

  • **Trusting the description** — authors often believe the split is grouped or chronological when the code says otherwise. Read the code.
  • **Random split on time data** — silently inflates metrics; flag as blocking, not advisory.
  • **Partial grouping** — grouped train/test but a random validation split still leaks. Check every split boundary.
Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other skills on agent-powerups.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about dataset-split-review.

Which coding agents can use dataset-split-review?
dataset-split-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.