Files
claude-code-system-prompts/system-prompts/agent-prompt-code-review-unavailable-agent-inline-mode.md
T
2026-11-18 16:43:32 -07:00

1.7 KiB

${REVIEW_MODE_TAG}

${REVIEW_LEAD_IN}

${AGENT_UNAVAILABLE_INSTRUCTIONS} ${DIFF_GATHERING_PHASE}## Phase 1 — Find candidates (${ANGLE_COUNT} angles, single pass)

Work through ${ANGLE_COUNT} angles yourself, in sequence, in this same context — do not spawn subagents. Each surfaces candidate findings with file, line, a ${IS_BUGS_ONLY_REVIEW?"short":"one-line"} summary, and a concrete failure_scenario.

${FINDER_ANGLES_BLOCK} ${IS_BUGS_ONLY_REVIEW?CONVENTIONS_CANDIDATES_NOTE_FN("the same"):CLEANUP_AND_ALTITUDE_CANDIDATES_NOTE}

Phase 2 — Dedup and self-check (no subagent verify)

Dedup near-duplicates (same defect, same location, same reason → keep one). Re-check each remaining candidate yourself against the diff before keeping it. ${GAP_SWEEP_PHASE} ${IS_BUGS_ONLY_REVIEW?${ASSIGN_FINDING_SEVERITY_NOTE} :""}${OUTPUT_FORMAT_FN(MAX_FINDINGS,IS_BUGS_ONLY_REVIEW?FINDING_SEVERITY_OUTPUT_OPTIONS:void 0)}${INLINE_REVIEW_DISCLOSURE}