Agentforce Generate
Build, modify, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, modifies, optimizes, or asks about .agent files or aiAuthoringBundle metadata; changes agent behavior, responses, or conversation logic; designs agent actions, tools, subagents, or flow control; writes or reviews an Agent Spec; wants to optimize, improve, or refactor an agent; previews, debugs, deploys, publishes, or tests agents; uses Agent Script CLI commands (sf agent generate/preview/publish/test); registers/creates/lists/updates/deletes MCP servers, whitelists/approves MCP tools, fetches MCP assets, or configures MCP authentication (sf agent mcp). DO NOT TRIGGER when: Apex development, Flow building, Prompt Template authoring, Experience Cloud configuration, or general Salesforce CLI tasks unrelated to Agent Script.
- Type
- Skill
- Author
- forcedotcom
- GitHub stars
- 1.1K
- Installs
- 5.9K
- Last updated
- October 30, 2026
Install
npx skills add https://github.com/forcedotcom/sf-skills --skill agentforce-generateAbout this skill
Builds, modifies, optimizes, debugs, and deploys Agentforce agents using Agent Script, working with .agent files and aiAuthoringBundle metadata. It covers agent actions, tools, subagents, flow control, Agent Specs, and MCP server registration and authentication through the sf agent CLI. It deliberately does not trigger for Apex, Flow, Prompt Templates, or general Salesforce CLI work.
Summary written with AI assistance from the project's public description.
Categories
More from forcedotcom
Platform Apex Generate
Primary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to...
by forcedotcom
Platform Apex Test Generate
Generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking strategies, assertion best practices, a...
by forcedotcom
Platform Apex Test Run
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage,...
by forcedotcom
Platform Apex Logs Debug
Salesforce debug log analysis and troubleshooting with 100-point scoring. TRIGGER when: user analyzes debug logs, hits governor limits, reads stack...
by forcedotcom
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh