| name | task-plan |
| description | 日次 / 週次 / イテレーション計画を実行する。`gh tasks plan` を呼び出して該当 scope の Milestone (repo) または Iteration (org/user) で計画項目を整理する。 |
| description_en | Run a daily / weekly / iteration plan. Invokes `gh tasks plan` to organize plan items in the relevant scope's Milestone (repo) or Iteration (org/user). |
| allowed-tools | Bash(gh:*) |
| locale | ja |
task-plan - 計画立て
日次 / 週次 / イテレーション単位の計画を立て、該当する scope のバックログから今期の項目を確定する。
入力
- --period (任意):
daily / weekly / sprint のいずれか。省略時は weekly
- --scope (任意):
repo / org / user。省略時は git remote から推定
- --write (任意): 変更を適用する。指定しない場合は候補表示のみで、Milestone 作成 / Iteration 更新は行わない
手順
- 直近の未完了 / open Issue / draft を取得して要約する
gh tasks plan [--period ...] [--scope ...](デフォルトは preview)で候補を提示し、ユーザーと優先順位を確認する
- 確定したら
--write を付けて再実行し、変更を適用する(repo scope は Milestone を作成 / 再利用して期間内の Issue を bind、org/user scope は Project v2 Iteration を更新)
- 確定した計画一覧をユーザーに提示する
失敗時のフォールバック