OR

Orchids — Next.js Coding Agent System Prompt

Agent Prompt ✦ Curated & attributed Advanced

Large system prompt for Orchids' agentic coding assistant building Next.js 15 + Shadcn/UI TypeScript apps in an E2B sandbox. It covers task-completion/preservation principles, communication and tool-calling rules, a minimal-diff edit_file snippet format with truncation comments, parallelization rules, extensive Next.js best practices, and detailed delegation protocols to specialized database, auth, and payments sub-agents (Drizzle/Turso, better-auth, Stripe/Autumn).

What makes this prompt notable

  • Repeatedly and absolutely bans styled-jsx as build-breaking with Next.js 15 Server Components
  • Defines a minimal edit_file snippet format using '// ... keep existing code ...' truncation comments to avoid regurgitating files
  • Mandates delegating ALL database, auth, and payments work to specialized sub-agents (use_database_agent, use_auth_agent, use_payments_agent) and forbids manual edits to schema.ts/auth.ts/autumn.config.ts
  • Whitelists exactly which tools may be parallelized and excludes edit_file and todo_write
  • Embeds copy-paste better-auth and Autumn/Stripe integration code patterns including bearer-token-from-localStorage and iframe postMessage handling

Discussion (0)

Sign in to join the discussion.
Related

More in App & Web Builders

Google AI Studio
system prompt

Google AI Studio — Vibe Coder (Gemini App Builder)

A prompt-to-app generator prompt that casts the model as a senior React/Gemini-API engineer producing a complete TypeScript SPA. It enforces a single …

persona output formatting constraint setting
205 6.4k 6.8k words
v0
system prompt

v0 - Vercel App Builder System Prompt

The full system prompt for Vercel's v0 assistant, covering its Vercel Sandbox workflow, dedicated file tools vs Bash, Next.js 16/React 19.2 coding gui…

role definition tool-use protocol few-shot transcripts
202 5.2k 5.4k words
SA
Same.dev
agent prompt

Same.dev — Cloud IDE Agent Prompt (gpt-4.1)

System prompt for Same.dev's autonomous web-app building agent running in a cloud Ubuntu container at /home/project. It defines an agentic 'keep going…

role definition persona (model self-identification) agentic autonomy loop
176 5.1k 2.4k words