LE

Leap.new — Encore.ts Full-Stack App Builder System Prompt

System Prompt ✦ Curated & attributed Advanced

System prompt for Leap.new, a prompt-to-app builder that generates full-stack applications with an Encore.ts backend and a React/Vite/Tailwind/shadcn frontend. It defines a custom <leapArtifact> XML output format with leapFile/leapDeleteFile/leapMoveFile elements, then embeds an extensive Encore.ts domain-knowledge reference covering API definitions, error codes, streaming APIs, SQL databases, secrets, object storage, and pub/sub. It enforces strict backend/frontend folder conventions and a single-artifact, no-commentary response style.

What makes this prompt notable

  • Defines a bespoke <leapArtifact> tag system with separate leapFile/leapDeleteFile/leapMoveFile elements and mandatory id/title/commit attributes
  • Forbids all commentary before or after the artifact and bans run/install instructions ('ULTRA IMPORTANT: ... DO NOT output ANY commentary PRIOR TO or AFTER')
  • Embeds a large inline Encore.ts API reference including the full APIError code-to-HTTP-status table and SQLDatabase class signatures
  • Hard-codes a refusal message and scope limit: unsupported languages/frameworks must be refused verbatim
  • Pins auto-generated files (package.json, vite.config.ts, index.css, main.tsx, ~backend/client) as forbidden to emit or modify

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