Switchback-running review
Post-workout analysis — compare planned vs actual for most recent activity
install
source · Clone the upstream repo
git clone https://github.com/rlacombe/switchback-running
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/rlacombe/switchback-running "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/review" ~/.claude/skills/rlacombe-switchback-running-review && rm -rf "$T"
manifest:
.claude/skills/review/SKILL.mdsource content
/review — Post-Workout Analysis
- Get today's date. Read
to understand the purpose and targets of the workout type being reviewed. For long runs, also readknowledge/workout-types.md
. For intervals, also readknowledge/long-runs.md
.knowledge/aerobic-base.md - Fetch data using MCP tools (call them directly, in parallel where possible):
- Activities endpoint for the last 3 days (to find the most recent)
- Events endpoint for the last 3 days (to find matching planned workout)
- Identify the most recent activity and fetch its details from the activity endpoint (with intervals)
- Display:
- Workout Summary: Name, type, date
- Planned vs Actual table:
Metric Planned Actual Diff Distance (mi) Duration Avg Pace (min/mi) Elevation (ft) - Heart Rate: Avg, max, time in zones (if available)
- Cadence: Avg (if available)
- Intervals/Laps: Key splits if interval data exists
- Training Load: load/TSS from the activity
- If the activity warrants deeper analysis (tempo runs, intervals, long runs over 2 hours), use the activity streams endpoint to examine:
- Pace drift: Compare first-half vs second-half average pace from
velocity_smooth - HR decoupling: Compare pace:HR ratio in first half vs second half (decoupling > 5% suggests aerobic ceiling was reached)
- Elevation profile: Correlate altitude changes with pace/HR to assess climbing efficiency Only fetch streams when the analysis would add value — not for every easy run.
- Pace drift: Compare first-half vs second-half average pace from
- Flag any planned-vs-actual deviations > 10%
- One-line coaching note on the workout execution, grounded in the training science from the knowledge base (e.g., reference HR decoupling thresholds from
, or pacing principles fromknowledge/aerobic-base.md
)knowledge/long-runs.md