Uh oh!
There was an error while loading. Please reload this page.
Fix: ndfプラグインをCodex対応 - #38
Conversation
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 1 | gemini | REQUEST_CHANGES
Claude と Codex の Skill 構成を分離するという方針自体は、各ランタイムで不要な Skill を隠蔽できるため非常に良いアプローチです。
しかし、現在の実装では skills-claude/ と skills-codex/ の配下に実体ファイルをそのままコピーしているため、元となる skills/ 配下と完全に二重管理(DRY違反)になってしまっています。
今後の保守性を考慮し、単一のソース (skills/) を維持しつつ表示を制御する形への修正をリクエストします。詳細は各インラインコメントをご確認ください。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 1 | codex | REQUEST_CHANGES
修正提案はインライン1件と本文1件です。
[major / 保守性] plugins/ndf/skills-codex/playwright-test-planning/docs/checklists/checklist-list.md に実 NUL バイトが混入しており、GitHub diff でも binary として扱われます。LST7 の例は実 NUL ではなく <NUL> などの文字列表現に置き換え、Markdown を通常のテキスト差分として扱える状態にしてください。
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
commented
Jun 28, 2026
/ndf:fix 対応サマリ対応コミット: 591d79f 対応内容
検証
Deferred: 0 / Rejected: 0 |
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 2 | codex | REQUEST_CHANGES
Codex install後に公開対象の skill ディレクトリが空になるため、このままだと Codex 版 ndf の Skill が読み込まれません。
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 2 | gemini | REQUEST_CHANGES
- 設計レベルの指摘:
README.mdとdocs/ndf-plugin-reference.mdに記載されているskills-claude/ディレクトリが存在せず、実装とドキュメントが乖離しています。利用者の混乱を招くため、ドキュメントを修正するか、ディレクトリ構成を統一してください。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
commented
Jun 28, 2026
/ndf:fix round 2 対応サマリ対応コミット: befe8c0 対応内容
検証
Deferred: 0 / Rejected: 0 |
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 3 | codex | REQUEST_CHANGES
plugins/ndf/AGENTS.md と docs/project-overview.md に、実在しない skills-claude/ と古い version 表記が残っています。v4.17.0 の実装(Claude Code/Kiro は manifest 配列で ./skills/... を参照し、Codex のみ skills-codex/ 実ディレクトリを使う構成)に揃えてください。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 3 | gemini | REQUEST_CHANGES
Codex向けにスキル群を実ディレクトリ化(skills-codex/)した際のパス指定漏れやハードコードについて修正を提案します。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
/ndf:fix round 3 対応サマリ対応コミット: 9ad4003 対応内容
検証
Deferred: 0 / Rejected: 0 |
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 4 | codex | APPROVE
修正提案はありません。
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 4 | gemini | REQUEST_CHANGES
Codex向けの案内として追加された skills-codex/playwright-kit-ops の実体が存在しません。ディレクトリをコピーするか、案内するパスを修正してください。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
commented
Jun 28, 2026
🔧 /ndf:fix サマリ (round 4)対応件数: major=2 (合計 2 件) 詳細
|
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 5 | codex | REQUEST_CHANGES
修正必須の指摘が2件あります。Codex公開セットでのDrive連携到達性と、Windows初期化スクリプトのユーザー入力展開を直してください。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 5 | gemini | COMMENT
[minor / 堅牢性]
PR横断の修正提案です。fix/SKILL.md 等で PLUGIN_ROOT フォールバック対応(${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}})が行われましたが、skills/cross-review/SKILL.md や skills/statusline/SKILL.md などの一部オプションスキルには CLAUDE_PLUGIN_ROOT の直書きが残っています。将来的なランタイム仕様変更に備え、これらも同様のフォールバック形式に統一しておくことを推奨します。
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
commented
Jun 28, 2026
🔧 /ndf:fix サマリ (round 5)対応件数: major=2 / minor=2 / nit=0 (合計 4 件) 対応内容
検証
CI エラー対応: なし (checks 未登録) |
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 6 | codex | COMMENT
Codex Stop hook と optional skill 運用ドキュメントに修正提案があります。
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
takemi-ohama
left a comment
There was a problem hiding this comment.
🤖 cross-review | round 6 | gemini | APPROVE
設定ファイルの分離・参照パスの整理は適切に行われており、特筆すべき修正点はありません。
takemi-ohama
commented
Jun 28, 2026
cross-review final sweep
Validation:
CI snapshot: no checks reported / no failing checks at sweep time. |
分岐・反復・定数をどう持つかの判断材料を、独立 Skill ではなく構造改善の 観点として統合する(issue #38)。 独立 Skill では発動条件を「コードを書くとき」以外に書けず、常に該当する トリガは発動判定として働かない。既存のコードスメル 14 件のうち 4 件とも 重複しており、棚卸台帳の「重複は統合」の基準に該当する。統合により発動点が 「リファクタリングを始めるとき」に定まる。 - safe-refactoring → refactoring(公開コマンドの非互換変更) - コードスメル 3 件追加(業務ルールの埋め込み / 一件ずつの反復 / 検証のない外部化)と、対応する手法 2 件 - references/data-representation.md に判定表・外部化の条件・判断の記録 - references/language-notes.md を移設 - Skill 31 → 30 個(Claude 26 / Codex 24 / Kiro 25) - 移行対応表を ndf-policies へ追加(v9.0.0 で削除)。v7.0.0 の対応表は 予告どおり削除 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cpg1uksLKy4W7GxFZwQELG
分岐・反復・定数を何にどう置き換えるかの判断材料を、構造改善の Skill へ統合する(issue #38)。 あわせて safe-refactoring を refactoring へ改名する。公開コマンドの非互換変更のため v8.0.0。 - Skill 30 個(Claude 26 / Codex 24 / Kiro 25)。追加ではなく統合 - コードスメルに 3 件追加(業務ルールの埋め込み / 一件ずつの反復 / 検証のない外部化)と 対応する手法 2 件 - references/data-representation.md に判定表・外部化の条件・判断の記録 - 言語ごとの手段は 1 言語 1 ファイル(lang-python / javascript / typescript / php) - 構造改善を必須工程にし、対象範囲を呼び出し元・呼び出し先・同一モジュールまで広げる - 移行対応表を ndf-policies へ追加(v9.0.0 で削除)。v7.0.0 の対応表は予告どおり削除 - validate-runtime-plugins.sh に manifest 実数と description の突き合わせ検査を追加 cross-review: codex / gemini とも APPROVE(12 ラウンド、指摘 24 件対応、deferred 0) Closes#38
Summary
.codex-plugin/plugin.jsonと.agents/plugins/marketplace.jsonを追加hooks/hooks.jsonのトップレベルdescriptionを削除し、plugin root参照をCodex/Claude Code両対応に変更descriptionを英語の短いトリガー文へ更新し、Codexのskills context budget警告を抑制しつつ呼び出しやすさを改善NDF_CODEX_SLACK_NOTIFY=trueの明示opt-in時のみ既存Slack環境変数で通知skills-claude/core 26個、Codex向け公開Skillをskills-codex/core 27個に分離skills-optional/README.mdに整理し、通常利用時のSkill context budgetを圧迫しない構成に変更skills-claude参照を拾えるよう更新Test plan
git diff --checkgit diff --cached --checknode --check plugins/ndf/scripts/codex-slack-notify.jsbash -n scripts/install-kiro.sh.agents/plugins/marketplace.json,plugins/ndf/.codex-plugin/plugin.json,plugins/ndf/.claude-plugin/plugin.json,plugins/ndf/hooks/codex-hooks.json,plugins/ndf/hooks/hooks.jsonclaude plugin validate plugins/ndfCODEX_HOMEでcodex plugin marketplace add ./→codex plugin add ndf@ai-pluginsskills-codexのSKILL.mdが27件、skills-claudeのSKILL.mdが26件解決できることを確認.claude-plugin/plugin.jsonから26件のskills-claude参照を取得できることを確認NDF_CODEX_SLACK_NOTIFY未設定 / Slack token未設定時にCodex Slack notify scriptがno-opで終了することを確認count=48 description_chars=2165 max_description_chars=62Notes
skills-claude/とskills-codex/は実ディレクトリとして同梱しています。