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
Declare the Tools You Need
Name the tool or MCP server by name, and say what to do if it isn't reachable.
Describe Before You Prescribe
Describe the Data Shape
Claude can't clean data it can't picture.
Explain the Integration Point
Keep Memory Reusable
Save patterns and preferences that survive across sessions; never save snapshots of finished work.
Map to Real Components
Use Code Connect so it reuses your components, not new markup.