USE CASE · CODE

Bug hidden across 100 files? Stop choosing files for the AI yourself.

Project Brain helps AI move from your question to the relevant files, symbols, imports, and dependencies instead of relying on the few files you remembered to copy.

Add the repository root folder.

Ví dụ D:\Work\shop.

Allow AI to edit and run the project.

Enable Edit files, Create/delete/rename, and Run tasks. Git Write can remain off initially.

Describe the bug by symptoms.

Do not guess the file. Describe the error, user flow, or important log output.

Require verification.

After editing, ask it to run the appropriate test/build/lint and return a diff/summary.

Different from uploading files

AI can find context across the project, read additional files when needed, edit directly, and verify in the project's own environment.

Example prompts

Dùng ChatCode với project shop. Analyze why login fails after OTP. Find all related files/symbols and explain the root cause. Do not edit code yet.Now fix it with the smallest reasonable change. Run relevant tests and the regression suite if available. Return changed files and remaining risks.