Courses Vibe Coding Dashboard Lesson 3.4
3.4 Module 3 · Prompt Engineering

Role-Based & System Prompting

Role-play workshop — experiment with different AI roles and see how role assignment changes output style, depth, and format. Build a reusable role library with custom system prompts.

Role Workshop System Instruction Builder

Role Workshop

Select a role below to see how the same prompt produces dramatically different outputs. Notice how each role shifts tone, depth, structure, and focus areas.

Sample Prompt

"Help me build a login page for my web app."

Select a Role

Select a role above to see how it transforms the AI output

Key insight: Role assignment is one of the most powerful yet simplest prompt engineering techniques. By telling the AI who it is, you implicitly set its vocabulary, priorities, detail level, and output structure. A senior developer role produces production-ready code with error handling; a tutor role explains concepts step-by-step. The same underlying capability, shaped by context.

System Instruction Builder

Construct a custom system prompt by combining role, tone, constraints, and output format. Preview the assembled instruction and save it to your library for reuse.

Preview System Prompt
Fill in the fields above to generate your system prompt...

Your Role Library

No saved roles yet. Use the builder above to create and save custom system prompts.

Previous Lesson Next: Prompt Library