技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
salesforce-local-dev-loop【数据与研究】Build a repeatable Salesforce DX development loop using source format, synthetic tests, and an authorized scratch org or sandbox. Use when changing metadata or integration code. Trigger with "build a Salesforce dev loop".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create a source-driven loop that separates static and synthetic checks from explicitly authorized org validation and leaves no unmanaged test data.
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.
Salesforce DX supports source-driven development and scratch orgs configured through project definitions; org availability, features, limits, duration, namespaces, and sandbox alternatives depend on the customer environment.
Use a named CLI alias backed by the approved OAuth path. Never commit authorization files, access tokens, private keys, usernames, org IDs, or generated user passwords.
Do not create orgs, enable features, deploy metadata, load data, or change remote configuration without Dev Hub, admin, and component-owner approval.
Return the environment decision, pinned toolchain, source and fixture map, local and org test results, cleanup receipt, and remaining fidelity gaps.
| Condition | Response |
|---|---|
| Scratch-org feature does not match production | Use an approved sandbox or revise the definition; do not weaken production metadata. |
| Deployment reports missing dependencies | Add the dependency explicitly or reduce the source set before retrying. |
| Test data cannot be proven synthetic | Stop and replace it before local export or CI use. |
A redacted completion receipt might look like this:
project=sfdx; target=scratch-org; fixtures=synthetic; static=pass; deploy=validated; apex=pass; cleanup=complete
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.