Setup is complete when you have checked an answer
An assistant that replies is not the same as an assistant that is reading your project. Part 3.1 installs and signs in, but the step that finishes setup is a verification: you ask about one real file and confirm the answer against that file.
Key ideaSetup is not complete when the assistant answers. Setup is complete only when you verify the answer against the real files in the repo.
The setup checklist
Five steps, each with something specific to verify. Step 3 is the one people skip: opening a parent folder that holds several projects gives the assistant the wrong context from the start.
| Step | What to do | What to verify |
|---|---|---|
| 1. Install tools | Use VS Code with the GitHub Copilot extension or the course-supported VS Code AI assistant. | The assistant is available for inline suggestions and chat. |
| 2. Sign in | Authenticate with GitHub if prompted. | The extension is active and not stuck in a sign-in state. |
| 3. Open the right folder | Open the Module 2 Task Tracker repo itself, not a parent folder that contains several projects. | The file explorer shows app/main.py, tests, and the project files directly. |
| 4. Try three modes | Use inline suggestions, chat, and inline chat/edit on a selected section. | You know when the assistant is completing text, answering a question, or proposing an edit. |
| 5. Verify context | Ask for a route summary from app/main.py and check every claim manually. | Each listed route has a matching decorator and function. Anything not present should be identified as not present. |
Three modes, three jobs
Step 4 asks you to try each mode so you always know which one you are in. The difference matters later: the modal and refactor parts rely on selected edits rather than open-ended chat.
- Inline suggestions The assistant completes what you are typing. Useful for repeated HTML and CSS patterns; inspect each one before keeping it.
- Chat The assistant answers a question or proposes a plan. Useful for summaries, diagnosis and step-by-step plans before code.
- Inline chat / edit You select a section and ask for a change to that section only. The assistant proposes an edit you can inspect as a diff.
The first verification prompt
The notes give the exact prompt for the check. It limits the answer to the selected file, asks for method, path and function name for each route, asks about CORS, and tells the assistant to say “not present” rather than guess.
Prompt from the notesRead the selected app/main.py file. Summarize only the API routes actually defined in this file. For each route, include the method, path, and function name. Also say whether CORS middleware is present. If something is not present, say "not present" instead of guessing.
How to inspect the answer
Every claim in the summary gets a matching check in the file. If you cannot find the evidence, the assistant guessed, and you correct it and re-anchor it to the selected file.
| If Copilot says... | Your check |
|---|---|
| A route exists | Find the matching @app.get, @app.post, @app.patch, or @app.delete decorator in app/main.py. |
| CORS is configured | Look for CORSMiddleware or app.add_middleware. If you cannot find it, the assistant guessed. |
| The repo has extra features such as authentication or users | Search the actual files. If those features are not present, correct the assistant and re-anchor it to the selected file. |
| The answer sounds generic | Check that VS Code is opened on the right folder and that the relevant file is selected or visible. |
Key ideaThe assistant can be fast and useful, but you verify before trusting.
When the answer sounds generic
A generic answer, routes every FastAPI project has, or features like users and login that you never built, is a context problem before it is a model problem. Check the folder, select the file, and ask again with the answer limited to that file. The prompt library’s P0 context block and P1 grounding prompt are built for exactly this, and the practical reading on managing context shows how to add files, symbols and terminal output to chat.
Read with careThe setup steps and the three modes are described as the notes and readings describe them at the time they were written. Menus, mode names and the course-supported alternative assistant may differ in your version of VS Code.
Key takeaways
- Open the Task Tracker repo itself, not a parent folder.
- Know which mode you are in: completing text, answering, or proposing an edit.
- Every route the assistant claims needs a matching decorator and function.
- “Not present” is a good answer; a confident guess is not.