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). DO NOT TRIGGER when: Apex development, Flow building, Prompt Template authoring, Experience Cloud configuration, or general Salesforce CLI tasks unrelated to Agent Script.
$npx -y skills add salesforceairesearch/agentforce-adlc --skill agentforce-generateInstalls into the current project.
Run `npx skills use "https://github.com/salesforceairesearch/agentforce-adlc" --skill "salesforceairesearch/agentforce-adlc/agentforce-generate"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/salesforceairesearch/agentforce-adlc" that are relevant to the current task. Run `npx skills add "https://github.com/salesforceairesearch/agentforce-adlc"` and select the relevant skills, then follow their instructions.