The workflow is steps. First, share the error: paste the stack trace or screenshot. Second, give Claude the reproduction steps if the error isn't obvious from the trace. Third, ask for fix recommendations before applying anything. Fourth, apply the fix and run the tests.
Here's what this looks like in practice. You paste a TypeError: Cannot read properties of undefined with the full stack trace. Claude reads the file at the top of the trace, identifies the null-safety bug, shows you the fix, and asks if you want it applied. You approve it, Claude runs Edit, then runs npm test to confirm nothing else broke, and the whole exchange takes under minutes.