Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
salesforce-deploy-integration【部署与运维】Deploy a Salesforce-connected application through immutable artifacts, environment binding, canary traffic, reconciliation, and rollback. Use when releasing adapter code. Trigger with "deploy a Salesforce integration".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Release customer-owned adapter code independently of Salesforce metadata while proving the target org, secrets, API contract, and business invariants.
Use Read, Glob, and Grep to inspect approved repository and evidence files, WebFetch to re-check current first-party Salesforce documentation, and Write or Edit only for secretless plans, fixtures, configuration, and redacted receipts.
A Salesforce-connected application may run on many compute platforms; Salesforce does not define one universal deployment target. The application must bind to the customer-approved org, OAuth app, API version, limits, schema, and event contract.
Inject only secret references through the target platform after environment approval. Never bake Salesforce tokens, keys, usernames, org IDs, or production domains into images, frontend bundles, build logs, or artifacts.
Do not deploy a different artifact, inject production secrets, route production traffic, run migrations, or expand a canary without named approval.
Return artifact and environment identity, configuration contract, sandbox proof, canary plan, deployment IDs, signals, reconciliation, rollback status, and owners.
| Condition | Response |
|---|---|
| Artifact or configuration digest changed | Stop promotion and rebuild the review evidence for the new candidate. |
| Application connects to the wrong org | Cut traffic, revoke credentials, assess data exposure, and invoke incident response. |
| Salesforce limit margin drops below the approved stop signal | Pause intake and reconcile queued work before resuming. |
A redacted completion receipt might look like this:
artifact=sha256-recorded; target=production; org=matched; canary=5-percent; signals=healthy; reconciled=yes; rollback=ready
Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.