
Developing Agentforce
If you're building or debugging Agentforce agents with Agent Script, this skill keeps Claude grounded in the actual syntax and toolchain. It covers the full lifecycle: writing .agent files, generating backing logic, using the sf CLI with the right flags (always add --json), and reading session traces to diagnose why your agent routed to the wrong subagent or failed to invoke an action. The standout rule is "diagnose before you fix," which forces Claude to preview with live actions and read trace files before touching code. Agent Script shipped in 2025 with zero training data in any model, so without this skill Claude will hallucinate syntax from JavaScript or Python. Worth using if you're doing anything beyond basic Apex or Flow work.
- skills.sh installs
- 3.8K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill developing-agentforce --agent claude-codeInstalls into .claude/skills of the current project.
Files
If you're building or debugging Agentforce agents with Agent Script, this skill keeps Claude grounded in the actual syntax and toolchain. It covers the full lifecycle: writing .agent files, generating backing logic, using the sf CLI with the right flags (always add --json), and reading session traces to diagnose why your agent routed to the wrong subagent or failed to invoke an action. The standout rule is "diagnose before you fix," which forces Claude to preview with live actions and read trace files before touching code. Agent Script shipped in 2025 with zero training data in any model, so without this skill Claude will hallucinate syntax from JavaScript or Python. Worth using if you're doing anything beyond basic Apex or Flow work.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Testing & QA, DevOps & CI/CD, AI & Agent Building, Release Management, Debugging, Automation & Workflows, Sales & Marketing, Cloud & Infrastructure, CLI & Terminal
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Switching Org3.7K
- Generating Ui Bundle Metadata3.7K
- Building Ui Bundle App3.7K
- Building Ui Bundle Frontend3.7K
- Generating Ui Bundle Features3.7K
- Deploying Ui Bundle3.6K
- Generating Ui Bundle Site3.6K
- Testing Agentforce3.6K
- Observing Agentforce3.6K
- Uplifting Components To Slds23.6K
- Searching Media3.6K
- Using Ui Bundle Salesforce Data3.6K
- Implementing Ui Bundle File Upload3.5K
- Implementing Ui Bundle Agentforce Conversation Client3.5K
- Creating B2b Commerce Store3.3K
- Generating Lwc Components3.1K
- Querying Soql3K
- Debugging Apex Logs3K
- Deploying Metadata3K
- Fetching Salesforce Docs3K
- Running Apex Tests3K
- Handling Sf Data2.9K
- Building Sf Integrations2.9K
- Generating Mermaid Diagrams2.8K