Prompt Template

Monospace prompt card with inline handlebars-style variables highlighted in violet against plain body text.

support-reply.prompt
You are a helpful assistant. The user asked: {{question}}. Answer in {{tone}} tone.

New here? Read the installation guide.

Import & use
import { Ai25 } from "@/components/beste/piece/ai25";

<Ai25
  name="support-reply"
  segments={[
    {
      "type": "text",
      "value": "You are a helpful assistant. The user asked: "
    },
    {
      "type": "var",
      "value": "question"
    },
    {
      "type": "text",
      "value": ". Answer in "
    },
    {
      "type": "var",
      "value": "tone"
    },
    {
      "type": "text",
      "value": " tone."
    }
  ]}
  tone="violet"
/>

More AI pieces

View all AI
System prompt

You are a concise copywriter. Reply in 2 sentences max and avoid em dashes.

System Prompt

Dashed-border card with a violet scroll icon, uppercase label, and an edit button for the system instructions.

claude-sonnet

Explain rate limiting strategies with simple examples.

Playground Prompt

Playground card with the selected model, a prompt draft box, and a tone-colored Run button to kick off the request.

Write a landing page hero for a coffee roaster

Prompt Input

Chat prompt card with a sparkle glyph, multi-line value, attach button, and a smart send arrow.

Weekly summary
  • Onboarding ships to GA on Tuesday
  • Pricing experiment lifts conversion by 14%
  • Two critical bugs filed, one already patched
Synthesized from 3 documents

AI Summary

Summary card with a violet sparkle header, bullet list of key points, and a source attribution below.

ts
const slug = (s: string) =>
  s.toLowerCase().replace(/\s+/g, '-');

Generated Code

AI code output card with a language tag, copy and regenerate actions, and a monospace block below.

search_docs
done
query:"rate limiting"
limit:5

Function Call

Tool invocation card with the function name, typed arguments in monospace, and a running or done status pill.