Logo : Deployment Risk Assessment

Deployment Risk Assessment

Communauté
PranavNagrecha
deployment-risk-assessment

Use when a practitioner needs to classify the risk level of an upcoming Salesforce deployment, define rollback trigger conditions, or assign decision authority before the release window opens. Triggers: 'how risky is this release', 'what needs rollback planning', 'classify deployment risk', 'pre-deployment risk checklist', 'rollback decision authority', 'high risk metadata types'. NOT for executing the deployment itself, writing CI/CD pipeline code, or troubleshooting failures after a deployment has already run — use admin/change-management-and-deployment for execution planning and devops/deployment-error-troubleshooting for post-failure diagnosis.

Présentation

ÉditeurPranavNagrecha
DépôtAwesomeSalesforceSkills
Nom de la compétencedeployment-risk-assessment
Étoiles
26
Forks
5
Fichiers inclus
6
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 6

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par PranavNagrecha sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Deployment Risk Assessment dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/deployment-risk-assessment
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/deployment-risk-assessment .claude/skills/deployment-risk-assessment
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Deployment Risk Assessment dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Deployment Risk Assessment dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Deployment Risk Assessment n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Deployment Risk Assessment

Use this skill to classify deployment risk by component before a release window opens, define rollback trigger conditions in writing, and assign decision authority so that rollback calls are made on pre-agreed criteria rather than improvised under pressure.


Before Starting

Gather this context before working on anything in this domain:

  • Release scope: What metadata types are included? Permissions, flows, integrations, and sharing rules carry higher inherent risk than layout and list view changes.
  • Deployment method: Unlocked packages support version-based rollback by redeploying the previous version. Change Sets and CLI-based org deploys have no native undo — rollback requires a pre-retrieve backup or a manually authored destructive change.
  • Validation evidence: Which sandboxes ran a full deployment validation, and did they match the production metadata state at validation time?
  • Business window: When does the deployment open, how long is the window, and what is the tolerance for staying in a broken state?
  • Decision authority: Who has go/no-go authority, who can call rollback, and how are they reachable during off-hours releases?

Core Concepts

The Three Failure Domains

The Salesforce Well-Architected framework frames deployment risk across three failure domains:

  1. People — Missing decision authority, unclear escalation paths, or a team unfamiliar with the rollback procedure under time pressure.
  2. Process — No documented rollback trigger conditions, skipping lower-environment validation, or merging unrelated changes into a single release with no decomposition.
  3. Technology — Metadata dependencies not resolved before deployment, missing pre-retrieve backup, or relying on the Salesforce UI for a rollback mechanism that does not exist.

Risk classification must address all three domains. A release that looks technically simple can be high-risk on the people dimension if the release manager is unavailable and no alternate decision-maker is named.

Release Mechanism Risk Ranking

Salesforce release mechanisms differ significantly in their rollback fidelity:

MechanismRollback PathRollback Speed
Unlocked PackageRedeploy prior package versionFast — version is pre-built
2GP Managed PackageInstall prior version from package storeMedium — package store required
SFDX / CLI org deployRe-deploy prior metadata from source controlMedium — requires clean pre-retrieve
DevOps CenterRe-deploy prior pipeline stage via UIMedium — depends on pipeline history
Change SetRe-deploy a manually constructed reverse setSlow — must be built manually
In-org config onlyManual undo in SetupSlowest — no deployment artifact exists

Unlocked packages offer the most rollback-friendly path through versioning. Change Sets and direct org config changes have no native undo — rollback is always a re-deploy of the prior state, not a platform-provided undo button.

Risk Classification Criteria

Classify each component HIGH, MEDIUM, or LOW before the release window opens:

HIGH risk indicators (any one sufficient):

  • Metadata type affects security, sharing, or access: PermissionSet, Profile, SharingRule, ConnectedApp, AuthProvider, ExternalCredential
  • Metadata has org-wide behavioral impact: Flow on high-volume objects, ApexTrigger on high-volume objects, CustomSetting used by integrations
  • No lower-environment validation evidence exists at current production metadata state
  • Component cannot be disabled without redeploying — no feature flag or custom permission gate
  • Rollback requires destructive change metadata that has not been authored and tested in advance

MEDIUM risk indicators:

  • Flow, Process Builder, or approval process with moderate transaction volume
  • Integration endpoint URL or named credential change
  • Custom metadata type value changes that affect runtime behavior
  • New Apex class or trigger with no prior production surface

LOW risk indicators:

  • UI-only changes: page layouts, list views, compact layouts, reports, dashboards
  • New custom field with no automation or trigger dependency
  • Email template or letterhead changes

Rollback as a Pre-Agreed Procedure

Rollback conditions must be defined before the release window, not decided during one. A rollback plan that says "roll back if something breaks" is not actionable. A valid rollback plan specifies:

  • Exact observable trigger conditions (error rate exceeds a defined threshold, a specific Apex exception fires in production, integration response latency exceeds a defined limit)
  • Who has authority to call rollback (named individual plus named alternate)
  • How long the team will monitor before declaring the release stable
  • The exact rollback procedure steps and estimated execution time

Common Patterns

Pre-Release Risk Classification Table

When to use: Any release containing more than one metadata component or any HIGH-risk component type.

How it works: Before the release window, build a table with one row per component group. Score each row across five dimensions: metadata type risk, validation coverage, rollback complexity, business impact, and people readiness. Sum the dimension scores to produce an overall release risk level.

Why not the alternative: Informal team review without a structured table produces inconsistent results — experienced engineers classify intuitively while newer contributors underestimate risk. A table forces explicit scoring and surfaces gaps before the window opens.

Rollback Runbook

When to use: Any HIGH or MEDIUM release that deploys to production.

How it works: Author the rollback runbook as part of release preparation, not as an afterthought. The runbook includes: the pre-retrieve backup path for org-based deploys, the package version to reinstall for packaged releases, the exact CLI command or UI steps, the expected execution time, and the post-rollback smoke test.

Why not the alternative: Improvising rollback steps during a production incident is the primary cause of rollback failures. The team is under time pressure, may be missing key personnel, and the environment state may differ from what was expected.

Feature Flag Gate for HIGH-Risk Components

When to use: A HIGH-risk behavioral change (new Flow logic, Apex trigger change, integration routing) needs to be deployed but activation timing is uncertain.

How it works: Deploy the change behind a Custom Permission or Custom Metadata Type flag. The component is present in the org but inactive. Activation happens through a separate, lower-risk metadata update (changing a Custom Metadata record) that can be reverted without a full re-deploy.

Why not the alternative: Deploying and activating simultaneously collapses the deployment risk and the activation risk into a single event. Separating deployment from activation allows rollback of activation without touching the deployment artifact.


Decision Guidance

SituationRecommended ApproachReason
Release contains PermissionSet or Profile changesClassify HIGH; require full sandbox validation at current prod metadata stateSecurity metadata errors may silently over-share or under-share access
No pre-retrieve backup exists before the windowRequire backup before proceeding or reclassify deployment method risk as HIGHOrg-based rollback requires prior state capture — no platform undo exists
Rollback authority is unclear or person is unavailableBlock release until named alternate is confirmed and reachableRollback without authority wastes time; no authorized caller means longer outage
Release uses unlocked packageRecord the prior package version number; confirm subscriber org can receive an older versionVersion-based rollback is the fastest path but still requires a deliberate install action
Multiple unrelated features are bundledRecommend decomposing into separate deployments or documenting per-feature rollback stepsBundled releases cannot be partially rolled back; a defect in one feature forces rollback of all
Component has no feature flag or disable pathRequire destructive change metadata to be authored and tested before the window opensHIGH-risk components with no disable path make rollback expensive and slow

Recommended Workflow

Step-by-step instructions for an AI agent or practitioner working on this task:

  1. Gather release scope and method — Collect the complete component list, the deployment method, and the environments in the promotion path. Confirm which sandboxes ran full deployment validation and whether each sandbox matched production metadata at validation time.

  2. Classify each component — Apply the HIGH / MEDIUM / LOW criteria to every component in the release. Document the classification and the specific risk indicator that drove the rating. Flag any component whose classification cannot be confirmed due to missing information.

  3. Identify rollback assets — For org-based deployments, confirm a pre-retrieve backup was taken before the window. For packaged releases, note the prior version number. For any HIGH-risk component, confirm whether a destructive change file or feature flag disable path exists.

  4. Author the rollback plan — Write explicit trigger conditions (observable and measurable), name the decision authority and alternate, and document the exact rollback procedure with estimated time. Do not accept "roll back if something is broken" as a trigger condition.

  5. Confirm people readiness — Verify that the release manager, rollback authority, and technical executor are available for the full release window and the monitoring period afterward. Document alternates for each role.

  6. Produce the go/no-go checklist — Summarize the risk level, outstanding gaps, rollback plan status, and people readiness. Require explicit sign-off before the window opens.


Review Checklist

Run through these before marking work in this area complete:

  • Every component in the release scope has a HIGH / MEDIUM / LOW classification with documented rationale
  • Rollback trigger conditions are observable and measurable, not subjective
  • Rollback decision authority is named as an individual plus alternate, not a role or team
  • Rollback procedure is documented with estimated execution time and post-rollback smoke test
  • For org-based deployments: pre-retrieve backup confirmed before the window opens
  • For packaged deployments: prior package version number is recorded and accessible
  • Any HIGH-risk component without a feature flag has a tested destructive change file prepared
  • All required personnel are confirmed reachable for the release window and monitoring period

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. No native rollback or undo button exists in Salesforce Setup — There is no "undo deployment" feature in the platform. When a component is deployed it overwrites the prior state. Rollback is always a deliberate re-deployment of the prior version, destructive change, or package install. This is one of the most common false assumptions practitioners and LLMs make about the platform.

  2. Change Set rollback requires manually building the reverse set — Unlike source-controlled CLI deployments, Change Sets do not retain the prior metadata state. If a Change Set deployment must be rolled back, a practitioner must manually construct a new Change Set containing the prior version of each affected component — which requires the prior version to have been captured before deployment.

  3. Unlocked package rollback restores metadata but not data side effects — Redeploying a prior unlocked package version restores code and configuration but does not revert data changes made by the newer version such as field population or records created by new automation. Rollback of packaged releases must account for data side effects separately.


Output Artifacts

ArtifactDescription
Risk-classified component inventoryTable of all release components with HIGH / MEDIUM / LOW rating and the specific risk indicator driving each rating
Rollback planObservable trigger conditions, named decision authority and alternate, exact rollback steps, estimated execution time, and post-rollback smoke test
Pre-deployment checklistPeople, process, and technology readiness gates to pass before the window opens
Go/no-go summaryOne-page release readiness summary for release manager sign-off

Related Skills

  • change-management-and-deployment — Use for selecting the deployment method, building the release plan, and executing the deployment; this skill focuses on pre-deployment risk classification
  • devops/deployment-monitoring — Use to monitor deployment execution and detect failure signals in real time after the window opens
  • devops/deployment-error-troubleshooting — Use when a deployment has already failed and root cause diagnosis is needed
  • devops/environment-strategy — Use to evaluate whether the promotion path provides sufficient risk isolation before classification begins
  • admin/devops-process-documentation — Use to document the full release process including the risk assessment procedure for repeatable team execution

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Deployment Risk Assessment ?

Use when a practitioner needs to classify the risk level of an upcoming Salesforce deployment, define rollback trigger conditions, or assign decision authority before the release window opens. Triggers: 'how risky is this release', 'what needs rollback planning', 'classify deployment risk', 'pre-deployment risk checklist', 'rollback decision authority', 'high risk metadata types'. NOT for executing the deployment itself, writing CI/CD pipeline code, or troubleshooting failures after a deployment has already run — use admin/change-management-and-deployment for execution planning and devops/d...

Pourquoi utiliser Deployment Risk Assessment sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Deployment Risk Assessment se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Deployment Risk Assessment dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/deployment-risk-assessment. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Deployment Risk Assessment ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Deployment Risk Assessment ?

Autant que vous le souhaitez. Vous pouvez utiliser Deployment Risk Assessment avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Deployment Risk Assessment est-elle gratuite ?

Cette compétence est publiée sur GitHub par PranavNagrecha. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇