Start learning →

Why paste the directory tree before a refactor task?

AIt lowers cost
BIt improves output streaming speed
CIt hardens against jailbreaks
DIt stops Claude inventing file paths that do not exist
Answer & Solution
Correct answer: D. It stops Claude inventing file paths that do not exist
Pinning the file map grounds Claude in the actual project layout so he refers to real files instead of plausible-sounding fakes.
Practise this question with Quill — Claude AI →

Keep practising Claudeai Code

Browse all Claudeai Code questions for Claude AI, or explore more Claudearchitect topics.

Start a Claudeai Code lesson →
Related questions