Use the prompt
Describe the behavior you're looking for and make the relevant repository available. Review differences in callers and error handling before deciding that similar implementations should be combined.
Find similar code patterns that could be consolidated into shared utilities. Reduce maintenance burden through DRY principles.
For GitLab Duo
Find places in the codebase where we implement similar logic to [DESCRIBE FUNCTIONALITY]. Could these be consolidated?Describe the behavior you're looking for and make the relevant repository available. Review differences in callers and error handling before deciding that similar implementations should be combined.