deploying-webapp-to-salesforce
Installation
SKILL.md
Deploying to Salesforce
Guidance for AI agents deploying metadata to a Salesforce org or syncing with the org. The order of operations is critical. This skill codifies the exact sequence from scripts/setup-cli.mjs and documents every Salesforce interaction.
When to Use
Invoke this skill whenever the task involves:
- Deploying metadata (objects, permission sets, layouts, Apex, web applications)
- Generating deploy commands or setup instructions
- Fetching the GraphQL schema (
npm run graphql:schema) - Running GraphQL codegen (
npm run graphql:codegen) - Full org setup (login, deploy, permset, data, schema, build)
- Any manual step that touches the Salesforce org
Canonical Sequence (from setup-cli.mjs)
Execute steps in this exact order. Steps marked (SF) perform a Salesforce API or CLI interaction.