共有インストール済みのautoreviewを使い、指定範囲のコードを優先度別に点検して、結果とカバレッジ、制約を確認します。
- コード変更を範囲指定してレビューしたいとき
- 指摘の優先度と網羅範囲を確認したいとき
- Codex CLI不在時の代替レビューを使いたいとき
Windows向け変更を実装後に見直し、必要な修正、既存の責務、固有の不具合を防ぐテストと検証を保ちながら、差分を必要最小限に整理します。
Simplify your own Windows-node change to its smallest complete fix while preserving distinct regressions, platform contracts, and required proof. Use after implementation before PR preparation, after large repairs, or when asked to shrink a change or remove slop.
実行スコア 未検証
インストール方法を見るWindows向けの変更を実装した後、プルリクエストの準備前に差分を見直し、修正の目的に必要なコードやテストだけが残るよう整理します。変更の起点となる不具合と守るべき条件を明確にし、新しいクラスやラッパー、互換処理、テスト補助などが既存の責務と重複していないか確認します。WinUIの画面ライフサイクル、MSIXと非パッケージ版の違い、GatewayやWSLの所有境界、x64とARM64の配布条件など、対象に関わる契約は維持します。最後に差分を再確認し、元の不具合再現と影響する境界の検証を行い、残したもの・削ったもの・未解決点と検証結果を報告します。
大きな修正を小さくまとめたいときや、実装後に不要な構造や重複テストを見つけたいときに向いています。レビューのみを依頼した場合は、編集ではなく指摘事項をまとめる用途にも使えます。
対象のリポジトリ指示、アーキテクチャ資料、テスト監査・検証手順を参照し、変更に関係する契約を確認します。編集には元タスクの変更権限や実行環境の制約が適用されます。コミット、プッシュ、公開、GitHub上の更新には別途明示的な権限が必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this author-side pass after implementing a change and before preparing a PR. After a large repair, simplify only the new changes and the owners they touch. It precedes review and never replaces it. A review-only request produces findings instead of edits. Inherit the task's scope, worktree ownership, mutation authority, and runtime restrictions.
The diff is a proposal. Passing tests show that it works, not that every new owner, abstraction, compatibility path, or test is necessary.
Read the root repository instructions, the nearest scoped
AGENTS.md, and only the architecture guides for the changed behavior.
Record the target merge base, current HEAD, staged and unstaged changes, and relevant untracked files. Read the complete candidate diff, the reported behavior, retained proof, the production owner, and its existing tests.
Ask:
Starting from the base, what is the smallest complete fix using the owners already present? Would I still introduce this architecture?
State the defect, required invariant, and smallest complete fix in one sentence each. Trace every changed hunk to that outcome. Remove unrelated cleanup or move it to a separately authorized change.
Inspect the largest new classes, services, partials, state stores, adapters, DI registrations, compatibility branches, and test fixtures first. Read their direct callers and relevant history before treating them as redundant. When a change moves hundreds of lines, crosses multiple owners, or combines product behavior with infrastructure, identify the smallest coherent stage that can land independently and reduce the candidate to that stage.
For files named in the architecture ledger,
preserve every authoritative owner and never reintroduce a closed
responsibility. A real ownership transfer updates the ledger and protects the
vacated boundary; moving code to another partial file is not a simplification.
Done when every remaining hunk serves the stated fix and its preserved invariant.
Apply each supported simplification in the changed system:
Apply these Windows-node checks when their surface is in the diff:
Follow the WinUI ownership guide.
Views own layout, named-control application, and lifecycle forwarding.
ViewModels and presenters own observable state and pure projection. Services own
IO, persistence, timers, processes, Gateway calls, and hosting. App remains
the composition root.
Prefer the existing IUiDispatcher seam for presentation work. Do not simplify
away dispatcher rejection, cancellation, generation checks, activation and
deactivation, event unsubscription, or disposal ordering when those guard
window close, navigation replacement, shutdown, or stale async completion.
Do not replace a page applicator with a presenter that merely wraps its named
controls.
Treat MSIX and unpackaged Inno/portable behavior as real product differences.
Before merging branches around package identity, startup, notifications,
updates, migration, or uninstall, inspect PackageHelper, AppIdentity, the
manifest, installer.iss, and the relevant tests. Preserve existing AUMIDs,
package identities, data locations, and migration compatibility.
The optional release updater remains admitted by channel before its backend is
loaded. Packaged (MSIX), DEV_BUILD, and Debug builds skip it before
UpdateBackendLoader.Load(). Removing that distinction or eagerly constructing
the vendor backend is not simplification.
Use the connection architecture for
connection, credential, pairing, and reconnect changes.
GatewayConnectionManager remains the public lifecycle owner. Preserve
device-token precedence for operator and node WebSockets, shared-token
precedence for interactive HTTP surfaces, explicit approval boundaries, active
gateway generation fencing, and transaction rollback.
For an app-owned setup-managed WSL Gateway, keep supervision in the tray's managed-local owners, not in the connection layer. Never adopt, restart, stop, or clean an ambiguous localhost process or distro. Preserve operator stop and disconnect intent, provenance gates, cancellation, rollback, and setup-owned state. Read the setup engine and WSL administration boundary when those contracts are touched.
Each command has one capability owner and authoritative registration seam.
Shared node capabilities are re-registered synchronously for every fresh
Gateway client, including reconnects, while local MCP reads the same capability
set; winnode consumes the local MCP contract. Preserve deliberate transport
exclusions: local-only app.* and app.connection.* capabilities must not be
widened to the remote Gateway transport, and browser.proxy remains
conditionally registered. Do not add a parallel implementation or remove the
registry, MCP description, shipped skill, focused tests, or applicable live
invocation proof required by the
Windows node contract.
Installer, migration, cleanup, and updater paths preserve user state across upgrade and migration. Automatic cleanup requires positive ownership. An exact target may also be removed after explicit destructive confirmation; without that override, uncertainty about migration, package presence, or ownership fails closed and preserves state. Keep source checks distinct from signed installer, Store, and migration runtime proof.
Treat x64 and ARM64 as separate native artifact contracts. Preserve RID-specific dependencies, installer architecture gates, MSIX inputs, and output names. A host-x64 pass does not justify deleting ARM64 handling. Use the validation inventory and release matrix for the affected packaging surface.
Keep comments only for ownership, lifecycle, ordering, security, compatibility, or non-obvious constraints. Prefer repository types and helpers over casts, duplicate parsing, broad catches, arbitrary waits, and success-shaped fallback. Keep aliases, retries, and shims only when a named shipped contract needs them.
When history leaves a path's purpose unclear, keep it and report the unresolved decision. Do not turn simplification into a new product decision, breaking contract, unrelated cleanup, or destructive state migration.
For each added or changed test group and fixture helper, name the observable failure it catches. Follow the Windows test-audit skill.
Keep regressions for the reported defect and distinct boundaries such as:
Keep source-shape or architecture guards that protect a concrete ledger closure or shipped package/command contract. A unit test does not replace distinct WinUI rendering, fixture transport, installer, architecture, or live Gateway proof.
Remove duplicate same-path cases, mock echoes, incidental field-copy or wording assertions, tests of obsolete implementations, and scaffolding or production hooks used only by deleted logic. Consolidate useful cases into the existing owner suite without weakening assertions, real-boundary coverage, or baselines.
Done when every remaining test group has a named failure and each removed test is demonstrably covered or obsolete.
Batch the simplification edits, inspect the complete diff again, and run the original reproduction plus the focused checks for every changed contract and affected consumer. Use the validation planner and proof skill.
Code changes retain the repository's required build, Shared tests, and Tray tests plus targeted lanes. Documentation-only skill edits use the documentation and skill validators. Reuse earlier evidence only when its source, inputs, binary, runtime, and asserted behavior remain unchanged. Check actual execution counts and selected cases, not only exit code.
Done when superseded paths are unreachable, the reduced behavior has current proof, and the full candidate diff has an explicit keep, simplify, remove, or unresolved verdict. No edit is a valid outcome when the existing shape is justified. Prefer net-negative code, not a deletion quota.
Report:
Then use Windows PR preparation if a local PR body or readiness handoff is requested. Do not commit, push, publish, update GitHub metadata, or alter a shared runtime without separate explicit authority.
Windows-owned adaptation of the MIT-licensed OpenClaw author-side simplification workflow. Windows retains its architecture ledger, WinUI lifetime rules, package and installer contracts, Gateway/WSL ownership, command-surface obligations, multi-architecture release behavior, and mandatory local validation.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
共有インストール済みのautoreviewを使い、指定範囲のコードを優先度別に点検して、結果とカバレッジ、制約を確認します。
CrabboxでリモートのWindows環境にチェックアウトを同期し、ビルドやテスト、対象を絞った動作確認を実行して結果を記録します。
OpenClaw Windows Nodeの未解決IssueとPRを網羅して分類し、検証要件や担当状況を踏まえた着地順とリリース計画をまとめます。
2つのAIモデルにコードを独立してレビューさせ、指摘を照合して、重要度と修正の確度をまとめた結果を作成します。
npmの最新版、公開済みパッケージ、指定ソースからWindows用の隔離セッションGatewayを構築・登録し、Companionで検証して開発用登録を解除するスキルです。
OpenClaw Windows Companionの起動、接続、権限、更新などの不具合を、症状に応じて切り分け、適切な診断情報と検証方法を選ぶスキルです。