Promptles
Constraints

Explain the Why Behind Constraints

Give the reason behind each rule. Claude applies the why to cases you never spelled out.

A bare rule gets followed literally; a rule with a reason gets applied with judgment. Say why a constraint exists so Claude can handle the cases you didn't list, like a public holiday when you only mentioned weekends. Vague: "Don't send reminder emails on weekends." Specific: "Don't send reminder emails on weekends: our support team is off then, and customers who reply wait days for an answer."

Where you'll practice this

2 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.

  • Scaffold the Payments Collection

    Lattice Pay is about to become Brightdesk's second payments provider, and Kenji Watanabe, the integrations engineer, wants to call every endpoint before he writes any code. Bea Kowalski, the QA lead, wants that as one Postman collection (a saved, shareable set of API requests)…

  • Set Up the First Test

    tidepool has a skeleton now: `src/app.ts` builds the app with Fastify (the web framework the club chose) and `src/server.ts` starts it. The `test` script is still a placeholder. Selin and Felix, two new contributors, join in a few weeks and will copy whatever the first test…

Other principles in Constraints