"Create a new Next.js app with TypeScript, Tailwind CSS, and shadcn/ui. Set up the folder structure with a home page, about page, and dashboard section."
"Set up a Next.js project with authentication using [NextAuth/Clerk/Firebase Auth]. Include login, signup, and protected routes."
"Initialize a React project with Vite, TypeScript, Tailwind, and React Router. Create a basic layout with header and footer."
Building Components
"Create a responsive navigation bar with a logo, links, and a mobile hamburger menu. Use Tailwind and shadcn/ui."
"Build a product card component that shows image, title, price, and an Add to Cart button. Make it responsive."
"Create a modal/dialog component using shadcn/ui. It should open on button click and close on backdrop click or Escape."
"Build a multi-step form with validation. Step 1: personal info. Step 2: preferences. Step 3: confirmation."
Data & State Management
"Fetch a list of [items] from /api/[items] in a Server Component and display them in a responsive grid."
"Create a search page with debounced input. Fetch results from /api/search?q= as the user types."
"Build a shopping cart using React Context. Support add, remove, update quantity, and calculate total."
"Create a custom hook called useAsync that handles loading, error, and data states for any async function."
Pages & Layouts
"Create a dashboard layout with a sidebar, top bar, and main content area. The sidebar should collapse on mobile."
"Build a blog with a list page showing post previews and a dynamic [slug] page showing the full post."
"Set up a settings page with tabs for Profile, Account, Notifications, and Billing."
"Create a landing page with hero section, features grid, testimonials, pricing cards, and footer."
Styling & Polish
"Add dark mode support to this component. Use Tailwind's dark: prefix."
"Make this layout fully responsive. On mobile: single column. Tablet: two columns. Desktop: three columns with sidebar."
"Add loading skeletons that match the layout of the actual content."
"Add smooth page transitions using Framer Motion."
Debugging React
"This component re-renders too many times. Here's the code: [paste]. How do I optimize it?"
"I'm getting 'Cannot read property of null'. Here's my component: [paste]. What's causing it?"
"My useEffect runs in an infinite loop. Here's the code: [paste]. What's wrong with the dependencies?"
"State isn't updating when I click the button. Here's my handler: [paste]. What am I doing wrong?"
The Development Workflow
1. PLAN → Describe what you want to the AI (be specific!)
2. BUILD → AI generates components, pages, and logic
3. REVIEW → Read the code — check components, props, state, routing
4. STYLE → Adjust Tailwind classes for the look you want
5. TEST → Run the app, click through everything
6. ITERATE → Tell the AI what to change, fix, or add
Tips for better AI prompts:
Be specific about what data the component shows
Mention which library/framework to use (Next.js, shadcn/ui, Tailwind)
Describe the responsive behavior you want
Include error and loading states in your requirements
Reference existing components: "Use the same card style as the products page"
Remember: You don't need to memorize all of this. Use this page as a reference, and let AI tools handle the implementation details. Your job is to describe what you want clearly and review what you get back.