Claude Codeスキルとしてのレビューループ実装(/codex-review) - #6
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
issueURL
#4
この PR で対応する範囲 / この PR で対応しない範囲
対応する範囲
/codex-reviewスキルの定義(SKILL.md)とCodex構造化出力用JSON Schemaの追加対応しない範囲
src/配下のTypeScriptコードの変更は一切行わない(Issue ClaudeCodeが作成した実装プランをCodexでレビューする為の機能を開発する #3 の実装はそのまま維持)変更点概要
Issue #3 で実装したスタンドアロンCLI方式(
planloop run)の実機テストで、毎ラウンドのファイル編集ベースのトリアージが重い・前回の文脈を覚えていない・途中で止められない等の問題が判明した。これを解決するため、Claude Codeのスキル(
.claude/skills/codex-review/)として再実装した。スキルとして実装することで:codex exec resume <thread_id>で前回の文脈を保持し、同じ指摘の繰り返しを防止TypeScriptの新規コード追加は不要で、Issue #3 のロジック(プロンプトテンプレート、Waiver適用、フィンガープリント生成、エビデンス検証等)をスキル定義内の手順として記述している。
レビュアーに重点的にチェックして欲しい点
SKILL.mdのプロンプトテンプレート(初回レビュー / 再レビュー / フィードバック反映)が設計書と整合しているかcodex exec resume <thread_id>のセッション引き継ぎ部分)補足情報
codex exec resumeは--output-schemaをサポートしないため、2回目以降はプロンプト内にJSON出力形式を明記して代替