Home/
Part XII — Building Real Products (End-to-End Projects)/34. Project 3: "Vibe Coder" Assistant for Your Own Repo
34. Project 3: "Vibe Coder" Assistant for Your Own Repo
Overview and links for this section of the guide.
On this page
The Goal
We are going to build a CLI tool (or VS Code extension) that understands your project. You can ask it:
"Where is the user authentication logic?"
"Refactor the `User` class to add a `phoneNumber` field and update all call sites."
It won't just hallucinate generic code—it will read your actual files and propose a diff.
High-Level Architecture
- Indexer: A script that walks your directory, respects `.gitignore`, and creates a "map" of your codebase (file paths + summaries).
- Retriever: When you ask a question, it finds the relevant files using the map.
- Context Builder: It packages the user query + the file contents into a prompt.
- Generator: The model generates a response (answer or code patch).
Where to go next
Explore next
34. Project 3: "Vibe Coder" Assistant for Your Own Repo sub-sections
5 pages