App · Intermediate
生产级 AI 对话应用提示词
构建包含流式响应、工具调用、文件、引用、历史记录和完整错误状态的多模型助手。
Vibe Codingv0BoltReplit
可复制的提示词模板
技术模板保留英文,便于直接用于兼容的编程 Agent;页面说明、选型建议和检查步骤均已中文本地化。
Build a production-minded AI chat application for [AUDIENCE] that helps them [PRIMARY JOB]. Use [MODEL PROVIDERS] behind one clear product experience. Start by defining the smallest useful end-to-end workflow, then implement it with realistic sample data and working interactions. Core experience: - A responsive thread list with new chat, rename, search, pin, archive, and delete-with-confirmation. - A conversation view with token-by-token streaming, stop generation, regenerate, edit-and-resend, copy, and branch from a message. - A composer with multiline input, file attachments, drag and drop, model selection, and three context-aware starter prompts. - Distinct rendering for markdown, code, tables, citations, uploaded files, tool calls, and recoverable errors. - A model switcher that explains speed, capability, and cost in plain language without inventing benchmarks. Trust and control: - Show when a tool is requested, what data it receives, its current state, and its result. - Require explicit approval before any tool that writes, purchases, publishes, emails, or deletes. - Separate cited facts from model interpretation and let users open every source. - Make privacy, retention, and model-provider boundaries visible near the relevant action. Product states: - First use, empty history, uploading, streaming, stopped, rate limited, offline, tool failure, context limit, and successful recovery. - Persist conversations locally or with [DATA LAYER], and never expose provider keys in client code. - Preserve the draft and attachments after a failed send. Visual direction: [VISUAL DIRECTION]. Optimize for long reading sessions, keyboard use, mobile composing, and clear hierarchy. Avoid decorative AI gradients, glowing orbs, and unexplained magic-sparkle icons. Before finishing, test a normal answer, a cited answer, an attachment, a tool requiring approval, a stopped generation, and a failed request. Verify accessible names, focus order, reduced motion, and narrow-screen behavior.
使用前先完成定制
替换所有变量,删除不需要的功能,并加入真实内容、技术限制和明确的验收条件。
- AUDIENCE — independent researchers
- PRIMARY JOB — turn mixed sources into a cited briefing
- MODEL PROVIDERS — OpenAI, Anthropic, and Google
- DATA LAYER — Postgres with per-user access controls
- VISUAL DIRECTION — quiet editorial workspace with dense, readable typography
系统检查生成结果
检查移动端、键盘操作、加载、空数据与错误状态,并使用真实数据完成核心流程。
选择 AI 编程工具