What problem does it solve? Agentforce agents are metadata graphs (Bot, BotVersion, GenAiPlannerBundle, GenAiPlugin, GenAiFunction) that break in non-obvious ways: wrong deploy order, missing agent users, untested action contracts, and planner routing that depends entirely on prose descriptions. This Skill guides the full lifecycle of authoring, previewing, testing, and shipping agents from a DX project without those failures. ## Core Features & Use Cases - Agent authoring from specs: Generate agent specs and Agent Script authoring bundles with the sf agent CLI, create the dedicated agent user, and validate bundles locally before publishing. - Action contract design: Implement invocable Apex, autolaunched Flow, and prompt-template actions with bulkified input/output contracts, USER_MODE security enforcement, idempotence, and GenAiFunction JSON schemas. - Testing and deployment: Create AiEvaluationDefinition test suites, run sf agent test with deterministic sequence-match gates, move the full agent graph between orgs with correct manifests, and activate versions deliberately. - Use Case: A story asks for an agent that answers rep questions about open opportunities. Use this Skill to provision an Agentforce-enabled scratch org, generate the authoring bundle, write a bulkified OpportunityPipelineAction Apex class, preview with live actions and trace analysis, then deploy the whole graph and activate it in the integration org. ## Quick Start Ask the assistant to create an Agentforce agent that answers questions about open opportunities, including the Apex action, tests, and deployment to the integration sandbox.