Build a Repo Map for Code Navigation
0/4 steps0%

Step 2 of 4

Rank by relevance

The budget goes to what the task touches.

First time here? Paste the Context Pack first so the AI understands your project - open it from the header above.

Prompt Capsule
Implement ranking to decide what the map shows. Signals to combine: TASK RELEVANCE - lexical/semantic match between the task description (and conversation so far) and file paths + symbol names; GRAPH CENTRALITY - files imported/referenced by many others rank higher (build a light import graph; a PageRank-style pass over it is the proven approach); RECENCY - recently edited or recently discussed files get a boost; CHAT MENTIONS - files already in the conversation rank highest. Output a scored file ordering per request. Test with three task descriptions against my repo and eyeball the top-10 per task - the relevant subsystem should dominate each list.
Paste into EmergentFull Build: complete implementation prompt with explicit requirements

Quick is short. Full Build is recommended for most steps. Strict forces real logic when the AI keeps faking output.

Actual change check

Expected after this step

Task-conditioned file ranking passing the three-task eyeball test.

Should NOT happen

  • An existing feature broke
  • A button only logs to console
  • Data disappears after refresh
  • Errors fail silently with no visible state

This is what should exist before you continue. If reality does not match, do not move on.

Track what changed, failed, or needs follow-up. Notes export with the flow.

Made with Emergent