Promptles
Context

Reference All Affected Files

When a change spans multiple files, list every file that needs updating. Claude Code can only change what you point it to: if you forget to mention a dependency file, you'll end up with mismatched code.

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • The Multi-File Update

    You need to update your React navigation system. The `Header.tsx` component imports its color palette from `theme.ts` and its link definitions from `nav-links.ts`. You want to add a new "Dashboard" link with a teal accent color. This means changes in all three files.

Other principles in Context