Loading...
Loading...
Validate Life Sciences Cloud for Customer Engagement org prerequisites. Use when an admin needs to verify that all required settings, permissions, OWD sharing rules, and feature toggles are correctly configured before deploying Life Sciences Cloud. Checks user profile, permission sets, Life Sciences CE settings, surveys, OWD, inventory, account plans, care plans, Chatter, data protection, multi-currency, state/country picklists, and person accounts. Reports pass/fail for each check with remediation steps. TRIGGER when: user says 'check prerequisites', 'verify org setup for Life Sciences', 'LSC readiness check', 'pre-requisites for Life Sciences Cloud', 'validate org for LSC'. DO NOT TRIGGER when: user wants to automatically enable or configure these settings, or when the user asks for the full end-to-end Life Sciences Cloud setup / orchestration (that is the `life-sciences-fieldsalesrep-coordinate` orchestrator's job — this skill runs only as a standalone prerequisites check).
npx skill4agent add forcedotcom/sf-skills life-sciences-prerequisites-validatesflife-sciences-territory-configurelife-sciences-fieldsalesrep-coordinatesf config get target-orgsf org display --target-org <org>references/checks-user-and-package.mdreferences/checks-org-settings.mdSTOP-GATE (report completeness). Every check MUST produce a row in the final report — a check that errors (e.g. Multi-Currency returns HTTP 400, or an object isn't deployed) is a FAIL row, never a skipped/omitted row or a reason to abort the run. The report's row count MUST equal the full scored-check count (12 categories, Check 1 – Check 12). The one intended early exit is the managed-package gate (the un-numberedINVALID_TYPEpackage check, step 4 below) — that legitimately stops the run with the "BLOCKED" message. In every other case, a query error is the FAIL signal: record it and continue. Do NOT let a single 4xx or unexpected-shape response silently drop a row or halt the sweep — a short report reads as "fewer things to fix" when the truth is "we didn't check."lsc4ce
references/checks-user-and-package.mdreferences/checks-user-and-package.mdlsc4cereferences/checks-user-and-package.mdreferences/checks-user-and-package.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.mdreferences/checks-org-settings.md| # | Prerequisite | Status | Remediation (if failed/warning) |
|---|-------------------------------------------|--------|----------------------------------|
| 1 | System Administrator + Permission Sets | PASS/FAIL | <steps if failed> |
| 2 | Life Sciences CE Enabled | PASS/FAIL | <steps if failed> |
| ... |references/checks-org-settings.mdX of 12 prerequisites passed. Y require action (Z warnings).| Constraint | Rationale |
|---|---|
| Run all checks even if early ones fail | Admin needs the full picture to remediate in one pass |
Use | Ensures correct org context even with multiple orgs authenticated |
| Never modify org settings | This skill validates only — it does not enable or configure anything |
| Report exact Setup navigation paths | Admins need to know where to click in Setup UI |
| Issue | Resolution |
|---|---|
| Some settings are not queryable via Metadata API | Use Tooling API or org settings queries where Metadata API lacks coverage |
| Person Accounts cannot be disabled once enabled | Only check if enabled; no rollback possible |
| Multiple Currencies cannot be disabled once activated | Only check if activated; warn that this is irreversible if recommending enablement |
| State/Country Picklists enabling is irreversible | Include this warning in remediation steps |
| File | When to read |
|---|---|
| During Phase 2 (checks 3–6) — exact sf CLI commands, expected values, and remediation for the user profile/permission-set, managed-package, Life Sciences CE feature, and survey checks |
| During Phase 2 (checks 7–15) — exact sf CLI commands, expected values, and remediation for the OWD sharing, inventory, account plans, care plans, chatter, data protection, currencies, picklists, and person-accounts checks |