npx skills add ...
npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-incident-management
Orchestrator skill for setting up Incident Management features in Salesforce Service Cloud ITSM. Use when the user asks to set up incident management, configure ITSM incident features, wants a guided walkthrough of incident management configuration, or asks what incident features are available to configure. Presents the available Incident Management capabilities and delegates each selection to a specialized child skill — currently SLA & Milestones — while tracking progress across the setup. Triggers on: set up incident management, configure ITSM incident features, incident management walkthrough, incident management capabilities, what incident features can I configure. DO NOT TRIGGER when: the user asks about a specific feature directly (e.g., an SLA alone without mentioning incident management setup), asks to create, clone, or provision users, Case management setup, or general ITSM questions without setup intent.
npx skills add forcedotcom/sf-skills --skill service-itsm-agentic-setup-incident-management
Guide the user through setting up Incident Management features in Salesforce Service Cloud ITSM by presenting the available capabilities, delegating to specialized child skills, and tracking progress.
Act as the coordinator for Incident Management feature configuration. Present the user with a menu of configurable features, invoke the appropriate child skill for each selection, and after each feature completes, return to the menu with updated progress until the user is done.
Before running any preflight below, check whether the same fact was already established earlier in this conversation. Cache-eligible facts for this orchestrator:
When in doubt, re-check. Skip only when the earlier fact is unambiguously in context AND you have not switched orgs. If the user hints at a different org, or a child skill's write elsewhere in the session could have invalidated the cached state (e.g., the master switch was toggled off after being confirmed on), re-run the check. A wrong skip on a live org write is worse than a duplicated read.
Before presenting options, scan chat history for:
Every Incident Management feature below depends on the org-level service-cloud-itsm-incident master switch being enabled — SLA milestones and downstream features cannot function while the switch is off. Before showing the feature menu, delegate to service-itsm-incident-mgmt-configure to read current state; if the switch is already on, it is a no-op — otherwise it confirms with the user before flipping it. Skip this delegation only when the master switch was already confirmed enabled in this session — see Behavior step 0. A cached "off" or unknown state MUST fall through to the delegation; a wrong skip here would silently let downstream feature setup run against an org where the master is off.
Show the user what's available and what's done. Only features with a working child skill appear in the menu. Emit the Feature menu template from examples/output-templates.md AND, in the same response, a single AskUserQuestion call with multiSelect: true whose options mirror the rendered rows — the table is the visual view; the tool call is how the selection is collected. Both MUST appear together, never one without the other. Selecting one feature is valid; selecting several enqueues them for sequential handling in step 4. Do NOT show placeholder features that cannot be executed. Additional Incident Management features (Major Incident Management, Custom Fields, incident permission assignment, user provisioning) will be added to this menu as their child skills become available.
Handle the user's selected features sequentially in dependency order (or the order given). For each selected feature, invoke the corresponding child skill:
| # | Feature | Child Skill |
|---|---|---|
| 1 | SLA & Milestones | service-itsm-agentic-setup-incident-sla-configure |
| 2 | Priority Matrix | service-itsm-incident-priority-configure |
Once a child skill finishes:
examples/output-templates.mdWhen the user says they're done (or all available features are configured), present a final summary using the Completion summary template in examples/output-templates.md.
Additional Incident Management features (Major Incident Management, Custom Fields, incident permission assignment, user provisioning) will be added to this menu as their child skills merge.
AskUserQuestion (multiSelect: true) call in the same response — the table is the visual view; the tool call is the selection channel. Emitting the table alone breaks the selection channel; emitting the tool call alone hides the visual viewBefore emitting any menu or summary in this skill, mentally confirm each of the following. If any box is unchecked, adjust the output before sending.
(via service-itsm-agentic-setup-incident-management)service-itsm-incident-mgmt-configure) before the feature menu is emitted, unless the user already confirmed it earlier in this conversationAskUserQuestion (multiSelect: true) presenting the same options in the same response — never one without the otherStatus column reflects the actual tracked state from the conversation (Not done, In progress, or Done) — not a hard-coded defaultexamples/output-templates.md (all Done → Complete; any Not done/In progress → Finished)| File | When to read |
|---|---|
examples/output-templates.md | Behavior steps 3, 5, and 6 — feature menu (multi-select), post-feature progress, and completion summary text blocks |