Salesforce apex
Skill aquivalabs/aidan-user-claude/skills/aidan-salesforce-skills/skills/salesforce-apex
Provides Apex development workflow including static analysis and testing steps. Use before writing Apex classes or triggersFrom its SKILL.md
npx -y skills add aquivalabs/aidan-user-claude --skill salesforce-apexAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, as published. Nobody here has run it
Workflow
-
Read project config — Get
sourceApiVersionfromsfdx-project.jsonfor all new-meta.xmlfiles. -
Write the Apex code
-
Check IDE diagnostics — Use
mcp__ide__getDiagnosticson new files. Fix errors and warnings before proceeding. -
Static analysis — Run
sf code-analyzeron the new or changed.clsand.triggerfiles. Review its output and fix violations before proceeding. -
Write tests — Create test classes following test-guidance.md.
-
Deploy code and tests Let source tracking which files to deploy
sf project deploy start -
Run tests in org
sf apex run test --class-names <TestClassName> --result-format human --wait 10
The task is complete when tests pass in the org.