scientific-data-preprocessing
⚠️ CRITICAL USER EXPERIENCE-BASED SKILL - ALWAYS CONSULT BEFORE DATA PREPROCESSING ⚠️ Prevents catastrophic errors (88.9% error rate in V1.0 case study)…
Skill by foryourhealth111-pixel
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/foryourhealth111-pixel-scientific-data-preprocessing
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, research, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/scientific-data-preprocessing
What's inside
- Skill name
scientific-data-preprocessing- Description
- ⚠️ CRITICAL USER EXPERIENCE-BASED SKILL - ALWAYS CONSULT BEFORE DATA PREPROCESSING ⚠️ Prevents catastrophic errors (88.9% error rate in V1.0 case study) through multi-level feature analysis, data leakage detection, and semantic validation. MANDATORY for: data preprocessing, feature engineering, standardization, normalization, interpolation, missing value handling, feature selection, or ANY data transformation task. Covers grouped time-series, cross-sectional, panel data. Detects: time travel leakage, causal inversion, ID misuse, semantic-numeric fallacies, distribution blindness. User's hard-won lessons from real project failures.
- License
- Apache-2.0
- Instructions
- 571 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 571 lines (spec recommends under 500)
Files (8)
- README.md
- SKILL.md
- UPDATE_LOG_V1.1.md
- ai-common-pitfalls.md · references/
- decision-trees.md · references/
- error-case-studies.md · references/
- index.md · references/
- validation-checklist.md · references/
SKILL.md (first lines)
# Scientific Data Preprocessing Skill
⚠️ **CRITICAL: USER'S HARD-WON EXPERIENCE - MANDATORY CONSULTATION** ⚠️
This skill encapsulates painful lessons learned from real preprocessing disasters (88.9% error rate documented). **ALWAYS use this skill for planning, reflection, and validation when ANY data preprocessing is involved.**
**Why this skill is mandatory:**
- Based on actual project failures (V1.0, V2.0 case studies)
- Prevents data leakage that causes production disasters
- Catches semantic errors AI agents commonly make
- Saves weeks of debugging and model retraining
**When to invoke (DO NOT SKIP):**
- ✅ Before starting ANY data preprocessing task
- ✅ During preprocessing for reflection and validation
- ✅ After preprocessing for comprehensive audit
- ✅ When reviewing AI-generated preprocessing code
---
## Core Mission
Prevent catastrophic preprocessing errors in grouped time-series data by applying multi-level feature analysis and respecting data structure boundaries.
## When to Use This Skill
**MANDATORY consultation - trigger immediately when:**
### Data Preprocessing Tasks (ALWAYS)
- Any data cleaning, transformation, or preparation work
- Loading and preparing data for modeling
- Creating training/test splits
- Handling missing values (imputation, deletion)
- Feature scaling/normalization/standardization
- Encoding categorical variables
- Feature engineering or construction
- Feature selection or dimensionality reduction
### Data Structure Types (ALWAYS)
- Preprocesssing time-series data with natural groupings (matches, sessions, patients, experiments)
- Sports analytics (tennis, basketball, etc.)
- Medical/clinical data with patient groupings
- Panel data or longitudinal studies
- Any grouped/hierarchical data structure
### Quality Assurance (ALWAYS)
- Auditing existing preprocessing for data leakage or semantic errors
- Reviewing AI-generated preprocessing code for common pitfalls
- Validating preprocessing before model training
- Debugging unexpected model performance
### Critical Checkpoints (NEVER SKIP)
- ✅ **BEFORE**: Planning preprocessing strategy
- ✅ **DURING**: Reflecting on decisions and checking for errors
- ✅ **AFTER**: Comprehensive validation and audit
**Trigger keywords that MUST invoke this skill:**
- "preprocess", "preprocessing", "data cleaning", "data preparation"
- "standardize", "normalize", "scale", "transform"
- "impute", "fill missing", "handle NaN"
- "encode", "one-hot", "categorical"
- "feature engineering", "feature selection", "feature construction"
- "train test split", "cross validation split"
- "interpolate", "smooth", "aggregate"
## Not For / Boundaries
This skill does NOT:
- Handle purely cross-sectional data (ungrouped, single timepoint)
- Make domain-specific feature engineering decisions (you decide business logic)
- Choose ML models (focuses on preprocessing only)
- Handle distributed/big data infrastructure (assumes data fits in memory)
Required inputs before proceeding:
1. Confirmation that data has groups (e.g., match_id, patient_id, session_id)
2. Understanding of whether goal is within-group (relative) or cross-group (absolute) comparison
3. Domain constraints on data ranges/units
## Quick Reference
### Multi-Level Feature Analysis Framework
**Level 1: Data Type**
```python
# Check data types
df.dtypes # int64, float64, object, etc.
```
**Level 2: Feature Type Classification**
```python
# Binary (0/1)
binary_features = [col for col in df.columns if df[col].nunique() == 2]
# Categorical (finite discrete values)
categorical_features = [col for col in df.select_dtypes(include='object').columns]
# Continuous (infinite possible values)
continuous_features = [col for col in df.select_dtypes(include=['float64', 'int64']).columns
if df[col].nunique() > 10]
```
**Level 3: Data Structure**
```python
# Check for grouping
print(f"Number of groups: {df['group_id'].nunique()}")
print(f"Avg points per group: {df.groupby('group_id').size().mean():.1f}")
# Check for time-series
df_sorted = df.sort_values(['group_id', 'timestamp'])
```
**Level 4: Physical Meaning**
```python
# Validate physical ranges
assert df['speed_mph'].max() < 200, "Speed exceeds physical limit"
assert df['distance_meters'].min() >= 0, "Negative distance impossible"
```
### Critical Processing Decision TreeFrom foryourhealth111-pixel/Vibe-Skills, Apache-2.0.
More from foryourhealth111-pixel/Vibe-Skills
- 0.843score
prowler-docs
prowler-cloud
Prowler documentation style guide and writing standards.
SkillAFreshness: A★ 3.8KClaude Code - 0.744score
speckit-specify
github-spec-kit
Create or update feature specifications from natural language descriptions.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-tasks
github-spec-kit
Break down implementation plans into actionable task lists.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-plan
github-spec-kit
Generate technical implementation plans from feature specifications.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-taskstoissues
github-spec-kit
Convert tasks from tasks.md into GitHub issues.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-analyze
github-spec-kit
Perform cross-artifact consistency analysis across spec.md, plan.md, and tasks.md.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-clarify
github-spec-kit
Structured clarification workflow for underspecified requirements.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-checklist
github-spec-kit
Generate custom quality checklists for validating requirements completeness and clarity.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-constitution
github-spec-kit
Create or update project governing principles and development guidelines.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.741score
speckit-implement
github-spec-kit
Execute all tasks from the task breakdown to build the feature.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
astropy
foryourhealth111-pixel
Comprehensive Python library for astronomy and astrophysics.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
doc
foryourhealth111-pixel
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus…
SkillAFreshness: A★ 3.8KClaude Code +9
Signals
- Stars
- 3,764
- Forks
- 341
- Open issues
- 36
- Last commit (this folder)
- Feb 26, 2026 (8 months ago)
- Last release
- Oct 18, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from foryourhealth111-pixel
- 0.652score
bio-database-evidence
foryourhealth111-pixel
Unified biological database evidence owner.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
biopython
foryourhealth111-pixel
Primary retained Python toolkit for molecular biology sequence work.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
generating-test-reports
foryourhealth111-pixel
Generate structured test reports with pass/fail rollups, coverage summaries, and test artifacts.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
alpha-vantage
foryourhealth111-pixel
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the…
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
astropy
foryourhealth111-pixel
Comprehensive Python library for astronomy and astrophysics.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.652score
datacommons-client
foryourhealth111-pixel
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillAFreshness: A★ 3.8KClaude Code +9
Cite this page
scientific-data-preprocessing skill. Agent Mart. https://agentmart.dev/skills/foryourhealth111-pixel-scientific-data-preprocessing (last updated 2026-10-24)