<Skill Name>
Free<What this skill does>
The English summary is being prepared. Showing the original description.
リファクタリング(構造変更)と機能変更(behavior change)が同一 diff に混在していないかを識別し、structural change に対する external behavior preservation の証拠(テスト・型・静的解析)が揃っているかを diff-time で確認する。
証拠不足のときは Characterization Test 追加を促すか question とする。
DTO/公開 API の破壊的変更検出は api-compatibility、完了主張の反証や抽出リファクタの性能特性退行は refactor-claim-audit、新知識の命名・責務・境界への反映は knowledge-to-code-alignment、投機的抽象化・スコープ逸脱は altitude-generalization / fix-scope-integrity へ委譲する
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
inspired by:
上記は観測された考え方の紹介であり、本文の転載・著者による endorsement を含まない(nominative fair use)。命名は skills/README.md Naming に従い value を表す新規名として付与した。
Primary pattern: Reviewer Secondary patterns: Inversion Why: 振る舞い/構造変更の混在と外部挙動維持の証拠評価は意味的判断が主だが、構造変更の証拠が差分に無い変更では実行を止めるゲートが必要。
diff に対し、次を diff-time で確認する。テストが通るだけでは分からない「仕様混在」と「安全網なしの構造変更」を検出する。
needs_review(question)とする。PlanGate が Behavior Change / Preparatory Refactoring / Post-change Refactoring / Characterization の区分を提供する場合はそれを入力とし、River Review は Plan を再作成せず、diff と検証結果が Plan の変更順序・完了条件を満たすかを確認する。
report-only。finding/question のみを出力し、自動修正・自動マージはしない。
api-compatibility が担う。本 skill は破壊的変更の検出ではなく、振る舞い変更と構造変更の混在と構造変更の挙動維持証拠を見る。refactor-claim-audit が担う。本 skill は主張の有無に関わらず分離の質と証拠の有無を評価する。knowledge-to-code-alignment(sibling)が担う。本 skill は知識反映ではなく挙動維持を見る。altitude-generalization / fix-scope-integrity が担う。このスキルは以下の条件がすべて満たされない限り NO_REVIEW を返す。
diff が含まれている。dist/**・*.map・lockfile・自動生成 manifest)は Gate 判定からもレビュー対象からも除外する。ゲート不成立時の出力: NO_REVIEW: behavior-structure-separation — 構造変更の証拠が差分に検出されない
.claude/rules/review-core.md #1070)。本 skill は意味的判断に集中する。外部挙動を変える behavior change と、外部挙動を変えない structural change が同一 diff に混在し、区別できない場合に指摘する。
判定に使った「外部挙動を変える差分」の位置(file:line)と、構造変更部分との対比を示す。混在が疑わしいが証拠が弱い場合は question とする。
structural change の前後で外部挙動が維持されている証拠(テスト・型・静的解析)が差分から観察できない場合に指摘する。
Characterization Test(現状の外部挙動を固定するテスト)の追加を促すか、needs_review(question)とする。判定は inputContext の diff(テスト差分を含む)を一次情報とする。code_search / test_runner が利用可能なら既存テストの実在確認に用いてよいが、これらは既定の runner では供給されない前提で運用する。「diff に安全網が観察できない構造変更」は Safety Net 未提示として minor の finding とし、Characterization Test の追加(または needs_review)を促す。ただし diff の外に既存テストがある可能性は排除できないため、「既存テストが無い」と断定する書き方はせず、指摘は「この変更に挙動維持の証拠が含まれていない」という diff 内で反証可能な形に限定する。構造変更かどうか自体が diff から判別できない場合は question とする。
major。minor を起点とする。info 相当)とし、不確実性を明示する。file:line は差分内にアンカーする。差分外の推測に基づく指摘は question として返す。file:line・型による保証・静的解析)を示すか、diff に証拠が無いことを示す(既存テストの有無を diff だけでは断定できない場合は question とし、確認に使える検索語を添える)。.claude/rules/review-core.md)。すべて日本語。標準の finding フォーマットに従い、各指摘に check(1|2)と separation(clear|mixed|unclear)を含める。
(behavior-structure-separation):1: [要約] 分離の質は clear|mixed|unclear、最大の懸念は〈1文〉
<file>:<line>: [Check N] <タイトル>
check: 1 | 2
separation: clear | mixed | unclear
behavior_change: <外部挙動を変える差分の位置と内容>(該当なしなら "none detected")
structural_change: <構造変更の位置と内容>
evidence: <挙動維持の証拠(tests/types/static)or "none found"(検索語: `<grep pattern>`)>
Severity: major | minor | info(較正基準に従う)
Fix: <分離(別 PR/別コミット)or Characterization Test 追加 or 仕様変更の明示>
src/order/total.ts:30: [Check 1] リファクタと称して丸め方式(floor→round)を変更、仕様変更が混在
check: 1
separation: mixed
behavior_change: 合計計算の丸めが Math.floor → Math.round に変わり公開挙動が変化(src/order/total.ts:30)
structural_change: 計算ロジックを calcTotal() へ抽出(src/order/total.ts:22-35)
evidence: 抽出後の calcTotal を通すテストはあるが、丸め方式変更を検証するテストは無し(検索語: `Math.round`, tests/ に該当なし)
Severity: major
Fix: 丸め方式変更を別 PR に分離し仕様変更として明示するか、変更を検証するテストを追加する
src/parser/tokenize.ts:12: [Check 2] tokenize を分割抽出したが対象を通すテストが無い(Safety Net なし)
check: 2
separation: unclear
behavior_change: none detected
structural_change: tokenize() を splitTokens()/classify() に分割抽出(src/parser/tokenize.ts:12-40)
evidence: none found — tokenize/ splitTokens を通すテストが差分・既存に見当たらない(検索語: `tokenize\\(|splitTokens\\(` in tests/)
Severity: minor
Fix: 抽出前の外部挙動を固定する Characterization Test を追加してから構造変更する(または needs_review)
テストが足りない気がします
(Check の特定なし、behavior/structure の対比なし、証拠の検索語なし、Fix なし、api-compatibility / refactor-claim-audit の領分との分離なし)
needs_review で人間判断に委ねるかがチーム判断を要する場合。skills/midstream/knowledge-to-code-alignment/SKILL.md — 新知識のコード反映・設計知識の保全(sibling)skills/midstream/api-compatibility/SKILL.md — 公開 API / DTO の破壊的変更検出(委譲先)skills/midstream/refactor-claim-audit/SKILL.md — 完了主張の反証・性能特性の退行(委譲先)skills/midstream/fix-scope-integrity/SKILL.md — スコープ逸脱・前提破壊(委譲先).claude/rules/review-core.md §「カスタム静的解析の False-positive 責務分界(#1070)」docs/review/output-format.md — 重要度ラベルと出力形式(SSoT)No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
<What this skill does>
The English summary is being prepared. Showing the original description.
画像・ボタン・フォーム要素に適切なアクセシブルネームがあるか確認する。
The English summary is being prepared. Showing the original description.
Ensure ADRs capture context, decision, alternatives, tradeoffs, and follow-ups in a way that prevents future drift.
The English summary is being prepared. Showing the original description.
敵対的分析手法を統合したレビューの entry skill。認知バイアス対策の3手法 (Pre-mortem / War Game / Logic Torturing)と、宣言・主張と実態の乖離を突く claim-vs-actual 検出3パターン(Self-Contradiction / Refactor-Claim Audit / Cross-File Leakage)へルーティングし、通常のレビューでは見えない設計の盲点・ 防御の穴・論理の弱点・宣言と実装のズレを可視化する。
The English summary is being prepared. Showing the original description.
Review changes to the Agent Skills import/export bridge for path safety, round-trip fidelity, and validation correctness.
The English summary is being prepared. Showing the original description.
Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.
The English summary is being prepared. Showing the original description.