Skills

Feature engineering

Model features from game data without leakage: shift before rolling, every time.

Get your free key

What it does

Enforces shift(1) before any rolling calculation.

This is a core skill. It works with the data from any of the nine sports.

Questions to ask

“Make rolling 10-game form features for NBA teams”

“Add rest days and back-to-back flags for hockey”

“Is my feature set leaking?”

Data it uses

It works on the data and tools of whichever sport you connect, through that sport's MCP server or one SportsDataHQ key from app.sportsdatahq.com. See MCP servers.

Install

Claude Code:

/plugin marketplace add sports-data-hq/sportsdatahq-skills
/plugin install sports-analytics-core@sportsdatahq

Other agents (Cursor, Codex, Gemini CLI and more):

npx skills add sports-data-hq/sportsdatahq-skills --skill feature-engineering

Source and the test prompts it is checked against: feature-engineering on GitHub.

Related skills

NHL advanced stats · NHL xG model · Model building

All skills · Free season data · Docs