forcedotcom avatar

Deploying Metadata

This is the skill you want when you're running `sf project deploy` commands, validating packages, or setting up CI/CD pipelines for Salesforce. It covers the full deployment workflow: dry runs, manifest-based deploys, quick deploys after validation, and troubleshooting dependency errors. The docs are thorough on deploy ordering (objects before permission sets before Apex before Flows) and include failure pattern tables that map errors like `INVALID_CROSS_REFERENCE_KEY` to root causes. It explicitly delegates to other skills for authoring work, so if you're writing Apex or building LWCs, look elsewhere. The CI/CD guidance is practical, including test level selection and the shift from deprecated `sf scanner` to Code Analyzer v5. Strong reference section with orchestration playbooks and agent deployment sequencing.

skills.sh installs
534
GitHub stars
705
last updated
Jul 14, 2026

Install

$ npx -y skills add forcedotcom/afv-library --skill deploying-metadata --agent claude-code

Installs into .claude/skills of the current project.

Files

This is the skill you want when you're running `sf project deploy` commands, validating packages, or setting up CI/CD pipelines for Salesforce. It covers the full deployment workflow: dry runs, manifest-based deploys, quick deploys after validation, and troubleshooting dependency errors. The docs are thorough on deploy ordering (objects before permission sets before Apex before Flows) and include failure pattern tables that map errors like `INVALID_CROSS_REFERENCE_KEY` to root causes. It explicitly delegates to other skills for authoring work, so if you're writing Apex or building LWCs, look elsewhere. The CI/CD guidance is practical, including test level selection and the shift from deprecated `sf scanner` to Code Analyzer v5. Strong reference section with orchestration playbooks and agent deployment sequencing.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/forcedotcom/afv-library
First seen
Jun 3, 2026

More from forcedotcom/afv-library

All 58

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs