Install
openclaw skills install data-flow-review通用数据流 code review:追踪状态、分支、字段语义与持久化一致性。
openclaw skills install data-flow-reviewUse when Codex needs to review code by tracing how data actually moves through a system instead of judging files in isolation.
This skill is for code review, audits, and patch checks where correctness depends on:
Prefer real code paths, actual callers, request builders, store writes, event payloads, and state transitions over comments, interface names, or assumptions.
Trace the real path before judging any field.
Find the entry point. This may be a page action, button handler, route, controller, job consumer, event handler, cron, queue worker, or API endpoint.
Walk the full chain. Build a minimal path map in the shape:
entry -> transform -> store/cache/db write -> request/event -> downstream consumer -> next state
Mark every branch point explicitly. Common branch types:
Do not stop at the first apparently-correct local use. A field may be correct in one API call but stale or incorrect in the next page, store read, queue payload, or follow-up transition.
List the small set of entities or fields whose meaning must remain stable through the flow.
Typical categories:
For each important field, record:
If one field temporarily carries a different concept, flag it. Do not accept "it is corrected later" unless all intermediate consumers are proven safe.
Review every place where meaning can drift because data crosses a boundary.
Common boundaries:
At each boundary, ask:
For every branch point, verify these questions in order:
Pay special attention to:
a || b that silently collapse meaningFor each important API call, DB write, or event payload:
When docs, schemas, spreadsheets, or contracts exist, compare:
When reviewing a patch, ask:
Prefer the smallest fix that restores correct semantics without widening behavior changes.
Strong signals of risk:
When producing a review, findings come first and are ordered by severity.
Each finding should include:
After findings, provide a short flow summary only if it helps explain the issue set.
Use this skill for outputs such as: