GitLab Well Architected
Cookbook navigation
Prompts / Navigate Large Codebase Quickly

Navigate Large Codebase Quickly

Code UnderstandingAPIDeveloperNavigationOnboardingCreateBeginner

Find relevant code sections in unfamiliar projects without knowing the structure. Accelerates exploration of new codebases.

For GitLab Duo

prompt

Where in the codebase is [FUNCTIONALITY] implemented?

Use the prompt

Describe the behavior in terms a user would recognize and identify the repository. Once Duo finds a likely entry point, follow its callers and tests to check that it's the path you meant.