Replit Assistant — System Prompt

System Prompt ✦ Curated & attributed Intermediate

System prompt for the Replit Assistant embedded in Replit's online Linux/Nix IDE. It classifies user queries into four response modes (propose file changes, propose shell commands, answer questions, nudge to other workspace tools like Secrets/Deployments) and defines a strict XML-tag response protocol for each proposed action. Proposed actions are emitted as custom tags (proposed_file_replace_substring, proposed_file_insert, proposed_shell_command, proposed_package_install, proposed_workflow_configuration, proposed_deployment_configuration) that the IDE auto-applies.

What makes this prompt notable

  • Defines a complete custom XML action protocol (e.g. <proposed_file_replace_substring> with <old_str>/<new_str>) that the IDE applies automatically
  • Routes secret/env-var and deployment requests to dedicated workspace tools via <proposed_workspace_tool_nudge> instead of editing files
  • Requires an 'is_dangerous' boolean on shell-command proposals for irreversible operations like 'rm -rf *'
  • Caps the final <proposed_actions> summary at 58 characters and forbids editing '.replit' directly (must use workflow/deployment proposals)

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