Laravel: add a safe database migration
New column/table with indexes, rollback and model updates.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1
Library / Coding & Technology / Frontend
Moves client-side fetching to the server where it belongs.
Refactor [page/component] to load its data in a Server Component instead of useEffect. - Check the installed Next.js version's docs (node_modules/next/dist/docs) for current caching and params APIs before writing code. - Keep interactive parts in small 'use client' components that receive data as props. - Add loading and error states (loading.tsx / error.tsx or Suspense). - Don't expose secrets to the client. Run the build to confirm there are no type or prerender errors.
Copies your prompt and opens the official site in a new tab. You may need to paste it yourself (Ctrl/⌘ + V). Nothing is sent to the AI by us.
Replace [bracketed] parts with your own details before sending. Want it tailored? Build a custom website & app development prompt.
A typical one-line request compared with this prompt. We only show sample responses where we've written an illustration.
Prompt
frontend
1 words · no role, context, format or constraints
Prompt
Refactor [page/component] to load its data in a Server Component instead of useEffect. - Check the installed Next.js version's docs (node_modules/next/dist/docs) for current caching and params APIs before writing code. - Keep interactive parts in small 'use client' components that receive data as props. - Add loading and error states (loading.tsx / error.tsx or Suspense). - Don't expose secrets to the client. Run the build to confirm there are no type or prerender errors.
74 words · generated instantly from templates, no AI called
What we added
New column/table with indexes, rollback and model updates.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1
Eager loading fixes with proof.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1
Thin controllers with proper authorisation.
Agent task · Cursor / coding agents, Claude Code, ChatGPT +1