AI 提示词演练场评估工作台是一款面向开发者的提示词工程与并排评估工作台,专为 AI 产品工程师、提示词架构师和构建可靠 LLM 工作流的技术团队设计。界面采用黑曜石 IDE 配色,以电光紫操作按钮和薄荷绿通过率遥测为点缀,首次打开即加载一套丰富的真实评估套件,工程师第一次访问就能测试工作流。左侧提示词工作区提供结构化的 System 和 User 提示词编辑器,自动解析并高亮双花括号模板变量,将其变为可实时编辑的输入标签,还支持一键版本快照和内联红绿版本差异弹窗,可对比任意两个提示词版本。右侧用户最多可选择三个虚构的前沿模型配置,点击 Run Eval 即可触发逼真的并行流式模拟,实时显示 token 数、首 token 延迟和计算出的成本徽章,并可用交互式通过/失败评分标准为每个回复打分,评分实时汇总为准确率分数。专用的数据集测试套件标签页会在多行边界用例输入表格中运行提示词,即时显示通过率条形图;导出控件可直接从浏览器下载结构化 JSON 或 Markdown 评估报告。所有评估运行、提示词版本、评分标准得分和数据集行都通过一个完全隔离的 mock 适配器文件持久化在 localStorage 中,开发者之后几分钟内就能接入真实供应商 API。
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# AI Prompt Playground Eval Studio
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A multi-model prompt engineering and side-by-side evaluation workbench called [BRAND], pre-loaded with the '[WORKSPACE_PROJECT]' suite comparing three fictional AI models ([MODEL_A], [MODEL_B] and [MODEL_C]). Includes a structured System/User prompt editor with auto-parsed {{variable}} chips, prompt version snapshots with inline diff view, side-by-side streaming simulation with token/latency/cost telemetry and rubric scoring toggles, a multi-case Dataset Eval table, and working JSON/Markdown report download — all persisted in localStorage with one isolated src/mockAdapter.ts file.
- Audience: AI engineers, prompt developers and product teams benchmarking system prompts, edge-case datasets and model trade-offs.
- Goal: Provide a production-ready front-end AI prompt playground and evaluation studio starter that developers can run offline immediately or wire to real APIs.
- Tone: Technical, precise, low-noise IDE craft, data-dense yet effortlessly scannable.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/inter (OFL-1.1), @fontsource/space-grotesk (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/space-grotesk (600, 700), @fontsource/inter (400, 500, 600) and @fontsource/jetbrains-mono (400, 500) in src/main.tsx.
- Isolate all simulated streaming token generation, latency/cost calculation and deterministic model response profiles in src/mockAdapter.ts so real LLM endpoints can replace one file cleanly.
- Store seeded project prompts, 3 prompt versions (v1, v2, v3), 6 realistic dataset test cases, 4 rubric criteria and pre-computed baseline eval results in src/content.ts; persist all user edits, new versions, rubric toggles and runs in localStorage with a 'Reset Suite' button.
## Variables
- [BRAND] — Workbench name (default: "PromptBench"). Invented AI developer tool name
- [WORKSPACE_PROJECT] — Default eval suite name (default: "Support Ticket Triage & Refund Guard"). Name of pre-loaded evaluation project
- [MODEL_A] — Fictional flagship model (default: "Aether-4-Max"). First fictional model codename
- [MODEL_B] — Fictional balanced model (default: "Boreal-3.5-Pro"). Second fictional model codename
- [MODEL_C] — Fictional fast model (default: "Pulse-Mini-Fast"). Third fictional model codename
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/ai-prompt-playground-eval-studio in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro 模板
解锁完整提示词和源码
在线演示和 DESIGN.md 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "AI Prompt Playground Eval Studio"
colors:
obsidian_ide: "#0B0E14"
panel_carbon: "#131822"
elevated_surface: "#1B2230"
electric_violet: "#8B5CF6"
mint_pass: "#34D399"
rose_fail: "#F43F5E"
amber_warn: "#F59E0B"
hairline_border: "#242D3D"
typography:
brand_and_view_headings: { family: "Space Grotesk", weights: [600, 700] }
labels_rubric_descriptions_and_controls: { family: "Inter", weights: [400, 500, 600] }
prompts_variables_model_outputs_diffs_and_telemetry: { family: "JetBrains Mono", weights: [400, 500] }
spacing: "Crisp IDE multi-pane workbench: 52px top command bar with mode tabs ('Playground', 'Dataset Evals', 'Version Diff'), full-width split layout on 1440x900 (420px prompt & variable rail on left, 3-column model output arena on right) that stacks smoothly on mobile 390px with zero horizontal overflow."
radius: "Sharp developer IDE geometry: 10px on panes and model output cards, 6px on buttons, variable chips and rubric pills."
---
# AI Prompt Playground Eval Studio — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Obsidian IDE** `#0B0E14` — Primary full-bleed dark IDE canvas
- **Panel Carbon** `#131822` — Editor panes, comparison columns and dataset table cards
- **Elevated Surface** `#1B2230` — Active tabs, variable chips and code diff blocks
- **Electric Violet** `#8B5CF6` — Primary Run Eval action, active variable highlights and primary focus rings
- **Mint Pass** `#34D399` — Passing rubric checks, low-latency badges and diff additions
- **Rose Fail** `#F43F5E` — Failing rubric checks and diff removals
- **Amber Warn** `#F59E0B` — Cost warnings and JSON schema edge-case flags
- **Hairline Border** `#242D3D` — Crisp 1px IDE pane dividers
## Typography
- **Brand and view headings** — Space Grotesk (OFL), weights 600/700. Self-host the font files.
- **Labels, rubric descriptions and controls** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Prompts, {{variables}}, model outputs, diffs and telemetry** — JetBrains Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: Crisp IDE multi-pane workbench: 52px top command bar with mode tabs ('Playground', 'Dataset Evals', 'Version Diff'), full-width split layout on 1440x900 (420px prompt & variable rail on left, 3-column model output arena on right) that stacks smoothly on mobile 390px with zero horizontal overflow.
- Radius: Sharp developer IDE geometry: 10px on panes and model output cards, 6px on buttons, variable chips and rubric pills.
## Motion
- Realistic token-by-token streaming text output when clicking 'Run All Models' (with instant-complete fallback under prefers-reduced-motion).
- Smooth tab indicator and score bar transitions.
## Imagery
Pure high-craft developer IDE interface: code-drawn SVG score sparkbars, crisp syntax-tinted {{variable}} chips, line-by-line diff blocks and tabular latency/cost badges.
## Tone
Technical, precise, low-noise IDE craft, data-dense yet effortlessly scannable.
---
— Prompt by VibeFather · https://vibefather.ai/t/ai-prompt-playground-eval-studio · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
AI 提示词演练场评估工作台提供 System 和 User 提示词编辑器,可将双花括号模板变量转为可编辑的输入标签,支持一键提示词版本快照和内联差异弹窗,以及三个模型配置的并排评估视图。你可以运行流式评估,查看 token、延迟和成本徽章,按评分标准为回复打分,在数据集表格中测试提示词,并下载 JSON 或 Markdown 报告。
AI 提示词演练场评估工作台将所有模拟的流式、延迟和成本计算都放在一个隔离的 mock 适配器文件中。把其中的模拟响应逻辑替换为调用你的供应商端点,并将返回的 token 和耗时映射为相同结构,编辑器、评分标准打分和报告导出即可继续工作。你保存在 localStorage 中的提示词版本、评分标准开关和数据集行都会保持不变。
AI 提示词演练场评估工作台是 Pro 模板。免费模板的提示词和 DESIGN.md 文件依据 CC BY-NC 4.0 授权,仅限个人非商业使用;商业和客户项目使用需要 Pro。Pro 模板公开显示简介、技术栈和变量,Pro 会员可获得完整提示词,演示的源代码随 Pro 提供。
将 BRAND 设为你的工作台名称,WORKSPACE_PROJECT 设为你自己的评估套件,MODEL_A、MODEL_B 和 MODEL_C 设为你们团队要对比的模型名称。然后替换内容文件中预置的提示词版本、六个数据集测试用例和四条评分标准,这样首次访问时展示的就是你真实的分诊或分类任务,而不是支持工单示例。
AI 提示词演练场评估工作台会将新的提示词版本、评分标准的通过/失败开关、数据集行和评估运行持久化到 localStorage,刷新页面后工作内容仍在。Reset Suite 按钮可恢复预置项目、三个提示词版本、六个数据集用例和四条评分标准。localStorage 层位于同一个隔离适配器之后,因此你之后可以把持久化迁移到后端。
复制本页的完整提示词(Pro),或者运行 npx vibefather add ai-prompt-playground-eval-studio,把 变量 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
演示由 GPT-6.2 Sol 在 Codex 里完成。每次都用公开的提示词原样生成,没有额外补充。
AI 提示词演练场评估工作台是一个单页网站,用 React、Tailwind CSS 构建。提示词固定了技术栈,不同 AI 工具做出来的都是同一类项目,成品是静态网站,部署到哪里都可以。
AI 提示词演练场评估工作台是 Pro 模板:说明、技术栈和变量公开,完整提示词、在线演示的源码和商用授权包含在 VibeFather Pro 里,支持支付宝和微信支付。它的 DESIGN.md 个人项目可以免费用。
能。每个AI 提示词演练场评估工作台的演示上线前都在手机和电脑尺寸上检查过布局、字号和点击区域。可以直接用手机打开在线演示,或者在本页把预览切到手机视图看看。