Individual skill
agentforce-generate
Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, reviews, or changes .agent files or aiAuthoringBundle metadata; asks to fix AgentScript, audit an existing agent, run an AgentScript health check, common-pitfall review, or baseline-versus-candidate repair loop; changes a response, action, subagent, route, state flow, or Agent Spec; migrates or upgrades a legacy GenAiPlannerBundle Agentforce agent (NOT an Einstein Bot) to an aiAuthoringBundle (Agent Script) agent; previews, debugs, deploys, publishes, or tests agents; uses sf agent generate/preview/publish/test; or manages Agentforce MCP servers, tools, assets, or authentication. DO NOT TRIGGER when: Apex, Flow, Prompt Template, Experience Cloud, or general Salesforce CLI work is unrelated to Agent Script; the source is an Einstein Bot (BotDefinition/BotVersion) — use agentforce-bot-upgrade; or the primary input is a production session or trace ID rather than an agent artifact.
plugins/builder/agentforce-adlc/skills/agentforce-generate/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 5,499 bytesSKILL.mdcore · 32,432 bytesSKILL.mdcore · 32,432 bytesSKILL.mdcore · 32,432 bytesSKILL.mdcore · 32,432 bytesSKILL.mdcore · 32,432 bytesassets/agent-spec-template.mddoc · 6,521 bytesassets/agents/README.mddoc · 2,680 bytesassets/agents/hello-world.agentasset · 1,951 bytesassets/agents/knowledge-grounded.agentasset · 5,690 bytesassets/agents/local-info-agent-annotated.agentasset · 17,380 bytesassets/agents/order-service.agentasset · 11,966 bytesassets/agents/production-faq.agentasset · 4,027 bytesassets/agents/production-faq.bundle-meta.xmlasset · 161 bytesassets/agents/router-first.agentasset · 5,701 bytesassets/agents/simple-qa.agentasset · 1,976 bytesassets/agents/template-multi-subagent.agentasset · 5,527 bytesassets/agents/template-single-subagent.agentasset · 2,707 bytesassets/agents/verification-gate.agentasset · 10,997 bytesassets/agents/voice-knowledge-grounded.agentasset · 8,399 bytesassets/agents/voice-service-agent.agentasset · 4,671 bytesassets/bundle-meta.xmlasset · 808 bytesassets/invocable-apex-template.clsasset · 7,039 bytesassets/patterns/README.mddoc · 11,060 bytesassets/patterns/action-callbacks.agentasset · 4,777 bytesassets/patterns/advanced-input-bindings.agentasset · 7,108 bytesassets/patterns/bidirectional-routing.agentasset · 5,713 bytesassets/patterns/critical-input-collection.agentasset · 12,543 bytesassets/patterns/delegation-routing.agentasset · 6,557 bytesassets/patterns/lifecycle-events.agentasset · 4,793 bytesassets/patterns/llm-controlled-actions.agentasset · 5,186 bytesassets/patterns/multi-step-workflow.agentasset · 10,295 bytesassets/patterns/open-gate-routing.agentasset · 11,902 bytesassets/patterns/procedural-instructions.agentasset · 4,872 bytesassets/patterns/prompt-template-action.agentasset · 6,798 bytesassets/patterns/system-instruction-overrides.agentasset · 10,804 bytesreferences/action-prompt-templates.mddoc · 5,825 bytesreferences/actions-reference.mddoc · 30,890 bytesreferences/agent-access-guide.mddoc · 3,000 bytesreferences/agent-audit-and-repair.mddoc · 8,048 bytesreferences/agent-audit-candidate-verification.mddoc · 5,358 bytesreferences/agent-audit-diagnostic-catalog.mddoc · 7,769 bytesreferences/agent-audit-diagnostics-actions-state.mddoc · 7,080 bytesreferences/agent-audit-diagnostics-architecture-evaluation.mddoc · 2,565 bytesreferences/agent-audit-diagnostics-instructions-routing.mddoc · 12,083 bytesreferences/agent-audit-evaluation-loop.mddoc · 6,169 bytesreferences/agent-audit-repair-report.mddoc · 7,034 bytesreferences/agent-audit-scope-path-review.mddoc · 8,686 bytesreferences/agent-design-and-spec-creation.mddoc · 55,765 bytesreferences/agent-metadata-and-lifecycle.mddoc · 30,905 bytesreferences/agent-script-core-language.mddoc · 50,450 bytesreferences/agent-subagent-map-diagrams.mddoc · 11,079 bytesreferences/agent-user-setup.mddoc · 28,446 bytesreferences/agent-validation-and-debugging.mddoc · 45,626 bytesreferences/agentscript-toolchain.mddoc · 4,708 bytesreferences/architecture-patterns.mddoc · 13,829 bytesreferences/common-control-flow-pitfalls.mddoc · 9,579 bytesreferences/complex-data-types.mddoc · 3,952 bytesreferences/control-flow-actions-sequencing.mddoc · 7,064 bytesreferences/control-flow-lifecycle-side-effects.mddoc · 3,422 bytesreferences/data-library-reference.mddoc · 41,739 bytesreferences/deploy-reference.mddoc · 6,824 bytesreferences/discover-reference.mddoc · 4,354 bytesreferences/examples.mddoc · 12,951 bytesreferences/feature-validity.mddoc · 2,120 bytesreferences/instruction-resolution.mddoc · 23,974 bytesreferences/known-issues.mddoc · 28,287 bytesreferences/legacy-nga-regression-eval.mddoc · 30,899 bytesreferences/mcp-management-reference.mddoc · 38,469 bytesreferences/optimization-pattern-1-data-flow.mddoc · 4,696 bytesreferences/optimization-pattern-2-deterministic-logic.mddoc · 5,563 bytesreferences/optimization-pattern-3-reference-syntax.mddoc · 4,179 bytesreferences/optimization-pattern-4-escalation.mddoc · 2,300 bytesreferences/org-setup-for-adl.mddoc · 24,295 bytesreferences/patterns-by-requirement.mddoc · 5,509 bytesreferences/posture-and-determinism.mddoc · 9,525 bytesreferences/production-gotchas.mddoc · 12,883 bytesreferences/reference-map.mddoc · 5,470 bytesreferences/safety-review-reference.mddoc · 6,426 bytesreferences/salesforce-cli-for-agents.mddoc · 17,074 bytesreferences/scaffold-reference.mddoc · 6,884 bytesreferences/scoring-rubric.mddoc · 3,349 bytesreferences/upgrade-legacy-agent-to-agentscript.mddoc · 26,835 bytesreferences/version-history.mddoc · 4,500 bytesreferences/voice-latency-heuristics.mddoc · 9,951 bytesreferences/voice-modality-reference.mddoc · 19,456 bytesreferences/voice-telephony-cli.mddoc · 10,555 bytesreferences/zen-of-agentscript.mddoc · 13,399 bytesscripts/__init__.pyruns · 0 bytesscripts/agentscript-sdk-loader.mjsruns · 4,061 bytesscripts/discover.pyruns · 20,663 bytesscripts/generators/__init__.pyruns · 0 bytesscripts/generators/apex_stub.pyruns · 13,676 bytesscripts/generators/apex_test_stub.pyruns · 3,922 bytesscripts/generators/flow_xml.pyruns · 7,822 bytesscripts/generators/permission_set_xml.pyruns · 1,014 bytesscripts/generators/remote_site_xml.pyruns · 1,467 bytesscripts/index-agent.mjsruns · 3,893 bytesscripts/org_describe.pyruns · 5,928 bytesscripts/scaffold.pyruns · 15,432 bytesscripts/setup-agentscript-sdk.mjsruns · 9,908 bytesscripts/upgrade-legacy-nga-analyze.pyruns · 20,443 bytesscripts/upgrade-legacy-nga-run-trials.shruns · 3,485 bytes
Read excerpt
# Agent Script Skill
## What This Skill Is For
This skill is for developing Agentforce agents, primarily with Agent Script, Salesforce's scripting language for AI agents.
Org-backed workflows require an Agentforce license, API v66.0 or later, and an
Einstein Agent User. Static authoring and review can proceed without org access.
**CRITICAL:** Agent Script is NOT AppleScript, JavaScript, Python, or any other
language. Do NOT confuse Agent Script syntax or semantics with any other
language you have been trained on.
Agent Script agents are defined by `AiAuthoringBundle` metadata: an