Promptles
Constraints

Scope Your Request

Tell Claude exactly which files to touch and which to leave alone. Without clear scope, Claude might search your whole codebase for matches. Or worse, miss some occurrences because it only checked one file.

Where you'll practice this

3 Promptles scenarios teach this principle directly. Each one drops you into a real engineering ticket and asks you to write the prompt you'd send to Claude Code.

  • The Spelling Fix

    Your code has a misspelled variable name `recieve` that should be `receive`. It appears in `api/handler.js`: used as a function parameter, a local variable, and in a comment. There are about 5 occurrences total in this one file.

  • Zoom Out First

    You've been asked to improve the slow checkout-page load times in a codebase you've never worked in before. There are seven services in the repo, the README is two years out of date, and the 'checkout' word appears in 340 files. The temptation is to dive straight in — open the…

  • Pull and Summarize

    Your team's GitHub MCP server is connected and exposes `github__list_issues` (with `repo`, `state`, `labels`, `since`, `per_page`, `page` args). You want a quick read on the issue queue for the `acme-corp/checkout` repo: open issues touched in the last 14 days, labeled `bug` or…

Other principles in Constraints