Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,30 @@ cargo test -p cardio_core -- --nocapture

### Adding Custom Movements

Edit `cardio_core/src/catalog.rs`:
Krep supports adding new exercises, stretches, and mobility drills. For comprehensive instructions, see:

**📖 [Adding Exercises Guide](docs/ADDING_EXERCISES.md)**

This guide covers:
- Adding simple movements (mobility drills, stretches)
- Creating movements with automatic progression
- Working with metrics and movement styles
- Multi-block workouts (circuits, complexes)
- Custom progression algorithms
- Testing and validation

**Quick Example** - Add a mobility drill:

```rust
// In cardio_core/src/catalog.rs
movements.insert(
"jump_rope".into(),
"ankle_cars".into(),
Movement {
id: "jump_rope".into(),
name: "Jump Rope".into(),
kind: MovementKind::Cardio,
id: "ankle_cars".into(),
name: "Ankle CARs".into(),
kind: MovementKind::MobilityDrill,
default_style: MovementStyle::None,
tags: vec!["vo2".into()],
tags: vec!["mobility".into(), "ankle".into()],
reference_url: Some("https://...".into()),
},
);
Expand Down
Loading
Loading