Prompting, explained simply
Prompting is how you tell Rocket what you want - clearly, in English.It’s creative direction for AI. Rocket turns it into UIs, workflows, and fixes - fast.
What you’ll learn:
- What prompting is and why it matters
- Examples of effective prompts
- Common mistakes to avoid
Why prompting matters
Prompting is the foundation of everything you do in Rocket. With just a few words, you can:- Create an app from scratch.
- Edit or expand existing screens.
- Automate logic and workflows.
- Debug issues and fix behavior.
- Move seamlessly between design and implementation.
What happens when you prompt Rocket?
Rocket interprets your prompt across three layers:Intent
What are you trying to achieve?
Structure
What UI, data, or logic elements are involved?
Output
What should Rocket generate, and how?
Prompt examples
After creating: Use `/` commands like
/Add Element to insert components or /Update Content to change text. For edits scoped to specific files, use @ commands.Quick examples:/Update Content change "Welcome" to "Get Started" in hero section/Add Element add testimonial card under features section@pages/home.jsx update the CTA button text to match brand voice
Want to start immediately?
Copy one of these prompts and paste it into Rocket to see results quickly:Common prompt mistakes to avoid
Even if your idea is clear in your head, Rocket only sees what you type. Here are two quick examples of what to avoid:
Mistake 1: Being vague
Do: Be specific about what you want.
Try:
Try:
“Create a dashboard that shows name, email, and last login date from the users table.”Mistake 2: Asking for too much at once
Do: Focus on one task at a time.
Try:
Try:
“Build just the layout for now. I’ll add logic next.”For more examples and fixes, see the Common mistakes and how to fix them section in Core concepts.

