Primitive 09 / Template

Prompt template card

A versioned prompt template card — body with token-coloured placeholders, suite of test cases, win-rate versus the previous version and a trend sparkline so the team can see whether a change is moving the needle.

Production answer

Prompt template card is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview Prompt template card states
Generative search brief

Prompt template card: A versioned prompt template card — body with token-coloured placeholders, suite of test cases, win-rate versus the previous version and a trend sparkline so the team can see whether a change is moving the needle.

State A · quote acknowledgement · v2.1 winning
Sales · tpl_quote_ack

Quote acknowledgement · SMS

Cheers {{customer.firstName}} — quote {{quote.reference}} for {{quote.totalAud}} AUD inc GST is yours for 14 days.

If you'd like to lock in Bay 2 while parts are still in stock, I can pencil you in for {{slot.label}}. Just say the word.

— Hermes
Oak Flats Mufflermen
Test cases · last suite run · 14:02 AEST
  • Mentions AUD inc GST
    Response must include `inc GST` token.
    PASS
  • Names a Bay 2 slot
    Response includes slot.label placeholder substitution.
    PASS
  • Stays under 90 words
    Word count ≤ 90 to keep SMS-safe.
    PASS
  • No legal disclaimer dump
    No `T&Cs apply` boilerplate.
    FAIL
Win-rate vs prev · n=612
Win-rate trendTrend over 12 samples ranging from 42.0 to 79.0.
State B · refund explainer · failing suite · 28% win-rate
Compliance · tpl_refund

Refund explainer · email

Hi {{customer.firstName}},

Thanks for the patience. Your refund request for {{refund.amountAud}} AUD is being reviewed. T&Cs apply — we'll be in touch within 48h.

— Hermes
Test cases · last suite run · 14:02 AEST
  • Confirms AUD total
    PASS
  • Mentions fitter hours
    Missing labour breakdown.
    FAIL
  • No legal boilerplate
    Includes `T&Cs apply` phrase.
    FAIL
  • Under 100 words
    PASS
Win-rate vs prev · n=82
Win-rate trendTrend over 12 samples ranging from 28.0 to 60.0.
State C · brand new · no tests yet
Service · tpl_saturday_open

Saturday short-notice booking

Hey {{customer.firstName}} — Bay {{slot.bay}} is open Saturday {{slot.time}}. Want me to lock it in?
Test cases · last suite run · 14:02 AEST
    Win-rate vs prev · n=0