Key Takeaway
A reviewable first diff in Claude Code comes from a prompt that names the route, files, expected behaviour and checks for a single observable change. For a bilingual Next.js site, start with one copy adjustment and verify both locales. The resulting diff gives a reliable baseline for larger work.
What should a first prompt name?
Ask to clarify the empty-state message on a named route and preserve the existing key and interaction. Give the expected result for both languages. For example, a missing search result should invite the reader to change the query and keep the search input focused.
How should the agent find the change?
Have it locate the current string and the component that renders it before editing. A translation key can be used on more than one route. Listing those references first lets you see whether a local change would accidentally propagate.
Which checks should run?
Run the repository’s message key parity command and open both locale routes. Inspect the text and focus behaviour with the empty fixture. A healthy build confirms that the code compiles, while the route check confirms the reader sees the intended result.
What makes a diff too large to review?
Pause when the patch renames unrelated keys or reformats a large translation file. Review the reason for each changed file. If shared UI requires a code change, give it its own focused commit and describe the behaviour it preserves.
What should the completion note include?
Request the route, file paths, commands run and one line about what the reviewer should see in each locale. Check the claim against git diff and the page. Reuse the same format when a teammate runs the task with a different coding agent.
git status --short
npm run messages:check
git diff --stat
git diff -- messages/en.json messages/id.jsonHow does the next prompt build on this?
Keep the same checks and add one new behaviour such as clearing the filter. Use the first diff as a sized example of a successful patch. The agent can then estimate which files and test cases are likely to change.

