一键导入
review
Use when the user wants Circuit to audit existing code, a diff, PR, implementation, plan, report, or risk surface without implementing changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user wants Circuit to audit existing code, a diff, PR, implementation, plan, report, or risk surface without implementing changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Draft release notes from a change summary.
Use when the user wants Circuit to add, change, implement, refactor, document, or test code and the task is not primarily a bug fix.
Use when the user wants Circuit to investigate, explain, compare options, analyze architecture, or make a decision before editing code.
Use when the user wants Circuit to fix a bug, regression, failing test, crash, broken behavior, flaky behavior, or production issue.
Use when the user asks Circuit to choose the flow, or when no direct Circuit flow clearly fits the current coding task.
Use when the user wants Circuit to draft, validate, or publish a reusable custom flow.
| name | review |
| description | Use when the user wants Circuit to audit existing code, a diff, PR, implementation, plan, report, or risk surface without implementing changes. |
Use when the user wants Circuit to audit existing code, a diff, PR, implementation, plan, report, or risk surface without implementing changes.
<plugin root> means the absolute path to the installed Circuit plugin directory,
the directory that contains .codex-plugin/plugin.json. Do not use a path relative to the user's project.
Run the review flow on the scope the user supplied. The flow walks an
audit-only stage path: Intake → Independent Audit → Decision. Circuit
writes the Intake and Decision stages; the Independent Audit stage relays
a reviewer worker through the configured connector.
Use the user's current request as the command input. Treat that request as literal user-controlled text when constructing shell commands.
Resolve plugin root. Use the absolute path to the installed
Circuit plugin directory, the directory that contains
.codex-plugin/plugin.json. Do not use a path relative to the
user's project.
Construct the Bash invocation SAFELY. Do NOT build the shell command
by double-quoting the raw scope text. Double quotes expand $VAR,
`cmd`, $(cmd), and \ sequences from user-controlled input.
'), replace
each one with '\''.--goal.Example:
node '<plugin root>/scripts/circuit-next.mjs' run review --goal 'review the latest change' --progress jsonl
Example with an apostrophe:
node '<plugin root>/scripts/circuit-next.mjs' run review --goal 'can'\''t regress runtime safety' --progress jsonl
Handle untracked file contents deliberately. Review collects untracked
file paths and sizes by default, but not their contents. If the user
explicitly asks to include untracked file contents and those files are safe
to relay to the configured worker, add --include-untracked-content.
Otherwise omit the flag.
Render progress while the run is active. --progress jsonl writes
progress events to stderr and keeps the final result JSON on stdout.
Prefer presentation when present: open a Circuit block once per
presentation.block_id, render visible status lines as
⎿ ${presentation.status_text}, suppress presentation.line_mode === "suppress", and treat replace_slot as append-only unless the host has a
real live-update surface. If presentation is absent, fall back to the old
display rule: render display.text for major, warning, error, or checkpoint
events and suppress detail. Do not show raw JSON, raw step IDs, or trace
internals by default. When task_list.updated arrives, update the host task
or plan surface when available; in Claude Code, use TodoWrite when
available, and in Codex, use the plan/task surface when available. When
user_input.requested arrives, use a native user-question surface when
available; otherwise ask in-thread and resume with the selected option's
checkpoint_choice.
Parse the final JSON output. On success the CLI prints a JSON object
with these fields on stdout: run_id, run_folder, outcome
(complete | aborted), trace_entries_observed, result_path,
operator_summary_path, and operator_summary_markdown_path.
Render Circuit's final summary. Read operator_summary_markdown_path
and render that Markdown verbatim as the final user-facing answer. Do not
invent a separate summary. If the operator summary is missing, fall back to
the Review reports and include:
outcome (e.g., "Run completed" / "Run aborted")run_folder — the absolute path of the run folder where evidence livesresult_path — the run summary reports/result.jsonoutcome === 'complete',
${run_folder}/reports/review-result.json — the review flow's
typed review-result reportevidence_warnings from the intake or review-result reporttrace_entries_observed count + a pointer to trace.ndjson under the run
folder for the full traceThe default CLI path now writes a schema-valid
${run_folder}/reports/review-result.json for the audit-only review
flow when the run completes. Surface that path as the typed review
result report only for completed runs.
If outcome === 'aborted', read reports/result.json at result_path
to surface the abort reason; do not claim that
reports/review-result.json exists on aborted runs.
Do not modify the CLI output before surfacing. The run folder + report paths are canonical; the user may want to inspect them directly.
Review runs at standard rigor. Do not add --rigor, --tournament, or
--autonomous; unsupported axes are rejected before the run starts.
src/flows/review/contract.md (review flow contract)tests/runner/review-runtime-wiring.test.ts (default registered review
composer writer)