Promptles
Context

Name Your Files

Always reference specific filenames and paths. Claude Code works in your codebase: pointing it to exact files eliminates guesswork and prevents it from inventing code that doesn't match your project.

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • The Rename

    Your codebase has a utility function called `calcTax` in `utils/tax.js`. After a code review, the team decided it should be renamed to `calculateSalesTax` for clarity. The function is imported and used in three other files: `checkout.js`, `invoice.js`, and `cart.js`.

Other principles in Context