https://aider.chat/ generates a repo map, suggests related files, then makes your request and does the editing for you. (with intelligent diff for models that work well.)
They have a leaderboard for models for editing and what mode they use: https://aider.chat/docs/leaderboards/
EDIT: Oh, it looks like you're dumping the entire repo. Well, sure, I guess. Once it seems too big you can select just what you need. Also gui tools like the open source https://www.continue.dev/ lets you pick files, search codebase via RAG, add docs, etc...