← スキル一覧に戻る

plan-generator
by nadavyigal
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: plan-generator description: Generates 14–21 day running plans tailored to onboarding data and recent performance. metadata: short-description: Drafts personalized training blocks with safe load progression and rationale.
When Codex should use it
- After onboarding completion or goal updates.
- When the user requests a new plan or calendar export.
Invocation guidance
- Load shared contracts from
_index/references/contracts.md. - Inputs must include
UserProfile,TrainingHistory, and optionalRecentRunTelemetry[]. - Enforce rest distribution and load caps from deterministic rules (
v0/lib/plan-complexity-engine.ts,v0/lib/periodization.ts). - Return JSON matching
Plan+rationale.
Input schema (JSON)
{
"profile": UserProfile,
"trainingHistory": TrainingHistory,
"startDate": "2025-01-01",
"preferences": { "indoorOk": true, "rookieChallenge": true }
}
Output schema (JSON)
Plan & { rationale: string; safetyFlags?: SafetyFlag[] }
Integration points
- API:
v0/app/api/generate-plan/route.ts - Logic:
v0/lib/planGenerator.ts,v0/lib/plan-templates.ts - UI: Today and Plan screens (Dexie data via
v0/lib/db.ts)
Safety & guardrails
- No medical diagnosis; if pain/dizziness flags are present, reduce load and advise consulting a professional.
- Hard-cap weekly volume deltas via
plan-complexity-engine.ts. - Emit
SafetyFlagfor load spikes or missing critical data.
Telemetry
- Emit
ai_skill_invokedandai_plan_generatedwithplan_version,fallback_used,safety_flags.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です