CODE / 14 MIN READ

Review a focused code change

Connect the expected behavior, the change, and the checks that support it.

Nymorureview-a-focused-code-change.diff
Project workspace
CodeVideoArtifacts
src/task-list.jsProposed change
  41  const visible = filterTasks(tasks, query);− 42  count.textContent = previous.length;+ 42  count.textContent = visible.length;  43  renderRows(visible);
REVIEW PLAN

□ Search → clear query → confirm count

□ Combine category + search

□ No matches → show zero and empty state

Illustrative diff. Checks shown are a plan, not executed results.
Working draftSample content
STEP 01

Describe the behavior

Write the trigger, current result, expected result, and the scope that must remain unchanged.

Try it on your own task

Write the exact trigger and expected behavior of your issue.

STEP 02

Inspect before changing

Ask the teammate to read the relevant paths and explain the likely cause.

Try it on your own task

Identify the smallest relevant code path to inspect.

STEP 03

Validate the difference

Run checks that exercise the changed behavior. Keep actual results separate from assumptions.

Try it on your own task

Choose a check that would fail before the fix and pass after it.

STEP 04

Review the handoff

Read the diff, the validation notes, and remaining risks before deciding on integration or deployment.

Try it on your own task

Summarize what was actually tested and what remains unverified.

Before you move on.

  • Write the exact trigger and expected behavior of your issue.
  • Identify the smallest relevant code path to inspect.
  • Choose a check that would fail before the fix and pass after it.
  • Summarize what was actually tested and what remains unverified.
Find a prompt to practice with ↗

A clearer brief. A useful next step.

Bring something real to your personal AI teammate. Keep the context together and make the final call.