专业的马拉松训练指导,基于 Jack Daniels VDOT 理论和极化训练原则。
| 功能 | 说明 | 触发示例 |
|---|---|---|
| ------ | ------ | ---------- |
| 训练计划制定 | 生成个性化周期化训练计划 | "帮我制定破 3 训练计划" |
| 配速/心率计算 | 基于 VDOT 计算各区间配速和心率 | "破 3 需要什么配速" |
| 跑步数据分析 | 解析 TCX/GPX 文件,分析训练表现 | "分析我今天的跑步数据" |
| 比赛策略制定 | 制定比赛配速和补给策略 | "全马比赛怎么配速" |
| 训练问题咨询 | 回答训练方法、伤病预防等问题 | "间歇跑怎么练" |
| 成绩预测 | 基于训练数据预测比赛成绩 | "我能跑多少" |
触发: 用户提到"训练计划"、"马拉松"、"备赛"等
步骤:
```bash
python scripts/calculate_pace.py --race-time <分钟数> --distance 42.195
```
```bash
python scripts/generate_plan.py --current-pb
```
参考: references/training-zones.md、references/workout-types.md
触发: 用户询问配速、心率区间、VDOT 等
步骤:
```bash
# 基于比赛成绩
python scripts/calculate_pace.py --race-time 218 --distance 42.195 --max-hr 196 --resting-hr 55
# 基于 VDOT
python scripts/calculate_pace.py --vdot 44 --max-hr 196
```
参考: references/training-zones.md
触发: 用户上传 TCX/GPX 文件或询问训练数据分析
步骤:
```bash
python scripts/analyze_run.py <文件路径> --output json
```
参考: references/training-zones.md、references/workout-types.md
触发: 用户询问比赛配速、补给策略、赛前准备等
步骤:
参考: references/race-strategies.md
触发: 用户询问训练方法、伤病、装备等
处理:
references/workout-types.mdreferences/training-zones.mdreferences/race-strategies.md功能: 配速和心率区间计算
参数:
--vdot:VDOT 值--race-time:比赛时间(分钟)--distance:比赛距离(公里,默认 42.195)--max-hr:最大心率--resting-hr:静息心率--output:输出格式(json/text)示例:
python scripts/calculate_pace.py --race-time 218 --distance 42.195 --max-hr 196 --output json
功能: TCX/GPX 数据分析
参数:
file:文件路径(必填)--output:输出格式(json/text)示例:
python scripts/analyze_run.py run.tcx --output json
功能: 马拉松训练计划生成
参数:
--current-pb:当前 PB(HH:MM 或分钟数)--target:目标时间(HH:MM 或分钟数)--weeks:训练周期(周,默认 24)--weekly-km:当前周跑量(默认 300)--output:输出格式(json/text)示例:
python scripts/generate_plan.py --current-pb 3:38 --target 3:00 --weeks 24 --weekly-km 300
references/training-zones.md - 训练区间定义references/workout-types.md - 训练课类型详解references/race-strategies.md - 比赛策略指南共 1 个版本