Skip to content

feat: runtime-split-kiro Kiro plugin#49

Merged
takemi-ohama merged 5 commits into
release/runtime-plugin-splitfrom
feature/runtime-split-kiro
Jul 6, 2026
Merged

feat: runtime-split-kiro Kiro plugin#49
takemi-ohama merged 5 commits into
release/runtime-plugin-splitfrom
feature/runtime-split-kiro

Conversation

@takemi-ohama

@takemi-ohama takemi-ohama commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • plan: issues/agent-runtime-plugin-split.md
  • release PR: release: runtime plugin split #45
  • 担当範囲: Task 4 / Kiro runtime plugin 分離
  • plugins/ndf-kiro/ を追加し、Kiro 向け README、agent template、workflow prompts、生成済み skills / scripts を同梱しました。
  • scripts/install-kiro.sh と root .kiro/ 生成物を削除し、Kiro installer の入口を plugins/ndf-kiro/install.sh に移動しました。
  • installer が .claude-plugin/plugin.json に依存しないようにし、plugins/ndf-kiro/skills/ から .kiro/skills/ symlink と .kiro/agents/default.json を生成する方式へ変更しました。
  • README.md / KIRO.md / Kiro 仕様書 / 親 plan の進捗を新構成に合わせて更新しました。

Test plan

  • bash -n plugins/ndf-kiro/install.sh
  • bash scripts/build-runtime-plugins.sh --check
  • bash plugins/ndf-kiro/install.sh --dry-run --with-slack --with-codex
  • actual install で .kiro/agents/default.json の JSON validity、pr symlink、codex.md prompt 生成を確認後、生成 .kiro を削除
  • git diff --check

@takemi-ohama takemi-ohama mentioned this pull request Jul 5, 2026
15 tasks
@takemi-ohama takemi-ohama force-pushed the feature/runtime-split-kiro branch from e923453 to df30747 Compare July 6, 2026 20:36
@takemi-ohama takemi-ohama marked this pull request as ready for review July 6, 2026 20:37

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 1 | codex | REQUEST_CHANGES

scripts/install-kiro.sh を削除して Kiro の入口を plugins/ndf-kiro/install.sh に移した一方で、plugins/ndf/README.md には旧コマンドが複数残っています。マージ後に存在しない installer を案内するため、同 README の Kiro セクションと hooks 表の参照も新パスへ更新してください。

Comment thread plugins/ndf-kiro/skills/statusline/SKILL.md Outdated

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 1 | gemini | APPROVE

  • Kiro プラグインの分離、および関連する構成変更が意図通りに行われていることを確認しました。
  • 新規追加された build-runtime-plugins.sh や各種 shell script についても、安全な作法 (set -euo pipefail, 適切なクオート等) で記述されていることを確認しました。

[minor / 堅牢性]
現在 build-runtime-plugins.shrewrite_codex_skill_paths にて Codex 環境向けの ${PLUGIN_ROOT} フォールバックを置換していますが、Kiro 環境でもユーザーが明示的に PLUGIN_ROOT を export していない場合、${CLAUDE_PLUGIN_ROOT} も空となりパスが /skills/... に解決されてエラーになる懸念があります(fix, cross-review, statusline 等のスキル)。

将来的な不具合を防ぐため、Kiro 向けにも KIRO_PLUGIN_ROOT 等を挟む置換処理 (rewrite_kiro_skill_paths) を追加するか、KIRO.md 内で PLUGIN_ROOT の設定手順を明記することを検討してください。

@takemi-ohama

Copy link
Copy Markdown
Contributor Author

cross-review fix summary

対応コミット: 5f6ec2a

対応内容:

  • Kiro runtime 生成時の rewrite_kiro_skill_paths を追加し、PLUGIN_ROOT / CLAUDE_PLUGIN_ROOT 未設定時でも Kiro skill の script 参照が plugins/ndf-kiro 配下へ解決されるようにしました。
  • 生成済みの plugins/ndf-kiro/skills を同期し、statusline / fix / review-pr-comments / cross-review の参照を更新しました。
  • plugins/ndf/README.md に残っていた旧 scripts/install-kiro.sh 案内を plugins/ndf-kiro/install.sh に更新しました。

検証:

  • bash -n plugins/ndf-kiro/install.sh
  • bash scripts/build-runtime-plugins.sh --check
  • git diff --check
  • bash plugins/ndf-kiro/install.sh --dry-run

codex review body の README 指摘、および gemini review body の Kiro path 懸念も同じ修正で対応済みです。deferred / rejected はありません。

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 2 | gemini | APPROVE

設計と変更範囲に問題はありません。仕様通りに Kiro 用プラグインが分離・構成されています。

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 2 | codex | REQUEST_CHANGES

.kiro/ 生成物が install 後に未追跡で残るため、生成先の扱いを .gitignore か installer 側で明示してください。

Comment thread plugins/ndf-kiro/install.sh
@takemi-ohama

Copy link
Copy Markdown
Contributor Author

cross-review fix summary / round 2

対応コミット: 1cfc496

対応内容:

  • Kiro installer が repo root に生成する .kiro/agents / .kiro/skills / .kiro/prompts を誤って再コミットしないよう、.gitignore.kiro/ を追加しました。
  • git check-ignore.kiro/agents/default.json / .kiro/skills/statusline / .kiro/prompts/pr.md が ignore されることを確認しました。

検証:

  • bash -n plugins/ndf-kiro/install.sh
  • bash scripts/build-runtime-plugins.sh --check
  • git diff --check
  • bash plugins/ndf-kiro/install.sh --dry-run

今回の deferred / rejected はありません。

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 3 | gemini | APPROVE

変更内容を確認しました。とくに指摘事項はありません。

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 3 | codex | COMMENT

インラインに1件、installer の再実行時に生成物がオプション状態とずれる修正提案があります。

Comment thread plugins/ndf-kiro/install.sh
@takemi-ohama takemi-ohama marked this pull request as draft July 6, 2026 20:58
@takemi-ohama takemi-ohama marked this pull request as ready for review July 6, 2026 21:02
@takemi-ohama takemi-ohama merged commit 321b06e into release/runtime-plugin-split Jul 6, 2026
@takemi-ohama takemi-ohama deleted the feature/runtime-split-kiro branch July 6, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant