Practice free →
HomeClaude AIclaudearchitectclaudeai_code › Why paste the directory tree before a refactor t…

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.
Solve this in the app — Claude AI practice & 24k+ MCQs →
Related questions