🕸️Repository Map
Also known as Repo Map, Codebase Map, Codebase Summary
A short outline of a codebase. It lists the files and main names for AI tools.
Think of it like
It is like the map at a mall door. It shows every shop, but not what is on each shelf.
Example
An AI coding tool sends a 1,000-line repository map for a 200,000-line project. The model spots the two files it needs and asks for them.
Why it matters
An AI model can only read so much at once. A map lets it see the whole shape without reading every line.
Definition
Example code
text
billing.py:
class Invoice
def total(self) -> float
def send_invoice(invoice, email)
users.py:
class User
def check_password(self, text) -> boolCommon mistake
Key takeaways
- 1Outline only. Names and signatures, no bodies.
- 2Fits the window. Small enough for a model to read.
- 3Then zoom in. Ask for the files you need.