Prepare TrainHeroic export data for importing into Train's simplified database schema. Use when given a TrainHeroic export folder (especially training_data.csv) and asked to produce deterministic, import-ready files for workouts, workout_exercises, exercise_sets, and exercises, while safely skipping unsupported patterns.
Use this skill to transform TrainHeroic export files into deterministic, import-ready files for the Train schema in docs/database-schema.md.
Use this skill when a user asks to:
training_data.csv maps to Train tables,docs/database-schema.md from the Train repo.exercises, workouts, workout_exercises, exercise_sets.training_data.csv; treat other CSVs as optional enrichment.rep x pound, rep x kilogram)rep x second)second x)rep x)second x pound)ExerciseTitle.(WorkoutTitle, ScheduledDate, RescheduledDate).order_index and set expansion order for set_index.unmapped_rows.csv and run-report.json.workout_exercises.workout_id exists in workouts.csv.workout_exercises.exercise_id exists in exercises.csv.exercise_sets.workout_exercise_id exists in workout_exercises.csv.order_index and set_index are positive and gapless per parent.unmapped_rows.csv.null (empty CSV value) for unknown optional fields.user_id.Return:
Use output-contract.md as the authoritative format.