agentforce-generate

Build Salesforce Agentforce Agent Script skills with Apex or Flow targets.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill agentforce-generate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentforce-generate
Source: https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG/tree/main/.agents/skills/agentforce-generate
Command: npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill agentforce-generate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill removes the guesswork from building Agentforce agents by giving clear, reference-driven guidance for creating, modifying, debugging, deploying, and testing Agent Script solutions.

Core Features & Use Cases

  • Agent creation and modification: Design subagents, actions, variables, transitions, and Agent Spec documents with the right Salesforce patterns.
  • Debugging and validation: Diagnose compilation errors, behavioral issues, and production problems using live preview traces and targeted fixes.
  • Deployment and lifecycle management: Publish, activate, retrieve, rename, and decommission Agentforce bundles while respecting org prerequisites and permission models.
  • Backing logic mapping: Match actions to Apex, Flow, or Prompt Template implementations and identify when stubs or permissions are needed.
  • Use Case: A Salesforce developer can use this Skill to turn a rough agent idea into a deployable, testable, and permission-safe Agentforce implementation.

Quick Start

Use the agentforce-generate skill to plan, build, validate, and publish an Agentforce agent from your Salesforce project.

Frequently Asked Questions about agentforce-generate

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

FAQPage Schema
How do I build and test an Agentforce agent script in Salesforce?

To build and test an Agentforce agent script, you design subagents, actions, and transitions using Agent Spec documents, then validate them with live preview traces before deployment. This ensures correct Salesforce patterns and permission-safe implementations.

How do I debug Agentforce agent compilation errors and behavioral issues?

Debugging Agentforce agents involves diagnosing compilation errors and production problems using live preview traces. You analyze the trace data to identify issues in subagent routing or backing logic mapping, then apply targeted fixes to resolve them.

How do I map Agentforce actions to Apex or Flow backing logic?

Mapping Agentforce actions to backing logic involves matching actions to Apex, Flow, or Prompt Template implementations. You identify when permission stubs are needed and ensure valid Apex or Flow targets are configured for the agent.

What is the best way to deploy and manage Agentforce bundle lifecycles?

Deploying Agentforce bundles requires publishing, activating, and decommissioning agents while respecting org prerequisites and permission models. Using Salesforce CLI JSON workflows ensures permission-aware deployment practices across service and employee agents.

Do I need Salesforce CLI to create and modify Agentforce agents?

Creating and modifying Agentforce agents requires correct SKILL.md frontmatter and utilizes Salesforce CLI JSON workflows for lifecycle operations. This ensures proper validation, permission-aware deployment, and accurate Apex or Flow target mapping.