Constraints and Role Swap
Use limits and different points of view to steer the result.
What you will learn
By the end of this lesson, you can add constraints to a prompt and use a role swap to see a topic from new angles.
Constraints focus the work
A constraint is a limit you put on the result. Limits sound like they would make work worse. In practice, they make it sharper. A tool with no limits gives you the average of everything it has seen.
| Constraint | Example |
|---|---|
| Length | "In exactly 50 words..." |
| Audience | "Explain this to a 16-year-old who has never been to the library." |
| Format | "Write it as five questions and answers." |
| Exclusion | "Do not mention technology. Focus on people." |
| Perspective | "Write it as a neighbor who has lived here 30 years." |
| Visual | "No text in the image. Wide shot. Morning light." |
Stack three or more constraints and the result starts to sound like it was made for you.
Role swap: one topic, three views
The role changes what the AI pays attention to. Try the same task with different roles and compare.
Task: "Explain why people should volunteer at a neighborhood food pantry day."
| Role | What it focuses on |
|---|---|
| A volunteer coordinator | Shifts, what to bring, how it works |
| A local reporter | The story, the people, the need |
| A high school counselor | Service hours, skills, college applications |
| A retired neighbor | Community, giving back, belonging |
None of these is "right." Each one shows you an angle. You choose the angle that fits your audience.
Constraints for images
Constraints matter even more for images. Without them, image tools fall back on clichés. Ask for a "community event" and you may get the same stock-style crowd every time.
Add constraints like:
- "Folding tables under a pecan tree, late afternoon."
- "Hand-painted signs in English and Spanish."
- "No faces. Show hands passing boxes."
The last one is a judgment constraint. It protects privacy and keeps the image from claiming to be real people.
When constraints go wrong
Constraints can also push the AI toward bias. "Make it look professional" often gives you one narrow idea of what a professional looks like. Be specific about what you mean, like "clean layout, plain background, clear text." Do not describe people by stereotypes.
Constraint stack
Build a prompt with at least three constraints for a community group.
Your prompt
Act as a volunteer coordinator for a neighborhood food pantry.
Try this: Copy your prompt three times. Change only the role each time. Run all three. Which one fits your audience best, and why?