Ask HN: Best practices for AI-generated code diff outputs?
I'm developing a system that uses Claude to automatically generate small patches for C# codebases. I'm looking for state-of-the-art practices to ensure the AI produces correctly structured output for code diffs.Specifically, I'm interested in:1. What format should the diffs be in? (e.g., unified diff, context diff, git diff)2. How can I ensure the AI generates syntactically correct diffs?3. Are...