Claude Code for Tracing and Fixing Repository Bugs
Use Claude Code from a project directory to trace existing code, make a targeted change and review which tests it ran.
Who it is for
People diagnosing behavior that spans a few files in a repository they already understand.
Limits to check
- Command execution and file access depend on permissions and settings.
- A confident explanation still needs file references and evidence from the project's actual tests.
Try a sample task
A demo API accepts one valid status and silently discards another documented status.
Trace the status check from the request handler to the validator. Reproduce the failure, fix the validator and leave the response format intact.
What to verify
Verify that both documented statuses pass and an unsupported status still fails. Read the affected validator and tests together.