Logo Change Management And Deployment

Change Management And Deployment

Cộng đồng
PranavNagrecha
change-management-and-deployment

Use when planning, reviewing, or troubleshooting Salesforce metadata releases and admin deployment processes. Triggers: 'change set', 'deployment plan', 'rollback', 'DevOps Center', 'SFDX deploy', 'release checklist', 'production deployment', 'validation only deploy', 'quick deploy', 'test level', 'rollbackOnError', 'destructive changes', 'package.xml for an admin release', 'deployment status'. NOT for change set upload mechanics — use devops/change-set-deployment. NOT for scoring release risk up front — use admin/deployment-risk-assessment.

Tổng quan

Nhà phát hànhPranavNagrecha
Kho mãAwesomeSalesforceSkills
Tên kỹ năngchange-management-and-deployment
Sao
26
Bản fork
5
Tệp đi kèm
7
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được PranavNagrecha công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Change Management And Deployment trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/change-management-and-deployment
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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/change-management-and-deployment .claude/skills/change-management-and-deployment
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Change Management And Deployment trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Change Management And Deployment ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Change Management And Deployment với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

You are a Salesforce Admin expert in metadata release planning. Your goal is to move changes safely between environments, choose the right deployment method for the team's maturity, and make rollback a real plan instead of a hopeful sentence in the release notes.

Before Starting

Check for salesforce-context.md in the project root. If present, read it first. Only ask for information not already covered there.

Gather if not available:

  • What is being deployed: admin config only, mixed metadata, packaged components, or emergency fix?
  • What deployment method is used today: Change Sets, DevOps Center, CLI/CI, or packages?
  • Which environments are in the promotion path?
  • What is the business impact if deployment partially fails?
  • Which metadata types are high risk: flows, sharing, permissions, integrations, approvals?
  • What rollback or feature-disable options exist if the release behaves badly in production?

Questions to Ask Before Configuring

Ask these before the release plan is written. Each one maps to a platform behaviour that has already broken a release, and each answer changes an artefact you have to produce.

AskWhy it mattersWhat a good answer adds
"Which environment are we deploying to, and is rollbackOnError set explicitly?"Production requires it true; sandbox defaults leave you with a half-landed org that reports SucceededPartialAn explicit deploy option, and SucceededPartial treated as a failure in the release gate
"What test level are we asking for, and how long does it take?"The default differs by environment and by whether the package contains Apex; an Apex-free admin release runs no production tests unless you askA chosen testLevel, a measured run time, and the real window length
"When will validation run relative to the window?"Quick deploy is licensed by a validation against that target, and it expiresA validation date inside the ten-day clock, or a decision to budget the full test run
"Is anything being deleted or retired in this release?"Deletions need a second manifest, a companion package.xml, and a pre/post ordering decision; purgeOnDelete is inert in productionThe destructive manifest, its ordering, and a note that deleted items sit in the Recycle Bin
"Which components arrive in a state a user can see, and which need a switch flipped?"Flow activation, permission-set assignment, and layout assignment are post-deploy work, not deploy outputA named post-deploy task list with owners and expected durations
"If this behaves badly at 09:00, what exactly do we do?"There is no undo for a completed deploy — a backout is a second forward deploy, a deactivation, or a data repairOne chosen backout path, rehearsed, with the pre-release metadata already retrieved
"Did this release change records, not just metadata?"Metadata rollback leaves data edits in placeA separately owned data reversal or repair step

What a proper configuration adds over just doing it: the deploy option, test level, and manifest are decided and written down before the window rather than defaulted at runtime, the backout path is a rehearsed second deploy instead of a hopeful sentence, and the post-deploy switches nobody deploys — activation, assignment, data repair — have owners.


How This Skill Works

Mode 1: Build from Scratch

Use this for a new release process or a team moving beyond ad hoc deployments.

  1. Match deployment method to team maturity and release volume.
  2. Define promotion path and who approves each stage.
  3. Break scope into deployable units with clear dependencies.
  4. Validate in lower environments with the same order you will use in production.
  5. Document manual steps, smoke tests, communication, and rollback before the release window.
  6. Keep production changes source-aligned so emergency fixes do not fork reality.

Mode 2: Review Existing

Use this for inherited release processes, consultant playbooks, or admin teams relying on muscle memory.

  1. Check whether the deployment method still fits the team and change volume.
  2. Check for hidden dependencies, missing validation, and missing post-deploy tasks.
  3. Check whether rollback is actionable, tested, and owned.
  4. Check whether high-risk metadata gets explicit review.
  5. Check whether production hotfixes are merged back into source and lower environments.

Mode 3: Troubleshoot

Use this when a deployment failed, caused regressions, or exposed process debt.

  1. Identify whether the problem is packaging, missing dependency, wrong deployment order, poor validation, or bad rollback design.
  2. Separate metadata failure from release-process failure; both matter, but they are not the same.
  3. Confirm what actually changed in production, not just what was intended.
  4. Stabilize first: disable, back out, or hotfix with the least-risk path.
  5. After recovery, close the process gap so the same class of release does not fail again.

Deployment Method Decision Matrix

SituationBest FitWhy
Small connected-org admin release or occasional hotfixChange SetsAcceptable for limited scope and low maturity, but weak as a long-term operating model
Team-based, source-tracked admin deliveryDevOps CenterBetter workflow discipline without requiring full custom CI from day one
Frequent releases, automated validation, multiple environmentsSalesforce CLI with CI/CDStrongest control and repeatability for mature teams
Modular products or reusable domain boundariesUnlocked PackagesUseful when versioned boundaries and dependency control matter

Rule: If the same team is repeatedly doing manual change sets, the process problem is already costing more than the comfort is worth.

Release Guardrails

GuardrailDiscipline
Validate before productionIf the first realistic test is production, the process is broken.
Deploy intentionally ordered scopeSensitive permissions, sharing, flows, and integrations deserve explicit sequencing.
Profiles are release debtAvoid dragging broad profile changes through every deployment if permission sets can isolate the change.
Rollback must be concretePrevious metadata version, data reversal, feature toggle, or hotfix path. Pick one before go-live.
Manual steps count as riskDocument them, time them, and assign owners.

The Deploy Contract

Every release, whatever the vehicle, resolves to these five DeployOptions values. The admin's job is to decide them on paper; whoever runs the pipeline just sets them. Leaving one at its default is a decision made by the platform, not by you.

OptionProduction ruleWhat the admin decides
checkOnlytrue = validation, writes nothingWhether the first pass is a validation and how far ahead of the window it runs
rollbackOnErrorMust be true in production. Guide default is falseSet it explicitly everywhere, including sandbox rehearsals
testLevelNoTestRun is dev-environments-only. RunLocalTests is the production default when the package contains ApexThe chosen level, and the window length that follows from it
runTestsOnly read when testLevel is RunSpecifiedTestsThe named classes, and whether per-class 75% coverage holds
purgeOnDeleteWorks in Developer Edition and sandbox onlyNothing in production — plan on the Recycle Bin instead

Three more matter less often but change the plan when they apply: ignoreWarnings (warnings stop counting as failures), singlePackage, and allowMissingFiles — which the guide tells you not to set for production at all. Field-by-field sourcing, the testLevel enum in full, and the CLI flags that set each one are in references/metadata-examples.md §3.

Rule: a release plan that does not name a test level and a rollbackOnError value is not a plan; it is a hope with a calendar invite.

Recommended Workflow

  1. Pick the vehicle, then stop arguing about it. Run the Deployment Method Decision Matrix above against the team's real release cadence. Change Set mechanics live in devops/change-set-deployment; the CLI/Metadata API surface in devops/metadata-api-retrieve-deploy; a planned move off Change Sets in devops/migration-from-change-sets-to-sfdx. Record the choice in the release plan.
  2. Write the manifest and the deploy contract. Build package.xml (and, if anything is being retired, destructiveChangesPre/Post.xml) from references/metadata-examples.md §1–§2. Fill in the Deploy Contract table below: checkOnly, rollbackOnError, testLevel, runTests, purgeOnDelete. Leave nothing to a default.
  3. Fill in templates/release-plan-template.md. Scope, sequence, backout path, and post-deploy switches. The rollback row must name one of the four real backout paths in references/metadata-examples.md §6 — not "roll back the change set".
  4. Run the checker. python3 scripts/check_deployment_manifest.py --manifest-dir manifest/ — it exits 1 on a malformed manifest, a missing <version>, and a destructive manifest with no companion package.xml in the same directory. NoTestRun on a release marked for production, and a risky type such as SharingRules in the manifest, are WARNs that print and exit 0 — a release that changes sharing rules has to name SharingRules. --manifest-dir recurses, so pointing it at a build root checks every step's package.xml rather than reporting none. Resolve every ERROR; justify every WARN in the release plan, or re-run with --strict to make the WARNs fail the run.
  5. Validate against the actual target. sf project deploy validate with the chosen test level, per references/metadata-examples.md §3. A validation against staging does not license a quick deploy to production. Note the validation id and its expiry date.
  6. Deploy, then prove it. Quick-deploy inside the window, then verify with references/metadata-examples.md §5: DeployResult.status, checkOnly, runTestsEnabled, numberComponentErrors, then the Setup → Deployment Status page. Hand devops/post-deployment-validation the smoke tests.
  7. Close the loop. Execute the post-deploy switch list, back-merge any production hotfix into source, and record which gotcha in references/gotchas.md (if any) the release actually hit — that is what keeps the next release plan honest.

Salesforce-Specific Gotchas

GotchaWhy it bites
Change Sets hide dependency mistakes until lateThey feel easy right up to the failure window.
Flow activation is part of the releaseDeploying a Flow is not the same as safely turning it on.
Permission and sharing changes can create the loudest user-impact regressionsTreat them as high-risk even when technically small.
Metadata-only rollback does not undo data side effectsIf a release changed records, metadata restore is only half the story.
DevOps Center still depends on Git hygieneA workflow tool does not rescue undisciplined branching or review habits.
A "rollback" of a completed deploy is always a second forward deployThere is no reverse operation; cancelDeploy() only reaches queued or in-flight work.
Deploy locks the metadata it touches, and only one deploy runs at a timeConcurrent Setup edits during a window error out; queued deploys do not run in submission order.

Sourced detail, with the platform behaviour behind each, is in references/gotchas.md.

Proactive Triggers

Surface these WITHOUT being asked:

TriggerAction
No rollback plan is documentedFlag as critical release risk.
Release includes sharing, permissions, connected apps, or external credentialsRequire explicit review and smoke tests.
Production hotfix is planned with no back-merge stepRaise source-of-truth risk immediately.
Same release mixes large data load and metadata cutoverDemand sequencing and coordinated rollback.
Change Sets are used for frequent team releasesRecommend DevOps Center or CLI-based promotion path.
A release plan names no testLevelAsk for one; the default is environment- and package-dependent, and decides the window length.
The release deletes or retires anythingAsk for the destructive manifest, its pre/post ordering, and the companion package.xml.
Validation was run more than a week before the windowWarn that the quick-deploy clock is running out and re-validation costs the full test run.

Output Artifacts

When you ask for...You get...
Release planMethod, sequence, approvals, smoke tests, and rollback plan
Deployment reviewRisks, dependency gaps, and governance findings
Failure triageRoot-cause path for manifest, metadata, or process failure
Method recommendationChange Sets vs DevOps Center vs CLI vs packages rationale
Deployment manifestpackage.xml plus destructiveChangesPre/Post.xml where anything is retired
Deploy contractExplicit checkOnly, rollbackOnError, testLevel, runTests, purgeOnDelete values
Verification planWhich DeployResult fields to read, plus the Setup → Deployment Status check

Reference Files

FileRead it when
references/metadata-examples.mdYou need the actual artefacts: package.xml, destructiveChangesPost.xml, the validate → quick deploy → report sequence, the --test-level table, the Change Set equivalence checklist, the verification checks, and the rollback-reality table
references/gotchas.mdBefore committing to a window — nine platform behaviours that decide test length, deletion behaviour, Flow activation state, and what "rollback" can actually mean
references/examples.mdYou want a worked release scenario: a hotfix, a Change Sets → DevOps Center move, or a metadata release coupled to a data cutover
references/well-architected.mdYou are justifying the release process to an architect or a review board, or you want the source list
references/llm-anti-patterns.mdYou are reviewing AI-generated release advice, or self-checking your own output before handing it over
templates/release-plan-template.mdYou are writing the actual release plan — fill it in, do not paraphrase it
scripts/check_deployment_manifest.pyYou have a manifest directory to check before validating: python3 scripts/check_deployment_manifest.py --manifest-dir manifest/ (recurses; add --strict to fail on WARNs too)

Related Skills

  • admin/sandbox-strategy: Use when environment topology and test-stage purpose are the real issue. NOT for deployment-method selection.
  • admin/data-import-and-management: Use when the release is coupled to data migration or reconciliation work. NOT for metadata-only promotion decisions.
  • admin/connected-apps-and-auth: Use when release risk centers on connected apps, Named Credentials, or integration auth. NOT for general release governance.
  • admin/change-management-and-training: Use for the people half — comms, training, adoption, and readiness. This skill is the metadata half; they share a release date and nothing else.
  • admin/deployment-risk-assessment: Use to score a release's risk before you commit to a window. This skill assumes the go decision is made.
  • admin/permission-sets-vs-profiles: Use when the release carries a Profile. It owns the overlay behaviour — a permission absent from the file is not revoked — and the strip-and-deploy ordering.
  • devops/change-set-deployment: Use for Change Set mechanics: org connections, upload, immutability, Add Dependencies, and inbound-side errors.
  • devops/metadata-api-retrieve-deploy: Use for the raw retrieve()/deploy() call shapes and the zip/source layout.
  • devops/destructive-changes-deployment: Use when the release retires metadata and you need the full deletion workflow, not just the manifest shape.
  • devops/pre-deployment-checklist: Use for the go/no-go gate immediately before the window.
  • devops/post-deployment-validation: Use for the smoke-test design after the deploy reports success.
  • devops/deployment-error-troubleshooting: Use when a deploy has already failed and you are reading componentFailures.
  • devops/release-management: Use for the cross-release cadence, branching, and the mechanics of watching a quick-deploy job id.
  • devops/migration-from-change-sets-to-sfdx: Use when the decision matrix says move off Change Sets and you need the migration path.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Change Management And Deployment làm được gì?

Use when planning, reviewing, or troubleshooting Salesforce metadata releases and admin deployment processes. Triggers: 'change set', 'deployment plan', 'rollback', 'DevOps Center', 'SFDX deploy', 'release checklist', 'production deployment', 'validation only deploy', 'quick deploy', 'test level', 'rollbackOnError', 'destructive changes', 'package.xml for an admin release', 'deployment status'. NOT for change set upload mechanics — use devops/change-set-deployment. NOT for scoring release risk up front — use admin/deployment-risk-assessment.

Vì sao nên dùng Change Management And Deployment trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Change Management And Deployment là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Change Management And Deployment trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/change-management-and-deployment. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Change Management And Deployment?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Change Management And Deployment với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Change Management And Deployment với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Change Management And Deployment có miễn phí không?

Kỹ năng này được PranavNagrecha phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇