Guiding Coding Assistants to Locate Code in Large Repos with Search Tools

A DEV Community workshop by AWS developer advocate Saurabh Rob Dahal teaches how to investigate code in unfamiliar repositories. Participants work through a prepared TypeScript bug where a client set to zero retries still sends three requests after a transport failure. The exercise uses repository mapping, ripgrep, ast-grep, and symbol navigation, with an evidence note to check an assistant's explanation. It requires Git, Node.js 24, ripgrep, and an editor, with no AWS account needed. The approach is presented as applicable beyond this bug, to settings, wrappers, and errors from other packages.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in