A design-first development lifecycle for building Agentforce agents on Salesforce using coding assistants like Claude Code or Codex paired with Agent Skills. The workflow covers installing Agent Skills from the open-source Salesforce Skills Library, scaffolding a project, using plan mode and a structured interview prompt to design before building, generating and deploying metadata with an automated fix-and-retry loop, validating and testing via smoke tests and YAML-based batch test specs, and debugging with local and production traces. Key practices include never giving agents production access, scoping deploys explicitly, and committing Agent Script to source control.

15m read timeFrom developer.salesforce.com
Post cover image
Table of contents
Teach your coding agent Salesforce with Agent SkillsScaffold the project and connect your orgDesign before you buildGenerate, deploy, and let the agent fix and retryValidate, then test in two modesPublish and activate your agentDebug with traces, not guessworkExtend the lifecycle with custom agent skillsThe agentic development lifecycle: RecapResourcesAbout the author
278 Impressions1 Comment