Skip to content

Conversation

@mafredri
Copy link
Member

@mafredri mafredri commented Dec 3, 2025

Add guidelines to prevent common PR feedback issues:

  • Don't reword existing comments or code unless directly motivated by the task
  • Don't delete existing comments that explain non-obvious behavior
  • Add new test cases instead of modifying existing ones

Refs #21073

Add guidelines to prevent common PR feedback issues:

- Don't reword existing comments or code unless directly motivated by the task
- Don't delete existing comments that explain non-obvious behavior
- Add new test cases instead of modifying existing ones

Refs #21073
@mafredri mafredri requested a review from ammario December 3, 2025 18:43
@mafredri mafredri changed the title docs(CLAUDE.md): add rules to avoid unnecessary changes docs: add rules to avoid unnecessary changes Dec 3, 2025
Copy link
Member

@ammario ammario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the issues in my PR came from my own prompting to clean up the surrounding code, but these are good rules nonetheless.

@mafredri
Copy link
Member Author

mafredri commented Dec 3, 2025

@ammario Ok 😄, at least I've run into comment rewording and variable renaming before.

@mafredri mafredri merged commit aa306f2 into main Dec 3, 2025
33 checks passed
@mafredri mafredri deleted the mafredri/claude-avoid-unnecessary-changes branch December 3, 2025 18:49
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants