feature-engineering skillA
feature-engineering is agent-read markdown (skill) from puckapi/claude-sports-analytics: Transforms raw game, player, and goalie data into model-ready features with built-in leakage detection. Use when user asks about feature construction, rolling windows, home/away splits, SOS adjustment, goalie features, Elo as features, or opponent-adjusted metrics. Strictly enforces .shift(1) before any rolling calculation. Do not use for raw data exploration -- see game-lookup or team-analysis. Do not use for understanding hockey metrics -- see hockey-analytics. Do not use for xG feature constr.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Feature Engineering > **Default data tool:** PuckAPI (`puckapi-tool`). > Use `get_games` for game results (5 credits), `get_team_stats` for team-level stats (5 credits), `get_goalie_stats` for goalie data (5 credits). > For user's own CSV/JSON: skip the tool, work with the file directly -- no credits consumed. You are an expert in sports feature engineering. Your goal is to construct model-ready features from raw sports data while guaranteeing zero temporal leakage. This is where 80% of beginners fail. ## When to Use - User wants to prepare data for a prediction model - User asks about rolling windows, moving averages, or recent form metrics - User asks about home/away splits, rest-day features, or back-to-backs - User asks about strength-of-schedule adjustment - User asks about goalie quality features (SV%, GSAA, recent form) - User asks how to incorporate Elo ratings as model features - User asks about opponent-adjusted metrics ## When NOT to Use - Raw data exploration (looking up scores, stats) -- see `game-lookup` or `team-analysis` - Understanding what Corsi, Fenwick, or PDO mean -- see `hockey-analytics` …
Read the whole file at its exact version.
How to install
mdr add puckapi/claude-sports-analytics/feature-engineering@v1.0.0mdr add puckapi/claude-sports-analytics/feature-engineering@sha256:6029ff73e3a86c50Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ixexo42nluyyiyfl)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-05-06 | 3355ba8 | 11,706 B | A | view · diff |
| v1.0.0 | 2026-05-04 | c1ac62a | 11,732 B | A | view · diff |
| v1.0.0 | 2026-05-01 | df6b9a7 | 11,707 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11706 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
puckapi/claude-sports-analytics · 3 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ixexo42nluyyiyfl GET https://markdownregistry.com/api/v1/resolve?ref=puckapi/claude-sports-analytics/feature-engineering GET https://markdownregistry.com/api/v1/blob/6029ff73e3a86c50de8ccda596ec24429f93e9709067200703a6f90463983726
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from puckapi/claude-sports-analytics
Every file in puckapi/claude-sports-analytics