Agent skill

Field Service Data Capture Form Editor Configure

by forcedotcom in forcedotcom/sf-skills

Patch an existing Data Capture Flow that's already deployed in a connected Salesforce org.

Apache-2.0Auto-check passedSales & Support

Install Field Service Data Capture Form Editor Configure

skills CLI
$ npx skills add forcedotcom/sf-skills --skill field-service-data-capture-form-editor-configure -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install forcedotcom/sf-skills field-service-data-capture-form-editor-configure --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/field-service-data-capture-form-editor-configure .claude/skills/field-service-data-capture-form-editor-configure && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
field-service-data-capture-form-editor-configure
GitHub stars
1.1k
Token cost
~3k tokens
SKILL.md length
1,413 words
Files
1
Skills in repo
252
Repo updated
First seen
Licence
Apache-2.0

At a glance

Patch an existing Data Capture Flow that's already deployed in a connected Salesforce org.

  • Works in 7 steps: Verify org auth → Retrieve the live flow's Metadata JSON → Read the retrieved Metadata JSON and the… → …
  • The user names an existing flow and asks to add/remove/rename a field
  • SKILL.md covers When this skill fires, Workflow, Out of scope and Related skills, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Field Service Data Capture Form Editor Configure is an agent skill from forcedotcom/sf-skills. Patch an existing Data Capture Flow that's already deployed in a connected Salesforce org. Retrieves the live Flow Metadata JSON via the Tooling API, applies the user's requested change, and PATCHes it back. Use when the user names an existing flow and asks to add/remove/rename a field, change visibility, fix a bug, add visual polish, or swap a placeholder for a real component ('add a Notes field to InventoryTransfer', 'fix the visibility rule on WorkOrderNumber', 'make the parts repeater optional', 'replace the…

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Sales & Support, covering CRM management. It works with Salesforce. The repository describes itself as: Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools. The licence is Apache-2.0.

When your agent uses it

  • The user names an existing flow and asks to add/remove/rename a field
  • Change visibility
  • Add visual polish
  • Swap a placeholder for a real component (add a Notes field to InventoryTransfer

Example prompts

  • “add a Notes field to InventoryTransfer”
  • “fix the visibility rule on WorkOrderNumber”
  • “make the parts repeater optional”
  • “/field-service-data-capture-form-editor-configure”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Verify org auth
  2. Retrieve the live flow's Metadata JSON
  3. Read the retrieved Metadata JSON and the rule sheet
  4. Plan the patch and confirm with the user
  5. Apply the patch
  6. Redeploy via a Tooling PATCH
  7. Report back

What it can do on your machine

Read from SKILL.md and the folder at commit 4bbae5c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are sql and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Field Service Data Capture Form Editor Configure loads about 3k tokens when it runs. Until then it costs about 190 tokens; SKILL.md has 1,413 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~190
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from forcedotcom/sf-skills at commit 4bbae5c, republished under its Apache-2.0 licence (© forcedotcom). 1,413 words, ~2,971 tokens.

Download SKILL.mdSave it as .claude/skills/field-service-data-capture-form-editor-configure/SKILL.md (or your agent's skills folder).
name
field-service-data-capture-form-editor-configure
description
Patch an existing Data Capture Flow that's already deployed in a connected Salesforce org. Retrieves the live Flow Metadata JSON via the Tooling API, applies the user's requested change, and PATCHes it back. Use when the user names an existing flow and asks to add/remove/rename a field, change visibility, fix a bug, add visual polish, or swap a placeholder for a real component ('add a Notes field to Inventory_Transfer', 'fix the visibility rule on Work_Order_Number', 'make the parts repeater optional', 'replace the Signature placeholder with the real dcSignature component'). Do NOT use this skill to build a brand-new flow — that's fs-data-capture-form-designer followed by fs-data-capture-form-deployer.
user-invocable
false
metadata.version
1.0
metadata.domains
Field Service

Edit a Data Capture Form (in an org)

This skill patches a flow that already exists in a connected org. The source of truth is the deployed flow's Metadata JSON, retrieved live from the Tooling Flow sObject — there is no spec file, no .flow-meta.xml, no zip, no SFDX project. The skill retrieves the JSON, edits it in memory, and PATCHes it back.

Runtime contract: every org interaction in this skill is a REST call dispatched through the Codey runtime (dispatch locally / the hosted Headless 360 MCP in shared surfaces). This skill has no dependency on the execution environment — no sf CLI, no local Python, no temp files, no scratch SFDX project. Auth probes, the flow retrieve, and the redeploy are single REST calls; the JSON patch is authored by the agent inline. Do not shell out.

When this skill fires

  • The user names an existing flow (Inventory_Transfer, Asset_Inspection, etc.) and asks for a change.
  • The user pastes a Flow Builder URL and asks for a change.
  • The user describes a deploy error or runtime bug in a deployed flow.

If the user is starting from scratch (prose, PDF, image), route to a design-* skill instead.

Workflow

1. Verify org auth

Confirm the connected org is reachable with a cheap auth probe — dispatch SELECT Id FROM Organization LIMIT 1 (GET /services/data/vXX.0/query):

  • 2xx with totalSize=1 → the session token is live; continue.
  • 401/403 → the org needs re-authentication. Surface that to the user and stop. (The Codey runtime resolves and refreshes the connected org — this skill does not manage org aliases.)
2. Retrieve the live flow's Metadata JSON

The Tooling Flow sObject exposes the flow definition as a JSON Metadata field — the same shape the deployer assembles and POSTs. Retrieving is a two-call round-trip, no CLI and no file:

  1. Resolve the latest version id from the API name. Dispatch GET /services/data/vXX.0/tooling/query with:

    sql
    SELECT Id, ActiveVersionId, LatestVersionId FROM FlowDefinition WHERE DeveloperName = '<FlowApiName>'

    Edit the latest version (LatestVersionId) so the patch builds on the newest draft, not a stale active version. If LatestVersionId is null, fall back to ActiveVersionId.

  2. Read the Metadata blob. Dispatch GET /services/data/vXX.0/tooling/sobjects/Flow/<versionId> and take the Metadata object from the response. This JSON is the flow — screens, choices, decisions, variables, and the post-screen chain. See ../fs-data-capture-form-deployer/reference/flow-metadata-json.md for the shape.

If the FlowDefinition query returns zero rows, the API name is wrong or the user is pointed at the wrong org. Confirm with the user before retrying. List the candidate flows in the org if useful — dispatch GET /services/data/vXX.0/tooling/query with SELECT DeveloperName FROM FlowDefinition ORDER BY DeveloperName.

3. Read the retrieved Metadata JSON and the rule sheet

Before patching, read the retrieved Metadata JSON to understand the current structure, then read fs-data-capture-reference/SKILL.md for the platform's hard constraints. The constraints are identical whether the flow is expressed as XML or JSON — a repeated XML element is a JSON array, so "grouping" becomes "the array" (see the JSON↔XML mapping rule in ../fs-data-capture-form-deployer/reference/flow-metadata-json.md). Pay particular attention to:

  • Element arrays: screens, choices, decisions, recordLookups, recordCreates, recordUpdates, loops, assignments, variables are each a single JSON array. Add a new element by appending to the right array — never introduce a duplicate top-level key.
  • CUD ordering: no record-lookup or screen after any CUD (recordCreate/recordUpdate/recordDelete) in the connector chain. No decision between sequential CUDs.
  • .AllItems vs .AddedItems Repeater accessor — use what the deployed flow uses, don't change it.
  • Visibility rules: in a visibilityRule.conditions entry, leftValueReference is the choice api-name, not the parent field's name.
  • Required-field behind visibility-rule anti-pattern (see fs-data-capture-reference SKILL.md).
  • isLlmTargetable: carried as a { "stringValue": "true" }-style wrapper, not a raw JSON boolean — match whatever the retrieved flow uses.

The prohibited-patterns table at the bottom of fs-data-capture-reference/SKILL.md is the fastest reference for "what would break this patch".

4. Plan the patch and confirm with the user

Before editing, tell the user:

  1. What you're going to change — specific element, specific lines (cite path:line references), and what the result will look like.
  2. Whether the change requires schema reordering — e.g. adding a new <recordLookups> element when none exist requires placing it in the right group. Call this out.
  3. Activation status risk — patches deploy as a new draft version of the flow. The active version (if any) keeps running until the user activates the new draft in Flow Builder. Tell the user this.
  4. Anything you noticed that's worth flagging — pre-existing issues, deprecated patterns, validation rules that look broken. Don't auto-fix unrelated issues; surface them.

Use AskUserQuestion to gate the edit. Options:

  • Apply and deploy — proceed.
  • Show me the change first — present the before/after of just the edited JSON subtree (the specific field, screen, or rule you're touching) inline in the chat, then ask again. No file is written; the patch lives in memory until the user approves the PATCH.
  • Cancel — stop without deploying.

Do not proceed to step 5 without explicit approval.

Show full SKILL.md (619 more words)Show less
5. Apply the patch

Edit the in-memory Metadata JSON object retrieved in step 2. Some specific guidelines:

  • Append to the right array. If you're adding a screen, append to the screens array; a choice, to choices; a variable, to variables. Never create a second top-level key of the same name.
  • Booleans and numbers stay JSON scalars. "isRequired": true, "locationX": 0 — not strings. Typed value wrappers keep their key ({ "stringValue": "X" }, { "booleanValue": true }, { "elementReference": "Foo" }).
  • Preserve locationX / locationY for existing elements. For new elements set both to 0 — Flow Builder re-layouts on open.
  • If the change touches a Repeater, preserve the existing .AllItems / .AddedItems accessor in any loops — switching accessors will break runtime behavior.
  • If you add a new field, copy the shape from a sibling field in the same flow (label inputParameter, inputsOnNextNavToAssocScrn, storeOutputAutomatically, styleProperties, isRequired). Don't compose from memory — the rules at fs-data-capture-reference/SKILL.md show what's required per component, but the deployed flow already has working examples.
  • If the change requires a new choices entry, dedupe — check whether a choice with the same value already exists in the choices array.
  • Never emit a required inputParameter on a screen component — some dc* components (dcName, dcSignature) reject it. Carry requiredness via the field's isRequired key only.
6. Redeploy via a Tooling PATCH

Push the edited flow back as a new draft version with a single Tooling API call — dispatch PATCH /services/data/vXX.0/tooling/sobjects/Flow/<versionId> with body:

json
{ "Metadata": { "...the full edited Metadata object..." } }
  • Send the complete Metadata object, not a partial patch — Tooling replaces the whole blob.
  • A 204 (No Content) is success. On a 400, the response body's message carries the Flow validation error — diagnose against step 7's table.
  • This creates a new draft version of the flow. Existing active versions keep running until the user activates the new draft in Flow Builder. (To activate on save instead, set Metadata.status: "Active" — default is to leave it Draft.)
7. Report back

On success:

  • State plainly what changed (e.g. "Added Notes ShortText field to Header_Information screen").
  • Print the Flow Builder URL so the user can review and activate. Look up the FlowDefinition Id with a Tooling API query — dispatch GET /services/data/vXX.0/tooling/query with SELECT Id, ActiveVersionId FROM FlowDefinition WHERE DeveloperName = '<FlowApiName>' → <instanceUrl>/builder_platform_interaction/flowBuilder.app?flowId=<id>
  • Remind the user the active version hasn't changed yet — they need to activate the new draft in Flow Builder.

On failure (the PATCH returned a 400 — read the error from the response body's message):

  • Cross-reference the prohibited-patterns table at fs-data-capture-reference/SKILL.md. Common diagnoses for edits: element-array grouping violation, CUD ordering, Element X doesn't exist (typo'd reference), extension not found (wrong component name), 'Range' is not a valid value (slider not supported), We can't find this input attribute: 'required' (drop the required inputParameter — use isRequired).
  • If the error is about an element you didn't touch, the retrieved flow might have been in a broken state already. Re-read the current version's Metadata and compare against the active version (GET /tooling/sobjects/Flow/<ActiveVersionId>).
  • Don't loop more than twice without showing the user.

Out of scope

  • Building a new flow — fs-data-capture-form-designer + fs-data-capture-form-deployer.
  • Bulk migrations across many flows.
  • Replacing a flow with a wholly different structure (delete + rebuild is cleaner).
  • Editing flows that aren't processType=DataCaptureFlow — this skill assumes the FSL Mobile runtime.
  • fs-data-capture-reference (library) — read this before every edit. Source of truth for valid flow patterns, prohibited patterns + exact deploy errors, visual polish HTML, supporting CustomObject/PermissionSet/CustomTab deploy.
  • fs-data-capture-form-deployer — creates flows via the same Tooling Flow JSON round-trip this skill uses to patch them. Its reference/flow-metadata-json.md is the authoritative Metadata shape for both skills.

Files in this skill

This skill has no executable scripts. The auth probe, the flow retrieve (GET /tooling/sobjects/Flow/{id}), and the redeploy (PATCH /tooling/sobjects/Flow/{id}) are all single REST calls dispatched through the Codey runtime. The JSON patch is authored by the agent inline against ../fs-data-capture-form-deployer/reference/flow-metadata-json.md.

© forcedotcom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/field-service-data-capture-form-editor-configure of forcedotcom/sf-skills.

Open the folder on GitHubat commit 4bbae5c

Compare with similar skills

Field Service Data Capture Form Editor Configure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Field Service Data Capture Form Editor Configure compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Field Service Data Capture Form Editor Configure this skillforcedotcom/sf-skills1.1k—~3kAutomated safety check: PassApache-2.0
Soql Lib Query Builderbeyond-the-cloud-dev/soql-lib154—~4.3kAutomated safety check: PassMIT
Sf DatacloudJaganpro/sf-skills424—~2.7kAutomated safety check: PassMIT
Soql Lib Selectorbeyond-the-cloud-dev/soql-lib154—~2kAutomated safety check: PassMIT
Lead Gen Tool Builderexplorium-ai/gtm-skills185—~1.8kAutomated safety check: NotesMIT
Dev SetupPortwood-Global-Solutions/Portwood126—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Soql Lib Query Builder

    beyond-the-cloud-dev/soql-lib

    Builds Salesforce SOQL queries using the SOQL Lib fluent builder API (SOQL.cls).

    154 GitHub stars~4.3k tokensUpdated 7 days ago
    Sales & SupportAuto-check passed
  • Sf Datacloud

    Jaganpro/sf-skills

    Salesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows.

    424 GitHub stars~2.7k tokensUpdated 5 mo ago
    Sales & SupportAuto-check passed
  • Soql Lib Selector

    beyond-the-cloud-dev/soql-lib

    Creates Salesforce Apex selector classes using the SOQL Lib selector pattern.

    154 GitHub stars~2k tokensUpdated 7 days ago
    Sales & SupportAuto-check passed
  • Lead Gen Tool Builder

    explorium-ai/gtm-skills

    Lead generation tool builder skill for Claude Code and Codex: scaffolds a complete, self-hostable, ZoomInfo-style B2B lead-generation web app — company & contact search UI, firmographic and…

    185 GitHub stars~1.8k tokensUpdated 2 days ago
    Sales & SupportAuto-check: notes
  • Dev Setup

    Portwood-Global-Solutions/Portwood

    Get from a fresh clone of Portwood to a working, fully-tested Salesforce org.

    126 GitHub stars~1.1k tokensUpdated yesterday
    Sales & SupportAuto-check passed
  • CRM Data Cleanup

    OneWave-AI/claude-skills

    Finds duplicate and junk records in a CRM CSV export with fuzzy matching, normalizes fields and writes a reviewable merge plan plus import-ready files without touching the live CRM.

    336 GitHub stars~2.5k tokensUpdated 8 days ago
    Sales & SupportAuto-check passed

More from forcedotcom/sf-skills

All 252 skills in this repo
  • Agentforce Architecture Analyze

    forcedotcom/sf-skills

    Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.

    1.1k GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed
  • Agentforce D360 Analyze

    forcedotcom/sf-skills

    Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.

    1.1k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.3k tokensUpdated yesterday
    Auto-check: notes
  • Apply a Salesforce sandbox post-copy automation JSON config against a target org.

    1.1k GitHub stars~5.4k tokensUpdated yesterday
    Auto-check: notes
  • Design Systems Slds Apply

    forcedotcom/sf-skills

    Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons.

    1.1k GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Experience Lwc Generate

    forcedotcom/sf-skills

    Lightning Web Components with PICKLES methodology and 165-point scoring.

    1.1k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Field Service Data Capture Form Editor Configure

What does Field Service Data Capture Form Editor Configure do?

Patch an existing Data Capture Flow that's already deployed in a connected Salesforce org. Field Service Data Capture Form Editor Configure is an agent skill from forcedotcom/sf-skills. Patch an existing Data Capture Flow that's already deployed in a connected Salesforce org.

When should I use Field Service Data Capture Form Editor Configure?

Field Service Data Capture Form Editor Configure fits situations like: the user names an existing flow and asks to add/remove/rename a field; change visibility; add visual polish; swap a placeholder for a real component (add a Notes field to InventoryTransfer.

How do I install Field Service Data Capture Form Editor Configure in Claude Code?

Run `npx skills add forcedotcom/sf-skills --skill field-service-data-capture-form-editor-configure -a claude-code`. Or copy the skill folder (skills/field-service-data-capture-form-editor-configure in forcedotcom/sf-skills) into .claude/skills/field-service-data-capture-form-editor-configure in your project. Claude Code loads it when a task matches its description.

How do I install Field Service Data Capture Form Editor Configure in Codex?

Run `npx skills add forcedotcom/sf-skills --skill field-service-data-capture-form-editor-configure -a codex`. Or copy the skill folder (skills/field-service-data-capture-form-editor-configure in forcedotcom/sf-skills) into .agents/skills/field-service-data-capture-form-editor-configure in your project. Codex loads it when a task matches its description.

Can I use Field Service Data Capture Form Editor Configure in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add forcedotcom/sf-skills --skill field-service-data-capture-form-editor-configure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/field-service-data-capture-form-editor-configure, .gemini/skills/field-service-data-capture-form-editor-configure, .github/skills/field-service-data-capture-form-editor-configure and .opencode/skills/field-service-data-capture-form-editor-configure in your project.

What does Field Service Data Capture Form Editor Configure need to run?

SKILL.md names no scripts, command-line tools or credentials: Field Service Data Capture Form Editor Configure is instructions for the agent only.

Does Field Service Data Capture Form Editor Configure access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Field Service Data Capture Form Editor Configure safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Field Service Data Capture Form Editor Configure use?

Field Service Data Capture Form Editor Configure is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Field Service Data Capture Form Editor Configure use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Field Service Data Capture Form Editor Configure?

Skills that share tags, products or a category with Field Service Data Capture Form Editor Configure: Soql Lib Query Builder (beyond-the-cloud-dev/soql-lib, 154 stars), Sf Datacloud (Jaganpro/sf-skills, 424 stars), Soql Lib Selector (beyond-the-cloud-dev/soql-lib, 154 stars) and Lead Gen Tool Builder (explorium-ai/gtm-skills, 185 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Field Service Data Capture Form Editor Configure?

forcedotcom (a GitHub organization) maintains it in forcedotcom/sf-skills, which has 1,067 GitHub stars. The repository holds 252 skills in this directory. The repository was last updated on October 9, 2026.

Source: forcedotcom/sf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.