Promptles
Multi-Step

Coordinate Across Files

When a change touches multiple files, explicitly map out which files need what changes. Don't just say 'add auth to all routes' -- specify which middleware goes where, so Claude doesn't have to guess the access control policy.

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • Auth Everywhere

    Your Express API has four route files -- `routes/users.ts`, `routes/products.ts`, `routes/orders.ts`, and `routes/admin.ts` -- none of which currently require authentication. You need to add JWT-based authentication middleware. All routes should require a valid JWT token, but…

Other principles in Multi-Step