Practice tracing a change in Claude Code

Test your understanding of repository inspection, project guidance, and focused verification in a Claude Code task.

Read the normal path first

Start by finding the feature as a user or caller reaches it. Inspect the nearest test and project guidance before changing the implementation. Keep recurring decisions and commands in project instructions and put the current bug details in the task brief.

Claude Code project instructions

Work through a label mismatch

A screen shows an old button label. The repository has an application component, a message catalog, and a translated-app smoke test. Ask Claude Code to report the source of the visible text and the check it would run before choosing a patch.

Check the expected answer

If the component reads the key from the catalog, identify the catalog entry as the likely patch point. Report the component path, key name, and smoke test. When approval covers a fix, change the relevant entry and verify the feature in the configured locale.

Handle a false pass

Add an alternate locale that retains the old label on purpose. The final review should name the locale tested and preserve the deliberate variant. Review the diff for unexpected file changes before accepting the result.

Related reading

Claude is not a search engine

Write a useful CLAUDE.md

When Claude needs tools