Browse prompts by category, copy any code block, replace the bracketed placeholders with your own details, and paste into Rocket.Placeholder guide:
[DATABASE/STORAGE]becomes “Supabase”, “Firebase”, or your API[AUTH_PROVIDER]becomes “Supabase Auth”, “Firebase Auth”, or your auth service[TABLE_NAME]becomes your actual table name (for example, “users”, “products”)[FIELD_1],[FIELD_2]become your actual field names
Quick start
New to prompting? Start here:Create a landing page with:
- Hero section: headline "Welcome to [Your App Name]", subheadline, and primary CTA button "Get Started"
- Features section: 3 feature cards in a row with icons, titles, and descriptions
- Final CTA section before footer
Use a clean, modern design with plenty of white space.
[Your App Name] with your app name, and paste into Rocket.
Start a project
Project vision
Define your app’s purpose and core features.Create a [TYPE] app for [AUDIENCE].
Core features: [FEATURE_1], [FEATURE_2], [FEATURE_3].
Start by building [FIRST_SCREEN_OR_FLOW]:
[Describe what should be on the first screen in 1-2 sentences].
Plan a feature
Break down a complex feature into manageable steps before building.Plan the steps needed to add [FEATURE] to this app.
Include:
- Frontend screens or components,
- Data models or tables,
- Any connections to other services (like payment processors, email services, etc.),
- Edge cases we should consider.
Format this as an ordered list I can tackle step by step.
Do not implement anything yet.
Landing page
Create a landing page with:
- Hero section: headline, subheadline, and primary CTA button
- Features section: 3-4 feature cards with icons and descriptions
- Social proof: testimonials or logos
- Final CTA section before footer
Use a clean, modern design with plenty of white space.
Onboarding flow
Create a multi-step onboarding flow:
- Step 1: Welcome screen with app value proposition
- Step 2: Collect [INFO_1] and [INFO_2]
- Step 3: Guide to first key action
- Progress indicator showing current step
- Skip option for optional steps
After completion, redirect to [DESTINATION_PAGE].
Build features
Copy, customize placeholders, and paste.User authentication
Create a complete authentication system:
- Sign up page: form with email, password, confirm password, and "Sign up" button
- Login page: form with email, password, "Login" button, and "Forgot password?" link
- Password reset: flow to request and reset password via email
- Protected routes: redirect unauthenticated users to login
- User session: maintain login state and show user info in header
- Logout: button that clears session and redirects to home
Connect to [AUTH_PROVIDER] and handle loading/error states.
Task and project management
Create a task management feature with:
- Main screen: list of tasks with checkboxes, task text, and delete button
- Add task: input field at top with "Add" button
- Task states: show completed tasks with strikethrough, filter by "All", "Active", "Completed"
- Task counter: show number of active tasks remaining
- Data persistence: save tasks to [DATABASE/STORAGE] and load on page refresh
- Empty state: show message when no tasks exist
Use a clean card-based layout with 16px spacing.
Blog and content
Create a blog feature with:
- List page: grid of blog post cards showing title, excerpt, author, and date
- Detail page: full post with title, author, date, featured image, and content
- Create post: form with title, content (rich text), author, and publish button
- Edit/Delete: actions available on detail page for post owner
- Data source: connect to [DATABASE/STORAGE] with posts table/collection
Use a responsive layout that works on mobile and desktop.
E-commerce and products
Create a product catalog with:
- Product listing: grid of product cards with image, name, price, and "Add to Cart" button
- Product detail: full product page with images, description, price, quantity selector, and "Add to Cart"
- Shopping cart: sidebar/modal showing cart items, quantities, subtotal, and checkout button
- Search: filter products by name or category
- Categories: filter products by category (if applicable)
- Data source: connect to [DATABASE/STORAGE] with products table/collection
Use consistent spacing and make it mobile-friendly.
Social feed
Create a social feed feature with:
- Feed page: chronological list of posts showing author, timestamp, content, and like/comment buttons
- Create post: form at top with text input and "Post" button
- Post interactions: like button (toggle), comment button (opens comments), share button
- Comments: expandable section under each post showing comments with reply option
- User profiles: click author name to view their profile with their posts
- Data source: connect to [DATABASE/STORAGE] with posts, users, and interactions tables
Show loading states and handle empty feeds gracefully.
Dashboard and analytics
Create an analytics dashboard with:
- Header: page title and date range selector
- Metrics cards: 4-6 cards showing key metrics (e.g., total users, revenue, growth %)
- Charts: line chart showing trends over time and bar chart for comparisons
- Data table: detailed breakdown of metrics with pagination
- Filters: filter by date range, category, or [FILTER_OPTION]
- Data source: connect to [DATABASE/STORAGE] and aggregate data for metrics
Make charts responsive and show loading states while fetching data.
Calendar and events
Create a calendar feature with:
- Calendar view: monthly grid showing dates with events marked
- Event list: list of upcoming events with title, date, time, and location
- Create event: form with title, date, time, location, description, and "Save" button
- Event detail: view full event details with edit and delete options
- Navigation: previous/next month buttons and today button
- Data source: connect to [DATABASE/STORAGE] with events table/collection
Make calendar responsive and highlight today's date.
Search
Create a search feature with:
- Search bar: input field with search icon and clear button
- Search results: list/grid showing matching items with highlighted search terms
- Filters: dropdown filters for [CATEGORY_1], [CATEGORY_2], [CATEGORY_3]
- Sorting: sort by relevance, date, or [SORT_OPTION]
- No results: show helpful message when no matches found
- Data source: search [DATABASE/STORAGE] for [DATA_TYPE] matching query
Debounce search input and show loading state during search.
Notifications
Create a notification system with:
- Notification center: dropdown/badge showing unread count
- Notification list: list of notifications with icon, message, timestamp, and mark as read
- Notification types: different styles for [TYPE_1], [TYPE_2], [TYPE_3]
- Real-time updates: show new notifications as they arrive
- Mark all read: button to mark all notifications as read
- Data source: connect to [DATABASE/STORAGE] with notifications table/collection
Show notification count badge and handle empty states.
File upload and media
Create a file upload feature with:
- Upload area: drag-and-drop zone or file picker button
- File list: grid/list showing uploaded files with thumbnail, name, size, and delete button
- Upload progress: show progress bar during upload
- File preview: click file to view full-size preview or download
- File types: support images, documents, or [SPECIFIC_TYPES]
- Storage: upload to [STORAGE_PROVIDER] and save metadata to [DATABASE/STORAGE]
Handle upload errors and show file size limits.
Detail page
Create a detail page for [ENTITY] with:
- A header showing primary identifier (e.g. name or title),
- Key stats in a small summary row,
- A main section with detailed fields,
- A sidebar (or secondary section) with related actions or metadata.
Make sure the layout adapts well to mobile by stacking sections vertically.
Settings page
Create a settings page with:
- Sidebar navigation for settings categories: [CATEGORY_1], [CATEGORY_2], [CATEGORY_3]
- Main content area showing settings for the selected category
- Save button that persists changes
- Success message after saving
Keep existing user data and authentication logic unchanged.
Add integrations
Connect your app to external services. For detailed integration guides, see Integrations.Supabase
Supabase
AuthenticationDatabase CRUDStorage and file uploadsEdge FunctionsRow Level Security (RLS)Social auth providersReal-time subscriptionsDatabase query with filters
Set up Supabase email/password authentication with signup, login, and password reset flows. Redirect authenticated users to /dashboard and unauthenticated users to /login. Show loading states during auth checks and display inline error messages for invalid credentials.
Connect to the Supabase `[TABLE_NAME]` table and build a page that lists all rows with columns for [COLUMN_1], [COLUMN_2], and [COLUMN_3]. Add a form to create new records, inline editing for existing records, and a delete button with confirmation dialog. Include pagination (20 rows per page) and a loading skeleton while fetching.
Set up Supabase Storage to handle file uploads in the `[BUCKET_NAME]` bucket. Add a drag-and-drop upload area that accepts images up to 5MB. Show upload progress, generate a public URL after upload, and display uploaded files in a grid with thumbnail previews and delete buttons.
Create a Supabase Edge Function called `[FUNCTION_NAME]` that accepts a POST request with a JSON body containing [PARAM_1] and [PARAM_2]. The function should [DESCRIBE_LOGIC], then return a JSON response with the result. Add error handling for missing parameters and server errors.
Enable Row Level Security on the `[TABLE_NAME]` table. Create policies so that:
- Authenticated users can only read their own rows (where user_id matches auth.uid())
- Authenticated users can insert rows with their own user_id
- Only the row owner can update or delete their rows
- Unauthenticated users have no access
Explain each policy in a comment.
Add Google and GitHub social login buttons to the existing login page. Use Supabase Auth with OAuth providers. After successful login, redirect to /dashboard. Handle errors like "account already exists with different provider" gracefully with a user-friendly message.
Subscribe to real-time changes on the `[TABLE_NAME]` table using Supabase Realtime. When a new row is inserted, update the list on screen without a full page refresh. Show a subtle "New item added" toast notification. Handle connection drops with automatic reconnection.
Build a filtered view of the `[TABLE_NAME]` table. Add dropdown filters for [FILTER_COLUMN_1] and [FILTER_COLUMN_2], a date range picker for [DATE_COLUMN], and a text search on [SEARCH_COLUMN]. Combine all active filters in the Supabase query. Reset filters with a "Clear all" button.
Stripe
Stripe
One-time checkoutSubscription plansCustomer portalWebhook handlingPricing page with feature comparisonRefund handlingPayment form with card element
Add a Stripe checkout button for [PRODUCT_NAME] priced at [AMOUNT]. When clicked, create a Stripe Checkout session in test mode. On success, redirect to /success with order details. On cancel, redirect back to /pricing. Show a "Processing..." spinner on the button while the session is created.
Create a pricing page with three subscription tiers:
- [PLAN_1]: $[PRICE_1]/month, includes [FEATURES_1]
- [PLAN_2]: $[PRICE_2]/month, includes [FEATURES_2]
- [PLAN_3]: $[PRICE_3]/month, includes [FEATURES_3]
Each plan has a "Subscribe" button that starts a Stripe Checkout session in subscription mode. Highlight the recommended plan. Include a monthly/annual toggle with a discount badge for annual billing.
Add a "Manage Subscription" button to the account settings page that opens the Stripe Customer Portal. Users should be able to update their payment method, view invoices, and cancel their subscription. After portal actions, redirect back to /settings.
Set up a webhook endpoint that listens for Stripe events: checkout.session.completed, customer.subscription.updated, and customer.subscription.deleted. On checkout completion, update the user's subscription status in the database. On subscription change, update the plan. On deletion, downgrade to the free tier. Verify the webhook signature for security.
Build a pricing page with a comparison table. Rows represent features: [FEATURE_1], [FEATURE_2], [FEATURE_3], [FEATURE_4], [FEATURE_5]. Columns represent plans: Free, Pro, and Enterprise. Use checkmarks for included features and dashes for excluded ones. Add a CTA button under each plan column.
Add a "Request Refund" button to the order detail page that appears only for orders placed within the last 30 days. When clicked, show a confirmation modal with the order total. On confirm, initiate a full refund through Stripe and update the order status to "Refunded" in the database. Show a success or error message.
Create an inline payment form using Stripe Elements. Include a card input field, cardholder name input, and a "Pay $[AMOUNT]" button. Validate the card in real time and show inline error messages. On submit, create a PaymentIntent, confirm the payment, and redirect to /confirmation on success.
Email and SMS (Resend, SendGrid, Twilio)
Email and SMS (Resend, SendGrid, Twilio)
Welcome email on signupTransactional notificationPassword reset emailWeekly digest or newsletterOrder confirmation emailEmail with attachmentsInvite team member emailSMS notifications (Twilio)
After a new user signs up, send a welcome email using [Resend/SendGrid]. Subject: "Welcome to [APP_NAME]!" Body: greet the user by name, summarize what they can do, and include a "Get Started" button linking to /dashboard. Use the existing API key from environment variables.
When [TRIGGER_EVENT] occurs, send a notification email to the affected user using [Resend/SendGrid]. Subject: "[SUBJECT_LINE]". Body: describe the event, include relevant details like [DETAIL_1] and [DETAIL_2], and add a link to view more in the app. Handle delivery failures by logging the error.
Send a password reset email when a user requests one. Subject: "Reset your [APP_NAME] password". Body: include a personalized greeting, a reset link that expires in 1 hour, and a note saying they can ignore the email if they did not request it. Use [Resend/SendGrid] with the existing API key.
Create a weekly digest email template using [Resend/SendGrid]. Subject: "Your weekly update from [APP_NAME]". Body: include a summary of activity (e.g., [METRIC_1], [METRIC_2]), top items from [DATA_SOURCE], and a CTA to "View full report" linking to /reports. Style it with a clean layout matching the app branding.
After a successful purchase, send an order confirmation email using [Resend/SendGrid]. Subject: "Order #[ORDER_ID] confirmed". Body: list purchased items with name, quantity, and price. Include the order total, estimated delivery date, and a "View Order" button linking to /orders/[ORDER_ID].
When a user clicks "Export as PDF" on the report page, generate the report as a PDF and send it via email using [Resend/SendGrid]. Subject: "Your [REPORT_NAME] report". Body: include a brief summary and attach the PDF file. Confirm the email was sent with a success toast in the UI.
When an admin invites a new team member, send an invitation email using [Resend/SendGrid]. Subject: "[INVITER_NAME] invited you to join [APP_NAME]". Body: explain what the app does, include an "Accept Invitation" button linking to /invite/[TOKEN], and note the invite expires in 7 days.
Add SMS notifications using Twilio:
- When [TRIGGER_EVENT] occurs, send SMS to [PHONE_NUMBER]
- Message: "[MESSAGE_TEXT]"
- Handle delivery status and errors
- Log sent messages
Use existing Twilio credentials from environment variables.
AI (OpenAI, Anthropic, Gemini)
AI (OpenAI, Anthropic, Gemini)
Chatbot interfaceContent generationText summarizationSmart search with AIAI-powered form autofillSentiment analysis
Create a chatbot UI with a message list and input field at the bottom. Send user messages to [OpenAI/Anthropic/Gemini] using the [MODEL_NAME] model. Display AI responses in styled message bubbles. Show a typing indicator while waiting for a response. Maintain conversation history for context. Use the API key from environment variables.
Add a "Generate with AI" button next to the [FIELD_NAME] input. When clicked, send a prompt to [OpenAI/Anthropic/Gemini] asking it to generate [CONTENT_TYPE] based on [CONTEXT_INPUT]. Insert the result into the field. Allow the user to regenerate or edit the result. Use a professional, concise tone.
Add a "Summarize" button on the [CONTENT_PAGE] page. When clicked, send the full content to [OpenAI/Anthropic/Gemini] with the prompt: "Summarize the following in 3-5 bullet points, keeping the key takeaways." Display the summary in a collapsible card above the full content. Show a loading spinner while processing.
Enhance the search feature on the [PAGE_NAME] page. When a user searches, send their query to [OpenAI/Anthropic/Gemini] to interpret the intent, then use the interpreted query to search the `[TABLE_NAME]` table. Show results ranked by relevance. Fall back to standard text search if the AI call fails.
Add an "Auto-fill with AI" button to the [FORM_NAME] form. When clicked, take the user's input from [SOURCE_FIELD] and use [OpenAI/Anthropic/Gemini] to generate suggestions for [TARGET_FIELD_1], [TARGET_FIELD_2], and [TARGET_FIELD_3]. Pre-fill those fields with the suggestions but let the user edit before submitting.
Analyze the sentiment of new entries in the `[TABLE_NAME]` table. When a record is created with a [TEXT_COLUMN] field, send it to [OpenAI/Anthropic/Gemini] to classify the sentiment as positive, neutral, or negative. Store the result in a `sentiment` column. Display a colored badge (green, gray, red) next to each entry in the list view.
Analytics (Google Analytics, Mixpanel)
Analytics (Google Analytics, Mixpanel)
Basic GA4 setupCustom event trackingConversion goalsMixpanel user identificationA/B test trackingDashboard analytics widget
Set up Google Analytics 4 for this app. Add the GA4 tracking script using the measurement ID from the NEXT_PUBLIC_GA_ID environment variable. Track page views automatically on route changes. Verify it works by logging events to the browser console in development mode.
Track these custom events in Google Analytics:
- "signup_completed" when a user finishes registration
- "feature_used" with parameter feature_name when a user interacts with [FEATURE]
- "purchase_completed" with parameters value and currency after checkout
- "search_performed" with parameter search_term when a user searches
Create a reusable trackEvent helper function.
Set up conversion tracking for the following goals:
- User signs up (track on the /signup/success page)
- User upgrades to a paid plan (track after Stripe checkout success)
- User completes onboarding (track on the final onboarding step)
Send each conversion as a GA4 event with relevant parameters like plan_name and signup_method.
Integrate Mixpanel using the project token from environment variables. Identify users after login with their user ID, email, and created_at date. Track "Page Viewed" on every route change. Track "Button Clicked" with button_name for all primary CTA buttons. Reset the Mixpanel identity on logout.
Set up A/B test tracking for the [FEATURE_NAME] feature. Randomly assign users to variant "A" or variant "B" and store the assignment in local storage. Track which variant is shown using a "experiment_viewed" event with parameters experiment_name and variant. Track conversion with an "experiment_converted" event.
Add an analytics summary widget to the admin dashboard. Show: total page views (last 7 days), unique visitors, top 5 most visited pages, and average session duration. Fetch data from [Google Analytics Data API / Mixpanel API] using server-side credentials. Display each metric in a card with a sparkline chart.
Build UI components
Build individual components to customize your features.Add a primary call-to-action button to this screen:
- Label: "[LABEL]"
- Full-width on mobile, auto-width on desktop
- Uses the app's primary color
Place it [POSITION] (e.g. below the form, top-right of the card).
Do not change any existing text or layout spacing.
Polish and optimize
Enhance visuals, responsiveness, performance, and accessibility.Improve the visual hierarchy of this screen while keeping
all logic and data exactly the same.
Focus on:
- Clear section headings,
- Consistent font sizes for titles vs. body text,
- Increasing spacing between unrelated sections,
- Aligning labels and inputs for readability.
Do not change any page connections, data sources, or how things are named.
Ship
Prepare your app for launch and production.Review this project and outline a checklist to get it ready for launch:
- Any missing loading/error states,
- Screens that need empty states,
- Performance concerns (like pages loading slowly),
- Security or auth considerations,
- Analytics or event tracking we should add.
Return the checklist grouped into:
- Must-fix before launch,
- Nice-to-have after launch.
Do not implement changes yet, just give me the list.
Notes
Starting points
Use these prompts as starting points, not hard rules. Adjust fields, copy, and flows to match your product.
Reduce scope
When in doubt, reduce scope: pick one screen, one component, or one flow per prompt.
Learn more
For deeper strategy and debugging patterns, see Core concepts and Debugging.

