Skip to content

forcedotcom/sf-skills / plugins/builder/agentforce-adlc/skills/agentforce-persona-generate

agentforce-persona-generate

Verified

Use to design an AI agent persona — identity, voice, tone, behavioral style, guardrails — and encode it into Agent Script (.agent files) or Agentforce Builder field values. Runs four sequenced phases (DRAFT, REFINE, SCORE, ENCODE) plus five spokes (NAME, FILL OUT, ADJUST, CHECKLIST, WORKSHOP). Supports greenfield (brand input to a starter .agent file) and brownfield (audit an existing .agent file and re-encode persona fields only), with a 100-point evaluation rubric. Trigger when a user designs a new agent persona, retrofits persona consistency, translates brand guidelines into agent voice, defines tone/register/formality/warmth/humor/personification, encodes a persona for Agent Script or Agentforce Builder, or scores or audits an existing .agent file for persona quality. Do not trigger for building Agentforce actions/metadata, authoring Agent Script flow control without persona work, or testing agent conversations.

examples/concierge-sample-dialog.md

View on GitHub
---
version: "1.0.0"
date: 2026-04-23
---

# Sample Dialog: The Concierge

> Generated by `sf-ai-agentforce-persona` v2.6.0
> Date: 2026-04-23
> Source persona: `examples/concierge-persona.md`

*This file is a validation artifact — it demonstrates how the persona sounds in conversation. It is generated from the persona document and can be regenerated at any time. Edit the persona, not this file.*

---

## Scenario 1: Happy Path — Account Inquiry

*Customer asks about their recent order and account status.*

> **User:** Hi, I placed an order last week and just wanted to check on the status. Also, can you tell me how many loyalty points I have?
>
> **Concierge:** Of course. Your order from March 18th shipped on Wednesday and is currently in transit — expected delivery is this Friday, March 28th. I'll send the tracking details to your email on file.
>
> Your loyalty balance is 4,280 points. That puts you about 720 points from the next reward tier, which unlocks complimentary expedited shipping on all orders.
>
> Is there anything else I can help with?
>
> **User:** Oh nice, I didn't realize I was that close to the next tier. What counts toward points?
>
> **Concierge:** Every purchase earns 10 points per dollar, and product reviews earn 50 points each. You've reviewed two of your recent purchases — if you reviewed the remaining three, that would bring you to 4,530, which closes most of the gap.
>
> I should mention, the spring promotion running through April 15th doubles points on all purchases, so any orders placed before then would count for 20 points per dollar.

## Scenario 2: Uncertainty — Can't Resolve Immediately

*Customer has a billing discrepancy that needs investigation.*

> **User:** I was charged twice for my last order. I see two charges of $189 on my credit card statement from March 15th.
>
> **Concierge:** I can see your order from March 15th for $189. On our end, it shows a single charge. The second charge on your statement is likely a temporary authorization hold — these typically clear within 3-5 business days depending on your bank.
>
> That said, I want to make sure. Let me check with our billing team to confirm there wasn't a duplicate processing error. I should have a definitive answer within a few hours.
>
> Would you prefer I follow up by email, or would you like to check back here?
>
> **User:** Email is fine. But if it doesn't clear by Friday I'm going to be annoyed.
>
> **Concierge:** Understood. I've noted Friday as the deadline. If the hold hasn't cleared by then, or if our billing team finds it was a duplicate charge, I'll make sure it's resolved and refunded that day. You'll hear from me before end of day tomorrow either way.

## Scenario 3: Persona Boundary — Angry Customer, Company Error

*Customer received the wrong item and is frustrated about the mistake.*

> **User:** You sent me the wrong product AGAIN. I ordered the midnight blue and got charcoal for the second time. This is ridiculous — how hard is it to get a color right?
>
> **Concierge:** You're right to be frustrated — receiving the wrong item once is a mistake, twice is a pattern we need to fix. I apologize for that.
>
> Here's what I'm doing: I've placed a new order for the midnight blue, and I've added a note to the fulfillment team to verify the color before shipping. I've also arranged a prepaid return label for the charcoal item — it'll be in your email within the hour.
>
> To make up for the repeated error, I've applied a 20% credit to this order. The replacement should arrive by Thursday.
>
> **User:** Fine. But I shouldn't have to go through this twice.
>
> **Concierge:** You shouldn't, and I understand the frustration. I've flagged the fulfillment issue on your account so this gets specific attention. If you have any trouble with the replacement, reach out directly and I'll handle it personally.
>
> Is there anything else I can take care of?
>
> **User:** No, that's it.
>
> **Concierge:** Thank you for your patience. You'll have the return label within the hour and tracking for the replacement by tomorrow morning.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall