“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”
“Convert my single-page app into multiple pages with proper navigation. Add routes for [home, about, dashboard, settings].”
“Make my website fully responsive so it looks great on phones, tablets, and desktops. Use Tailwind CSS breakpoints and make sure the navigation works on mobile with a hamburger menu.”
“Set up a backend for my app using Supabase. I need tables for [users, posts, comments]. Include row-level security policies so users can only edit their own data.”
“Add a backend endpoint to my app that [creates/reads/updates/deletes] [resource] from my database. Handle errors gracefully and return a friendly message if something goes wrong.”
“Connect my frontend to my Supabase backend. Fetch [posts/products/users] from the database and display them on the [homepage/dashboard]. Add loading and error states.”
“Create a new page at /pricing that shows three pricing tiers in cards. Add it to the navigation bar too.”
“Make a reusable testimonial card component that I can use on both the homepage and the about page. It should show a quote, person's name, and their photo.”
“I have a logo image. Where should I put it in my project so I can use it on my website? Add it to the navigation bar.”
“Explain what each file and folder in my project does. I am a beginner and do not know how to read code.”
“I need to add my Stripe API key to this project. Set it up securely so it is not visible to website visitors and not shared publicly on GitHub.”
“Check my .gitignore file and make sure it includes .env.local, node_modules, and .next. If I do not have a .gitignore file, create one with all the standard entries for a Next.js project.”
“I just created a new project. Help me initialize Git, create a .gitignore file with the right entries for a Next.js project, connect it to a new GitHub repository, and push my first commit. Walk me through every step.”
“I want to try adding [describe feature] to my project without breaking what I have now. Help me create a new Git branch, make the changes there, and then merge it back into main when it works.”
“Show me what files have changed since my last commit and explain what each change does in plain English. I want to understand what my AI tool modified before I commit.”
“Set up a database for a [blog / online store / booking app] with tables for [users, posts, comments] and connect them with the right relationships.”
“Add a new table called [Reviews] to my database. Each review should store the text, a star rating (1-5), which user wrote it, and which product it's for.”
“Connect my [Posts] table to my [Users] table so that each post belongs to one user, and one user can have many posts.”
“I'm building a [recipe sharing app]. Design the complete database with all the tables I'll need, explain what each table stores, and set up the connections between them.”
“Explain the database you just created in simple terms. What tables are there, what does each one store, and how are they connected?”
“Design a database schema for my [type of app]. I need to store [data types]. Show me the tables, columns, and relationships between them.”
“Create Supabase tables for my project: [describe your app]. Include proper data types, foreign keys, and row-level security so users can only access their own data.”
“Add a new [reviews/orders/bookings] table to my existing database. Connect it to my [users/products] table and explain the relationship.”
“Write a SQL query that does the following: [describe what you want, e.g., 'show all orders from the last 30 days with the customer name, sorted by order total descending']. Use my Supabase / Postgres database. Explain what the query does in plain English so I understand it.”
“Here's a SQL query I don't understand: [paste query]. Explain what it does step by step in plain English. What table does it touch, what does it filter, what does it return?”
“This query is slow: [paste query]. Tell me what's making it slow and how to fix it. If I need to add an index, write the CREATE INDEX statement and explain what it does.”
“Connect Supabase to my project. My Project URL is [paste URL] and my public key is [paste key]. Set up everything needed to start using Supabase, and keep my keys in a safe place so they're never pushed to GitHub. Confirm it's working by loading a row or two from any of my tables.”
“On my /products page, fetch all rows from the products table in Supabase and display them as cards. Use server-side rendering so the data is available on first load. Each card should show the product name, price, and image. Sort by newest first.”
“On my /contact page, when the user submits the form, save the data (name, email, message) to a contact_messages table in Supabase. Show a loading state while saving, a success toast when it works, and an error toast if it fails. Clear the form after a successful save.”
“I just created a posts table in Supabase. Grant my app access to it so it stops saying 'permission denied for table', make sure Row-Level Security is turned on, and explain in plain English who can now read and change what.”
“My posts table has security turned on but no rules set, so my app can't see anything. Add these rules: anyone can read published posts, signed-in users can create new posts, and each user can only edit or delete their own posts. Walk me through what each rule does in plain English.”
“In my chat app, subscribe to new messages in the messages table using Supabase Realtime. When a new message is inserted, automatically add it to the displayed message list without a page reload. Clean up the subscription when the component unmounts.”
“When the user toggles a checkbox in my todo app, update the UI instantly (don't wait for the database). If the database write fails, revert the UI change and show an error toast. This makes the app feel much faster.”
“Add a /settings page where the logged-in user can edit their profile. Let them change their display name, write a short bio (with a 200 character limit), and add a website link. Pre-fill the form with whatever they already saved. When they hit Save, show a green "Saved!" message. If they're not logged in, send them to the login page.”
“On the settings page, let users upload a profile photo. Show their current photo (or a default circle with their initials if they don't have one). When they pick a new photo, only allow image files under 2MB, show a preview right away, and save it so it shows up everywhere their name appears in the app.”
“On my settings page, add a Preferences section with three toggles: dark mode, email notifications, and marketing emails. Save changes instantly when the user flips a toggle (no Save button needed). Show a small checkmark next to the toggle for 2 seconds so they know it saved.”
“Add a public profile page at /profile/[username]. When someone visits /profile/maya, show that user's photo, display name, bio, and website link. Below that, show a list of all the posts they've shared. Make sure private info like their email is never visible. If the username doesn't exist, show a friendly "User not found" page.”
“On the username field in my signup form, check if the username is already taken as the user types. If it's taken, show a red "already taken" message. If it's available, show a green checkmark. Wait until they pause typing for half a second before checking, so it doesn't check every keystroke.”
“On the public profile page, add a Follow button. When a logged-in user clicks it, they start following that person. The button changes to "Following" and clicking again unfollows. Show the follower count and following count on each profile.”
“In settings, add a "Delete my account" button at the very bottom. When clicked, show a confirmation dialog asking the user to type their username to confirm. On confirm, delete their account and all their data, sign them out, and send them to the homepage with a goodbye message.”
“Make the /dashboard and /settings pages only visible to signed-in visitors (using Supabase for login). If someone who is not signed in tries to open one of those pages, send them to the /login page, then bring them right back to where they were going as soon as they sign in. Leave the homepage, /about, and /pricing open to everyone.”
“Build a basic admin area for my app. Add a 'role' field to each user (everyone starts as a regular user, I'll mark myself as admin). If someone who isn't an admin tries to open any /admin page, send them away. Create /admin (dashboard with stats), /admin/users (a table of everyone with the ability to change their role), and /admin/posts (a list of all posts with delete buttons). Make sure the protection happens on the server so nobody can sneak in by editing their browser, not just by hiding things in the interface.”
“In my project management app, users belong to teams. Make sure each user only ever sees projects that belong to their team. Enforce this in the database itself, not just by hiding things in the interface, so there's no way to sneak around it.”
“In my navigation bar, hide links the visitor doesn't have permission to use. Hide the /admin link for anyone who isn't an admin. Hide the /billing link for visitors on the free plan. Keep this in addition to the real protection on the server, not as a replacement for it.”
“When a logged-in user tries to access a page they don't have permission for, show a friendly 403 Forbidden page (not a 404 or a redirect to login). The page should say "You don't have access to this page" and have a button to go back home.”
“Add an AI chatbot to my app at /chat, powered by Anthropic's Claude. The chat should: (1) show the reply word-by-word as it's written, (2) show a typing indicator while waiting, (3) automatically scroll to the newest message, (4) show a friendly message if something goes wrong. Keep my Claude API key in a safe place so it's never visible to visitors.”
“Add conversation history to my AI chat. Create conversations and messages tables in Supabase. When a user starts a new chat, INSERT a conversation row. After every message exchange, INSERT both the user message and the AI response into the messages table. Add a sidebar showing the user's past conversations (with auto-generated titles based on the first message). Clicking one loads its messages into the chat.”
“Add a limit to my AI chat so each visitor can only send 20 messages per hour. Identify them by their account if they're signed in, or by their device otherwise. When someone hits the limit, show a friendly red message in the chat that says: "You've hit your hourly message limit. Try again in X minutes.”
“In my AI chat, before sending the user's message to the AI, fetch relevant context from my database (e.g., the user's recent orders, their saved notes, or product info matching their query). Pass that context as part of the system prompt so the AI can give personalized answers.”
“Add a "Summarize" button on my long-form content pages (blog posts, transcripts). When clicked, it should stream an AI-generated 3-bullet summary into a sidebar without leaving the page. Use the Vercel AI SDK's streamText function.”
“Add a microphone button to my chat input that records the user's voice and transcribes it (using OpenAI's speech-to-text API or the browser's Web Speech API). When they stop recording, the transcribed text appears in the input box and they can edit it before sending.”
“Build a [contact/signup/feedback] form with fields for [name, email, message]. Include validation and show success/error messages after submission.”
“Add form validation to my existing form. Required fields should show red borders and error text. Email must be valid format. Password must be at least 8 characters.”
“Turn my form into a multi-step wizard with [2/3/4] steps. Add a progress bar at the top, Back and Next buttons, and validate each step before moving forward.”
“Optimize all images on my site for fast loading. Use modern formats like WebP, make sure images are the right size for where they appear, and add descriptions for accessibility.”
“Set up automatic image optimization on my site. I want images to load fast, use modern formats, and show a blurry preview while loading.”
“Make all my blog thumbnail images use a 16:9 aspect ratio and keep them consistent across the site.”
“Audit all the images on my site. Check that they are compressed, using modern formats, have descriptions for accessibility, and aren't larger than they need to be.”
“I want a full-width hero section with a background photo and white text on top. Make sure the text is readable.”
“Embed a YouTube video on my page that is responsive (fits any screen size) and doesn't slow down the page load.”
“Add an image upload with drag and drop, preview, and 5MB limit. Accept only JPG, PNG, and WebP. Show an error message if the file is too large or wrong type.”
“Add a profile photo upload that shows a circular preview of the selected image. Include a 'Remove' button. Resize the image to 400x400 on the server before saving.”
“Add a multi-file upload for a photo gallery. Let users drag up to 10 images at once. Show thumbnails with individual progress bars and remove buttons for each file.”
“Set up Uploadthing for file uploads in my Next.js app. Create an upload endpoint that accepts images up to 4MB and PDFs up to 16MB. Show upload progress in the UI.”
“Add a document upload form that accepts PDFs and CSV files. Show the file name and size after selection. Upload to Supabase Storage and save the URL in the database.”
“Add a search bar that filters products by name and category. Show results as the user types with a 300ms debounce. Display 'No results found' when nothing matches.”
“Add sidebar filters for price range (slider), category (checkboxes), and rating (star buttons). Show active filters as removable chips above the results.”
“Add a sort dropdown above the product grid with options: Newest, Price Low to High, Price High to Low, and Most Popular. Store the sort selection in the URL.”
“Add pagination to my product listing: show 12 items per page with Previous/Next buttons and page numbers. Keep the current page in the URL so it's bookmarkable.”
“Add autocomplete search using Fuse.js. Show a dropdown with up to 5 matching suggestions as the user types. Clicking a suggestion navigates to that item's page.”
“Add Google and GitHub login to my app using Clerk. Create a sign-in page and a sign-up page with social login buttons.”
“Make my dashboard and settings pages require login. If someone isn't signed in, send them to the sign-in page.”
“Add a user avatar button to the top-right corner of my navbar. When clicked, show a dropdown with profile, settings, and sign-out options.”
“Set up role-based access so admin users can see an admin page, but regular users get redirected away from it.”
“Add email and password login to my app using Better Auth. Include a custom sign-in page with email and password fields.”
“Add user authentication to my Next.js app using Clerk. Include sign-up, sign-in, and a protected dashboard page. Add Google and GitHub as social login options.”
“Protect my [dashboard/settings/admin] pages so only logged-in users can access them. Redirect unauthenticated users to the login page.”
“Add user roles to my app (admin, editor, viewer). Admin users can access the /admin page. Editors can create and edit content. Viewers can only read. Show different navigation items based on role.”
“Add Google Sign-In to my Next.js app using Clerk. Set up the Clerk provider in my layout, add a sign-in page at /sign-in with Google as the primary option, and protect the /dashboard route so only logged-in users can access it. Show the user's name and avatar in the header when logged in.”
“Add 'Sign in with GitHub' to my app using Supabase for login. Create a login page with a 'Sign in with GitHub' button that opens the GitHub sign-in window. After they successfully sign in, remember them so they stay logged in, and send them to my /dashboard page.”
“Add social login to my app with Google, GitHub, and Apple sign-in options. Use Clerk (or Better Auth). Show all three options on the login page with their official brand icons. After login, redirect to /dashboard and show the user's profile info.”
“Add toast notifications to my Next.js app using Sonner. Set up the provider in my layout, then add success toasts after form submissions, error toasts for failed API calls, and an info toast when the user first visits. Position them in the bottom-right corner.”
“Add inline feedback to my forms: show a green success message below the form when submitted, red error messages next to each invalid field, and a loading spinner on the submit button while processing. Use Tailwind CSS.”
“Add a notification bell icon in the header that shows a red badge with the count of unread notifications. When clicked, show a dropdown panel listing recent notifications with timestamps. Mark as read when clicked.”
“Build an admin dashboard with: a collapsible sidebar (Overview, Users, Products, Orders, Settings), a top header with search bar and user avatar dropdown, 4 stat cards (Total Users, Revenue, Orders, Conversion Rate with trend indicators), a line chart showing revenue over the last 30 days, and a recent orders table with status badges. Use Tailwind CSS and Recharts for the chart. Make the sidebar collapse to icons on mobile.”
“Create a reusable data table component with: column sorting (click header to sort), search/filter bar, pagination (10/25/50 per page), row selection with checkboxes, and action buttons (Edit, Delete) on each row. Style with Tailwind CSS. Make it responsive: on mobile, show a card layout instead of a table.”
“Create a settings page with a tab navigation: Profile (edit name, email, bio, upload avatar), Notifications (toggle email notifications for different events), Billing (show current plan, usage, upgrade button), and Team (list members with roles, invite new member form). Use Tailwind CSS with form validation.”
“I need to add a Stripe payment key to my app. Create a .env.local file if one doesn't exist, add the Stripe secret key variable, and make sure .env.local is in .gitignore so it doesn't get uploaded to GitHub.”
“I have a database URL from Supabase (or Neon, PlanetScale, etc.). Add it as an environment variable in my project. It should be a server-only secret, not visible to website visitors.”
“Review my project and make sure no secret keys or passwords are hardcoded in the source code. All secrets should be in .env.local, and .env.local should be in .gitignore. Also check that no secret variables have NEXT_PUBLIC_ in their name.”
“I need to add my website URL as an environment variable that my front-end can access. This isn't a secret, so it should use the NEXT_PUBLIC_ prefix.”
“Set up environment variables for my Next.js app. I need to store API keys for [Supabase/Stripe/Resend]. Show me the .env.local file and how to access them in my code.”
“My app works locally but breaks in production because of missing environment variables. Help me identify which env vars I need to add to my Vercel dashboard.”
“Fetch data from [API URL] and display it in a nice card grid. Show a loading animation while it's fetching, a friendly error message if it fails with a retry button, and a message if there are no results.”
“Add a search bar that filters results from [API URL] as the user types. Show a loading spinner while searching, highlight the matching text in results, and show 'No results found' when nothing matches.”
“Build a weather widget using the Open-Meteo API. Show the current temperature, weather condition with an icon, today's high and low, and a 7-day forecast in a row of small cards. Let the user type a city name to search.”
“Create a contact form with name, email, and message fields. When submitted, save the data to [your database or service]. Show a success message after sending and validation errors if fields are empty.”
“Create a page that reads [data type] from my database and displays it in a table. Include sorting by each column, and a way to delete individual rows with a confirmation dialog.”
“Connect my app to the [API name] API. I need to [describe what you want to do]. Show me how to make the API call and display the data.”
“Add error handling to my API calls. Show loading spinners while fetching, error messages when requests fail, and retry buttons.”
“Set up the Supabase MCP in my project so you can read my database directly while helping me code. Walk me through getting the access token from my Supabase dashboard, adding the MCP config, and restarting the editor. Then confirm you can see my tables.”
“Add a /api/checkout route to my Next.js app that calls the Stripe API to create a checkout session for a $19/month subscription. Use an environment variable for the Stripe secret key. Show me a Subscribe button on the pricing page that redirects to Stripe.”
“Install the Vercel CLI on my computer, log me in, and deploy my current project. Walk me through each command, explain what it's doing, and tell me the live URL when it's done.”
“I want to [describe what you're trying to do]. Tell me whether I need an MCP, an API, or a CLI for this, and why. If I need more than one, explain the order I should set them up in.”
“Look at my project and tell me which MCPs, APIs, and CLIs I'm currently using. For each one, explain what it's doing and whether I'm using the right tool for the job, or whether I should switch to a different one.”
“Based on the services in my project, suggest which MCPs I should install for my AI coding tool. Explain what each MCP would let you do that you can't do today, and walk me through installing the top 2 in priority order.”
“Add an AI chat widget using the OpenAI API with streaming responses. Show messages in a chat bubble layout with the user on the right and AI on the left. Include a text input and send button.”
“Set up the Gemini API in my Next.js app using the free tier. Create an /api/chat route that uses the latest Gemini Flash model with streaming, and show me the env variable I need and where to get the API key.”
“Swap the chat widget in my project from OpenAI to Gemini using the Vercel AI SDK. Keep everything else the same and point me to which env variables I need to change.”
“Add a 'Generate Description' button next to my product form. When clicked, use the AI to generate a product description based on the product name and category fields. Show a loading spinner.”
“Add a text summarization feature. Users paste an article into a textarea and click 'Summarize'. Use the Anthropic API to return a 3-bullet summary. Stream the response.”
“Set up the Vercel AI SDK with OpenAI in my Next.js app. Create an API route at /api/chat and a chat page with streaming messages, a stop button, and conversation history.”
“Add an AI-powered search to my documentation site. Use OpenAI embeddings to find the most relevant docs based on the user's question, then generate a natural language answer with citations.”
“Add real-time updates to my [chat/dashboard/feed] using Supabase Realtime. When a new [message/record] is added to the database, show it instantly without refreshing.”
“Build a live notification system for my app. When [event happens], show a toast notification to the user in real time.”
“Convert my Next.js website into a Progressive Web App (PWA). Add a web app manifest with my app name, icons (192x192 and 512x512), theme color, and display: standalone. Set up a service worker for offline caching of static assets. Add a meta tag for mobile web app capable. Make sure the app can be installed on home screens on both iOS and Android.”
“Add Capacitor to my existing Next.js project so I can publish it as a native iOS and Android app. Install @capacitor/core and @capacitor/cli, initialize Capacitor with my app name, configure the webDir to point to my build output, and add the iOS and Android platforms. Set up the Capacitor config file. Then show me how to build and open the project in Xcode (iOS) and Android Studio.”
“Create a new React Native app using Expo. Set up the project with TypeScript, Expo Router for tab and stack navigation, and a clean folder structure. Create a home screen with a welcome message, a settings screen with a profile form, and tab navigation between them. Use NativeWind (Tailwind for React Native) for styling. Make sure it runs on both iOS and Android.”