km:plan
适合把计划系统化并与 repo 同步,减少文档孤岛并便于 review。
会使用 git/gh 操作仓库并创建或修改 Issue,需相应权限与审慎操作。
将实现计划写入 .plan/ 并在 GitHub 仓库中镜像为 Issue 作为权威记录。
把实现计划写成 .plan/YYYYMMDD-<slug>.md,并在托管的 GitHub 仓库里把最终计划全文镜像为 Issue,作为权威记录和协作入口。适合在要把方案固化、走评审並用 Issue 跟踪时使用。流程把草案、落盘、审阅到 mirror 串成链路,方便追溯與后续衔接。
▸ 展开 SKILL.md 英文原文
Materializes implementation plans into `.plan/YYYYMMDD-<slug>.md` and, on a GitHub-managed repo, mirrors the final plan body to a GitHub issue as the canonical reference. The materialize-and-issue flow fires on explicit materialize / issue triggers — e.g. "issue にして", "計画を issue にして", "Issueで計画して", "issue に実装計画を作って", ".plan に出して", "計画レビューしてから issue 化". Lighter "計画を作って" / "実装計画を作成して" / "まず計画だけ" stays in draft-only — `<proposed_plan>` only, no disk write, no issue. Bare "PR にして" / "最後は PR" is km:github-workflow; "レビューして" on diffs is km:review. For "計画を作って PR まで" or "計画を issue にして PR にして", km:plan runs first then hands off to km:github-workflow with the issue number.
帮我安装这个 skill:https://raw.githubusercontent.com/koumatsumoto/agent-config/main/templates/skills/plan/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/koumatsumoto/agent-config/main/templates/skills/plan/SKILL.md"# Plan 実装前に計画を作り込み、`.plan/YYYYMMDD-<slug>.md` へ書き出し、それを agentic にレビューし、反映後の本文を GitHub issue へ全文ミラーする。Plan / Materialize / Review / Mirror / Report の 5 phase で進める。 ## Context - Repo: !`git rev-parse --is-inside-work-tree 2>/dev/null || echo "(not a git repo)"` - Branch: !`git branch --show-current 2>/dev/null` - `.plan/` tracked?: !`git ls-files -- .plan .plan/ 2>/dev/null | head -1 || echo "(none)"` - `.plan/` ignored?: !`git check-ignore -q .plan/ 2>/dev/null && echo "yes" || echo "no"` - `.gitignore` has `.plan/`: !`grep -E '^\.plan/?$' .gitignore 2>/dev/null || echo "(absent)"` GitHub / `gh` は draft-only では不要なため Context で取得せず、repo 確認と認証は Phase 4 (Mirror) で行う。Context はロード時のスナップショットで、実際