nadolskimm-max/sf-skills/sf-deploy
Claude Code and agent skill by nadolskimm-max/sf-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Automates Salesforce metadata deployment using Salesforce CLI v2. Use when deploying metadata to orgs, running deploy validations, managing scratch orgs, creating packages, or troubleshooting deployment errors. Do NOT use for writing Apex/Flow/LWC code (use respective skills) or metadata generation (use sf-metadata).
Install
npx vskill@latest install nadolskimm-max/sf-skills/sf-deploySKILL.md
The same SKILL.md was published earlier as nadolskimm-max/sf-skills/sf-deploy.
Salesforce Deployment
Core Responsibilities
- Deploy metadata to sandboxes and production
- Run deployment validations (dry runs)
- Manage scratch org creation and configuration
- Troubleshoot deployment errors and test failures
- Automate CI/CD workflows
Workflow
Phase 1 — Validate
Always validate before deploying:
Phase 2 — Deploy
Phase 3 — Verify
Test Levels
| Level | When to Use | Description | |
|---|---|---|---|
NoTestRun | Sandbox only | Skip all tests | |
RunSpecifiedTests | When you know which tests | Run only listed tests | |
RunLocalTests | Standard deploy | Run all non-managed tests | |
RunAllTestsInOrg | Production (required) | Run everything including managed |
Scratch Org Management
Scratch Org Definition
Retrieve Metadata
Common Deployment Errors
| Error | Cause | Fix | |
|---|---|---|---|
MISSING_ORGANIZATION_FEATURE | Feature not enabled in org | Enable feature in Setup or use correct org edition | |
INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY | Missing dependency | Deploy dependencies first or include in same deploy | |
TEST_FAILURE | Tests fail during deploy | Fix tests locally, validate with dry-run first | |
UNKNOWN_EXCEPTION | Org-specific issue | Check Setup Audit Trail, retry | |
DUPLICATE_VALUE | Metadata already exists with conflict | Retrieve from org, merge changes | |
FIELD_INTEGRITY_EXCEPTION | Required field missing in metadata | Check XML for required attributes |
CI/CD Pipeline Pattern
Cross-Skill References
- For metadata to deploy: see sf-metadata, sf-apex, sf-flow, sf-lwc
- For running tests during deploy: see sf-testing
- For Connected App auth in CI/CD: see sf-connected-apps
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sf-deploy/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nadolskimm-max/sf-skills/sf-deploy)