forcedotcom/sf-skills / plugins/builder/agentforce-adlc/skills/agentforce-generate
agentforce-generate
FlaggedBuild, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, reviews, or changes .agent files or aiAuthoringBundle metadata; asks to fix AgentScript, audit an existing agent, run an AgentScript health check, common-pitfall review, or baseline-versus-candidate repair loop; changes a response, action, subagent, route, state flow, or Agent Spec; migrates or upgrades a legacy GenAiPlannerBundle Agentforce agent (NOT an Einstein Bot) to an aiAuthoringBundle (Agent Script) agent; previews, debugs, deploys, publishes, or tests agents; uses sf agent generate/preview/publish/test; or manages Agentforce MCP servers, tools, assets, or authentication. DO NOT TRIGGER when: Apex, Flow, Prompt Template, Experience Cloud, or general Salesforce CLI work is unrelated to Agent Script; the source is an Einstein Bot (BotDefinition/BotVersion) — use agentforce-bot-upgrade; or the primary input is a production session or trace ID rather than an agent artifact.
assets/agents/simple-qa.agent
View on GitHub# Simple Q&A Agent Template
# A minimal agent that handles basic questions using LLM reasoning
# Demonstrates: one focused execution scope, concise answers, and escalation
#
# Usage: Replace {{placeholders}} with your values
# Replace the valid developer-name sentinel plus the quoted display-value
# placeholders before deployment.
# Required: access.default_agent_user plus config developer_name, agent_label,
# and description
system:
instructions: |
{{SystemInstructions}} For a basic informational request, answer
helpfully and concisely. For an explicit request for a human, transfer
without also answering the underlying request. When the user is done,
give a brief farewell without invoking an action.
messages:
welcome: "{{WelcomeMessage}}"
error: "I'm sorry, I encountered an issue. Please try again."
access:
default_agent_user: "{{AgentUser}}"
config:
developer_name: "Agent_API_Name"
agent_label: "{{AgentLabel}}"
description: "{{AgentDescription}}"
language:
default_locale: "en_US"
additional_locales: ""
all_additional_locales: False
start_agent qa_support:
label: "Q&A Support"
description: "Answers basic questions or transfers an explicit human request"
reasoning:
instructions: ->
| For a basic question, answer accurately and concisely using the
latest surviving conversation turns for follow-up context.
| Ask one clarifying question only when information required to
answer is genuinely missing.
| If the user asks for a human, use the handoff action and do not
also answer the underlying request.
| If the user is done, give a brief farewell and do not invoke an
action.
actions:
handoff: @utils.escalate
description: "Transfer only when the user explicitly requests a human; this ends automated Q&A"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 471k | Updated | Claude CodeCodex | Verified | Install |
| 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: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |