Salesforce deployment validation and error recovery methodology. Use when deploying metadata, validating deployments, recovering from deployment errors, managing rollbacks, or planning deployment sequences. Provides comprehensive pre-deployment validation, error recovery patterns, and dependency ordering.
From opspal-salesforcenpx claudepluginhub revpalsfdc/opspal-commercial --plugin opspal-salesforceThis skill is limited to using the following tools:
dependency-order.mderror-recovery.mdpre-deploy-checklist.mdrollback-procedures.mdDesigns and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
| Gate | Validation | Prevents |
|---|---|---|
| Gate 0 | Comprehensive pre-deployment | 80% of failures |
| Gate 1 | Deployment source structure | Package.xml errors |
| Gate 2 | Flow XML validation | .CurrentItem syntax errors |
| Gate 3 | Field dependency analysis | Field deletion failures |
| Gate 4 | CSV data validation | Positional index errors |
| Gate 5 | Flow best practices | Governor limit issues |
| Gate 6 | OOO dependency enforcement | Runtime failures |
# Comprehensive validation (run before ALL deployments)
bash hooks/pre-deployment-comprehensive-validation.sh
# Specific validators
node scripts/lib/metadata-dependency-analyzer.js <org> <object> <field>
node scripts/lib/flow-xml-validator.js <flow-file.xml>
node scripts/lib/csv-parser-safe.js <file.csv> --strict
Based on reflection analysis of 81 deployment issues:
Always run before ANY deployment:
Five critical dependency rules:
After EVERY deployment:
See supporting files:
pre-deploy-checklist.md - Complete validation checklisterror-recovery.md - Common errors and fixesrollback-procedures.md - Rollback patternsdependency-order.md - Deployment sequencing