Understand the code first, then plan changes
Sonnet 4.6's programming improvements focus on understanding existing context, following requirements, and integrating shared logic, making it suitable for locating issues across files and maintaining existing projects. Provide it with error logs, relevant code, and change constraints together, and ask for root cause analysis, a modification plan, and testing recommendations rather than merely generating an isolated snippet of code.
