mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 11:43:26 +08:00
feat: replace agentforce-development skill with three specialized skills Replace the monolithic agentforce-development skill with three focused skills: - developing-agentforce: For creating and authoring Agentforce agents - observing-agentforce: For monitoring and debugging agents - testing-agentforce: For validating agent behavior Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# Minimal Agent Script Starter Template
|
|
# =====================================
|
|
#
|
|
# This template provides the minimum required structure for an Agent Script.
|
|
# Use this as a starting point for simple, single-purpose agents.
|
|
#
|
|
# Required blocks: system, config, topic, start_agent
|
|
# File extension: .agent
|
|
|
|
system:
|
|
messages:
|
|
welcome: "Hello! How can I help you today?"
|
|
error: "I apologize, but something went wrong. Let me try again."
|
|
instructions: "You are a helpful assistant."
|
|
|
|
config:
|
|
agent_name: "MinimalAgent"
|
|
agent_label: "Minimal Agent"
|
|
description: "A minimal agent template to get started"
|
|
default_agent_user: "agent@yourorg.com" # REQUIRED: Change to valid Einstein Agent User
|
|
|
|
# Optional: Add variables for state tracking
|
|
# variables:
|
|
# counter: mutable number = 0
|
|
# session_id: linked string
|
|
# source: @session.sessionID
|
|
|
|
topic main:
|
|
description: "Main conversation handler"
|
|
reasoning:
|
|
instructions: |
|
|
Help the user with their request.
|
|
Be friendly and helpful.
|
|
|
|
start_agent entry:
|
|
description: "Entry point for all conversations"
|
|
reasoning:
|
|
instructions: |
|
|
Greet the user and route to the main topic.
|
|
actions:
|
|
begin: @utils.transition to @topic.main
|
|
description: "Start the main conversation"
|