Original Reddit post

For building features, I used to give the feature description along with manually tagging the specific files that needed updates so it could gather the right context. Realised today that I could just give commit_id for this. I just pass the ID and ask the agent to get the git diff for that commit and fetch the context itself. Works quite well, especially for building on top of new and old feature history. Saves a lot of time not having to manually figure out and feed the right files. Also, saves a lot of tokens, since dont have to use the planning mode for this. Would love to know your hacks or is has this been already well known and used? submitted by /u/slow-fast-person

Originally posted by u/slow-fast-person on r/ClaudeCode