Promptles
Constraints

Name Your Stack

Say the stack up front: framework, styling, language.

The same frame can become plain HTML, React, Vue, or SwiftUI. The agent can't read your mind, so say the target up front: framework, styling approach, language, and any conventions. 'React with Tailwind and TypeScript' produces code you can paste in; 'build this' produces code you then have to translate.

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • Name Your Stack First

    You pasted a Figma frame link and said 'build this.' Claude returned plain HTML and a stylesheet — clean, but useless to you: your app is Next.js with the App Router, React, TypeScript, and Tailwind, under a strict ESLint config. Now you have to rewrite all of it. The frame was…

Other principles in Constraints