sf-agentforce-development

Develop Agentforce agents with Agent Script patterns and CLI workflows.

13|2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill sf-agentforce-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-agentforce-development
Source: https://github.com/jiten-singh-shahi/salesforce-claude-code/tree/main/.cursor/skills/sf-agentforce-development
Command: npx skills add https://github.com/jiten-singh-shahi/salesforce-claude-code --skill sf-agentforce-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides developers in building Agentforce agents, including Agent Script patterns, topics/subagents, actions, testing, and metadata, to streamline creation and deployment of agents and workflows.

Core Features & Use Cases

  • Comprehensive Agent Script development guidance, including structure, CLI workflows, and best practices for publishing and activating agents.
  • Reference patterns and metadata modeling for topics, actions, and GenAi components to enable robust agent behavior and scalable deployments.
  • Use Case: Create an end-to-end Agentforce service agent by defining topics, reasoning, deterministic actions, and test specs, then publish to an org.

Quick Start

Install the Agentforce development environment and start authoring Agent scripts using the CLI workflow.

Frequently Asked Questions about sf-agentforce-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an Agentforce agent with custom actions and topics?

Building an Agentforce agent involves defining Agent Script patterns, topics, and deterministic actions. You generate, validate, publish, and activate agent metadata using CLI workflows and YAML-based test specs.

What are Agent Script patterns and when do I need them for Salesforce Agentforce?

Agent Script patterns provide metadata modeling for topics, actions, and GenAi components. You need them to enable robust agent behavior and scalable deployments when creating custom Agentforce service agents.

How do I test Agentforce agents before publishing to an org?

You test Agentforce agents by authoring YAML-based test specs within your testing workflows. This enforces deterministic action patterns and validates agent behavior before you publish metadata to an org.

Can I use Apex InvocableMethod actions with Agentforce agents?

Yes, you can develop Apex InvocableMethod actions for Agentforce agents. The workflow integrates custom Apex actions into agent script metadata, enforcing deterministic action patterns across orgs.

What's the best way to deploy Agentforce metadata across multiple orgs?

The best way to deploy Agentforce metadata across orgs is using CLI workflows. This enforces deterministic action patterns and manages the generate, validate, publish, and activate lifecycle for agent metadata.

What are the limitations of using YAML-based test specs for agent validation?

YAML-based test specs enforce deterministic action patterns for validating agents. A limitation is that non-deterministic or highly dynamic reasoning behaviors may not be fully validated within these strict testing workflows.