Field service foundation setup designer get

From forcedotcom/sf-skills · View interactive version

Field service foundation setup designer get is an AI agent skill from the GitHub repository forcedotcom/sf-skills. Creates Field Service foundation data — Work Types, Skills, Service Territories, and Operating Hours. Accepts existing data in any format or designs from scratch, and confirms the design with the user. Use this skill when a user wants to create, design, or set up Field Service foundation data.

How to use this skill

Skill file

Field Service Foundation Setup Designer

Design or refine Field Service foundation data — Work Types, Skills, Service Territories, Operating Hours, and other associated Field Service objects — through structured interviews. Starting from scratch or from existing recommendations.

This skill runs a design conversation — it does not call Salesforce APIs directly. It collects the design through a structured conversation, whether starting from scratch or working from existing data, and confirms the final design with the user. This skill covers two design workflows in sequence (or independently):

  1. Work Types & Skills — 6-question interview
  2. Service Territories & Operating Hours — 3-question interview

Entry point

Never expose internal skill names, SOR IDs, or tool references to the user.

When to use

Design principles

  1. Structured questions with consistent intent
  1. Brief answers must work
  1. Smart question adaptation
  1. Question format (three or four parts):

```text

Recommendation: [Only include when context is sufficient. Lead with the best-fit option given what's known, then briefly note alternatives with the condition under which they'd apply instead — not a flat menu of equal choices, but a ranked steer. Omit entirely when confidence is low.]

Question: [The actual question — or a lighter "does this fit?" when a Recommendation is present]

Why I'm asking: [1-2 sentences: why this matters]

Impact: [1-2 sentences: how their answer affects the design]

```

How it works

Pre-phase: Source ingestion (if provided)

If no source has been provided, creatively ask the user whether they have a website or document that describes their business or Field Service operation — framing it as something that would help build a more accurate and tailored starting recommendation rather than a generic one.

If the user provides a URL, fetch it. Extract Field Service-relevant signals: industry, service types, geographic coverage, team and skill structure. Use these to generate an initial recommendation covering Work Types, Skills, Service Territories, and Operating Hours — which feeds into the refinement interview rather than starting from nothing.

Phase 1: Work Types & Skills

  1. Accept input: Takes existing data in any format (JSON, CSV, free-form text), or starts fresh if nothing is provided.
  2. Interview: Cover these topics — service line granularity, equipment size/type variations, brand/model specificity, service tiers and site types, parts tracking, duration accuracy.
  3. Output: Designed Work Types and Skills as JSON + change log.

Phase 2: Service Territories & Operating Hours

  1. Accept input: Same as Phase 1.
  2. Interview: Cover these topics — territory structure (geographic/functional/hybrid), geographic boundaries (if applicable), functional team geographic constraints (if applicable).
  3. Output: Designed Service Territories and Operating Hours as JSON + change log.

Inputs

Outputs

Granularity Levels Reference (Work Types)

From Work Type Implementation Guide:

| Level | When to Use | Example |

|-------|-------------|---------|

| High-Level | Simple service models, quick setup | "Installation", "Repair", "Maintenance" |

| Mid-Level | Equipment-specific service | "HVAC Installation", "HVAC Repair" |

| Detailed | Brand-specific service needs | "HVAC Installation (Carrier)", "HVAC Installation (Trane)" |

| Hyper-Specific | SLA/site variations | "HVAC Repair (Carrier) - Hospital" |

Best practice: Start with simplest model possible, increase granularity only when necessary.

Territory Models Reference (Service Territories)

From Service Territory Design Guide:

| Model | When to Use | Example |

|-------|-------------|---------|

| Geographic | Location-based coverage, reduce travel time | "Northern California", "Southwest Region" |

| Functional | Specialized service types, skill-based assignment | "Fire Safety Team", "Commercial HVAC Team" |

| Hybrid | Combined benefits, specialized teams with regional boundaries | "Northern CA - Fire Safety", "Southwest - Commercial HVAC" |

Best practice: Start with simplest model possible, increase complexity only when necessary.


Output format

Generate the output JSON payload from interview answers using this mapping:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.